duffy@PRC.Unisys.COM (Peg Duffy) (05/26/89)
I originally posted about my problems compiling xfig, and other contributed software. The problem manifested itself when making xfig, in the last step. The compile complained Undefined: _XReadBitmapFile _XCreatePixmapCursor _XFilePixmap *** Error Stop. Solution: Thanks to Justin Koprowski, who suggested that it was the order in which I was specifying the libraries in my version of the Makefile. Justin pointed out that Xt must come before Xmu, and X11 must come after Xmu. My final library order was: ......... -lXaw -lXt -lXmu -lX11 -lm ... Thanks very much, Justin. Your help was much apprecited. I would also like to thank Donna Converse, Ken Yap, and William Kucharski, who also offered helpful suggestions, that just didn't happen to be the reason for this particular symptom.
kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) (05/26/89)
> Thanks to Justin Koprowski, who suggested that it was the order in which I > was specifying the libraries in my version of the Makefile. Justin pointed > out that Xt must come before Xmu, and X11 must come after Xmu. My final > library order was: > ......... -lXaw -lXt -lXmu -lX11 -lm ... Xt does not have to come before Xmu, Xt does not depend upon Xmu at all. This is very desirable, since Xt is a standard and Xmu is just a bunch of stuff :-). In section 2.7.1 item #10 of the R3 Athena Widget docuemtation it states explicitly the order to use when linking an application that uses the Athena Widget set. >> cc -o <application> <application>.c -lXaw -lXmu -lXt -lX11 Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213