This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: Dynamic linking.. or??
- To: "'Andrew Markebo'" <flognat at flognat dot myip dot org>
- Subject: RE: Dynamic linking.. or??
- From: Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>
- Date: Wed, 23 May 2001 15:50:34 -0400
- Cc: "'cygwin-xfree'" <cygwin-xfree at cygwin dot com>
> * It compiles bloody fine on solaris and linux from that Imakefile
>
> * It is libXaw that wants Xpm, the system, not the application! How
> can the author of xkeycaps know this!
>
> * I compile it fine on a 'old' solaris machine with no libXpm
> installed.. Should it anyway ask for libXpm??
>
> LD_RUN_PATH=/usr/openwin/lib cc -o xkeycaps -O -Xc -xF -xcg92
> -L/usr/openwin/lib ./xkeycaps.o ./KbdWidget.o ./KeyWidget.o
> ./info.o ./actions.o ./commands.o ./guess.o ./all-kbds.o
> ./sunOS.o -lXaw
> -lXt -lSM -lICE -lXmu -lm -lXext -lX11 -lsocket -lnsl
Yep, NOTE there is no -lXpm even on your Solaris?
libXaw.a in XF86 4.0.x needs to link to libXpm, which was missing from your
Imakefile.
>
> Adding $(XPMLIB) to local libraries.. Well it still works on
> solaris, but mainly because openwin didn't define XPMLIBS so
> it is replaced with an empty string. '
Huh? Openwin? I specifically asked you, On Solaris are you using Xsun libs
or
Xfree86 lib. You said Xfree86 4.0. Of course OpenWin libXaw does not need
-lXpm
> / Suhaib Siddiqi <ssiddiqi@inspirepharm.com> wrote:
> [...]
> | I assume this Imakefile of xfree86?
>
> How do you mean?? This Imakefile is from the old application
> xkeycaps.. dated 99 or something.
Yes older version, in 99 xf86 was 3.3.x and there was no libXpm in it
Suhaib
>
>
> Ahh well..
>
> /Andy
>