undefined references in libXt.a
Andrew Markebo
flognat@flognat.myip.org
Sun Aug 26 05:40:00 GMT 2001
/ "Pieter Wakker" <pwakker@hetnet.nl> wrote:
| Hi,
|
| I just installed Cygwin with XFree86 and everything seems to work fine. Then
| I also installed LessTif and tried to compile some program developed under
| HP-UX with OSF/Motif. Compilation gives no problems, but the linker
| complains about unresolved references in the LibXt.a library (see below).
| Does anyone have an idea what is going on here? Is the library really this
| screwed up, or have I forgotten to do or overlooked something?
What does the link-command look like?
| /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x349a):Shell.c: undefined reference
| to `SmcCloseConnection'
Hmm Smc, no idea.. could it be -lSM, that needs to be added (see below)
| to `IceConnectionNumber'
| /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3cb1):Shell.c: undefined reference
Ice missing.. try fridge.. or -lICE after -lX11 in the
command-line.. :-)
/Andy
More information about the Cygwin-xfree
mailing list