undefined references in libXt.a

Suhaib Siddiqi ssiddiqi@inspirepharm.com
Sun Aug 26 05:31:00 GMT 2001


> 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?

Add -lICE and -lSM to linker

Suhaib


> 
> Pieter Wakker
> 
> 
> /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x349a):Shell.c: undefined
> reference
> to `SmcCloseConnection'
> /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3577):Shell.c: undefined
> reference
> to `SmcModifyCallbacks'
> /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3586):Shell.c: undefined
> reference
> to `SmcClientID'
> /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x35e6):Shell.c: undefined
> reference
> to `SmcOpenConnection'
> /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3716):Shell.c: undefined
> reference
> to `SmcGetIceConnection'
> /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x372d):Shell.c: undefined
> reference
> to `IceConnectionNumber'
> /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3cb1):Shell.c: undefined
> reference
> to `SmcSetProperties'
> /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3d44):Shell.c: undefined
> reference
> to `SmcSetProperties'
> /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3dad):Shell.c: undefined
> reference
> to `SmcDeleteProperties'
> /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3ddc):Shell.c: undefined
> reference
> to `SmcGetIceConnection'
> /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3de5):Shell.c: undefined
> reference
> to `IceProcessMessages'
> /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3e86):Shell.c: undefined
> reference
> to `SmcSaveYourselfDone'
> /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3fea):Shell.c: undefined
> reference
> to `SmcInteractDone'
> /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x410b):Shell.c: undefined
> reference
> to `SmcSaveYourselfDone'
> /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x42bb):Shell.c: undefined
> reference
> to `SmcInteractRequest'
> /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x4356):Shell.c: undefined
> reference
> to `SmcInteractDone'
> /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x43a2):Shell.c: undefined
> reference
> to `SmcRequestSaveYourselfPhase2'
> /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x43c5):Shell.c: undefined
> reference
> to `SmcSaveYourselfDone'
> collect2: ld returned 1 exit status
> make: *** [FuelBuilder] Error 1



More information about the Cygwin-xfree mailing list