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:RE: /usr/lib/libXaw.a(Pixmap.o)(.text+0x1d4b):Pixmap.c: undefined



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



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