This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: undefined references in libXt.a
- To: "Pieter Wakker" <pwakker at hetnet dot nl>
- Subject: Re: undefined references in libXt.a
- From: Andrew Markebo <flognat at flognat dot myip dot org>
- Date: 26 Aug 2001 14:40:26 +0200
- Cc: <cygwin-xfree at cygwin dot com>
- References: <000301c12e1e$eaff9700$c7364bd5@pwakker.nuc>
/ "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