> My makefile is as follows:
> [snip]
> SUNLIBS = $(X11_LIBS) $(MESALIBS) $(COMMONLIBS) $(GLLIBS) -lXpm
> -lXmu -lXt -lSM -lICE
This resolves to
( 35) SUNLIBS = $(X11_LIBS)
$(MESALIBS)
$(COMMONLIBS)
$(GLLIBS)
-lXpm
( 22) X11_LIBS = -lX11
-lsocket
-lnsl
-lXext
( 33) MESALIBS = -lMesaGLU
-lMesaGL
-lMesaaux
( 34) COMMONLIBS = -lforms
$(PICLIBS)
-lm
-lg++
( 31) PICLIBS = -lpicio
-ltiff
( 32) GLLIBS = -lGLU
-lGL
Resolved to:
SUNLIBS = -lX11 -lsocket -lnsl -lXext -lMesaGLU -lMesaGL -lMesaaux \
-lforms -lpicio -ltiff -lm -lg++ -lGLU -lGL -lXpm
Note that `-lX11' is before `-lforms'.
The basic rule of thumb for library invocations is that you should go
from most general or abstract to most specific. Since xforms is, to
some extent, an abstraction or generalization of X11, `-lforms' should
precede `-lX11'.
spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/