This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: undefined references in libXt.a




> Thanks, that did the trick. I wasn't aware that with LessTif I needed
> to add
> more libraries than with OSF/Motif. I should catch up with my manual
> reading...
> 
> Pieter
> 

It is not LessTif needs extra libraries, MOTIF will need it too.  libXt is
neither part or LessTif nor MOTIF, and to resolve libSM and libICE symbols
you will need to add them.

Suhaib

> 
> -----Oorspronkelijk bericht-----
> Van: Andrew Markebo <flognat@flognat.myip.org>
> Aan: Pieter Wakker <pwakker@hetnet.nl>
> CC: cygwin-xfree@cygwin.com <cygwin-xfree@cygwin.com>
> Datum: zondag 26 augustus 2001 14:36
> Onderwerp: Re: undefined references in libXt.a
> 
> 
> >/ "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]