libXt linking errors

Chris Frost chris@frostnet.net
Sun Apr 1 00:00:00 GMT 2001


When I try to compile a program under cygwin (v1.1.7) and the binary of
xfree86 for cygwin (dated Dec 3rd), ld gives me lots of errors like the
following:
/usr/X11R6/lib/libXt.a(Shell.o><.text+0x43c5):Shello.c: undefined reference to `SmcSaveYourselfDone'

The actual command I'm using to compile is:
gcc -g -w -I/usr/X11R6/include -L/usr/X11R6/lib -static -o rocket rocket.o thrust.o buildup.o postscript.o -lXm -lXt -lX11 -lm
Which I believe should be fine.

Any suggestions as to what I might be doing incorrectly? (thanks!)

-- 
Chris Frost  |  < http://www.frostnet.net/chris/ >
-------------+----------------------------------
Public PGP Key:
   Email chris@frostnet.net with the subject "retrieve pgp key"
   or visit < http://www.frostnet.net/chris/about/pgp_key.phtml >


More information about the Cygwin-xfree mailing list