This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE:RE: /usr/lib/libXaw.a(Pixmap.o)(.text+0x1d4b):Pixmap.c: undefined
- To: "'cygwin-xfree at cygwin dot com'" <cygwin-xfree at cygwin dot com>
- Subject: RE:RE: /usr/lib/libXaw.a(Pixmap.o)(.text+0x1d4b):Pixmap.c: undefined
- From: Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>
- Date: Thu, 24 May 2001 20:47:44 -0400
Pierre
the link order problem for XawClientLibs was fixed in the patch I posted
yesterday.
What was going on. it needed #define SharedLibXpm HasSharedLibs which is in
X11.tmpl I had originally in cygwin.rules #define SharedLibXpm YES which
was over riding X1.tmpl #define. Andy reported if you remove #define
SharedLibXpm YES from cygwin.rules xmkmf works ok. After removing
SharedibXpm YES from cygwin.rules Harold tested XFree86 compilation and
libXpm Still compiles as a dll because it is defined in X11.tmpl as a shared
library.
Suhaib
----------------------------------------------------------------
At 07:38 PM 5/22/01 -0400, Suhaib Siddiqi wrote:
>Add the -lXpm to your linker please.
>XpmReadFileToPixmap
>^^^ points to what your linker is missing (a libXpm.a). The -lXpm must
be
>after -lXaw and before -lX11.
I rely on XawClientLibs defined in cygwin.tmpl as
#define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
$(XPMLIB)
Note that XPMLIB comes *after* XLIB, contrary to Suhaib's recommendation.
The funny thing is that most other *.tmpl define #define XawClientLibs
$(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB)
$(XLIB)
It's not that I have a current problem, just curious about what's going on.
Pierre