Dynamic linking.. or??

Suhaib Siddiqi ssiddiqi@inspirepharm.com
Wed May 23 12:29:00 GMT 2001


This your xkeycap Imakefile problem.  Have a look at the following line....

LOCAL_LIBRARIES = $(XAWLIB) $(XTOOLLIB) $(XTRAP_LIBS) $(XMULIB) $(XLIB)

It should be:

LOCAL_LIBRARIES = $(XAWLIB) $(XTOOLLIB) $(XTRAP_LIBS) $(XMULIB) $(XPMLIB)
$(XLIB)

I assume this Imakefile of xfree86? 

Suhaib

> -----Original Message-----
> From: Andrew Markebo [ mailto:flognat@flognat.myip.org ] 
> Sent: Wednesday, May 23, 2001 3:25 PM
> To: Suhaib Siddiqi
> Subject: Re: Dynamic linking.. or??
> 
> 
> / Suhaib Siddiqi <ssiddiqi@inspirepharm.com> wrote:
> | [...]
> | > #if SharedLibXpm
> | > #ifndef SharedXpmRev
> | > #define SharedXpmRev 4.11
> | > #endif
> | > SharedLibReferences(XPM,Xpm,$(XPMLIBSRC),SOXPMREV,SharedXpmRev)
> | > #else
> | > ProjectUnsharedLibReferences(XPM,Xpm,$(XPMLIBSRC),XBuildLibDir)
> | > #endif
> | > 
> | > Hmm SharedLibReferences, how does that expand?? Ahh well.. :-)
> | 
> | This for compilation of xpm library from sources.
> 
> Well if I don't define SharedLibXpm in the cygnus.tmpl it 
> includes -lXpm in the generated Makefile.. Hmm *thinking* I 
> tried defining SharedLibXpm as NO but it still missed -lXpm, 
> I removed SharedLibXpm from the cygwin.tmpl, and then the 
> link was ok.. *hmm* 
> 
> | Send me your Imakefile from xkeycaps.
> 
> Included, if you want to try xkeycaps for yourself, it is 
> available from http://www.jwz.org/xkeycaps/ .
> 
>         /Andy
> 
> 



More information about the Cygwin-xfree mailing list