This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: Configuration.. -lxpm missing in generated makefile..
- To: cygwin-xfree at sourceware dot cygnus dot com
- Subject: RE: Configuration.. -lxpm missing in generated makefile..
- From: Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>
- Date: Tue, 17 Apr 2001 15:10:52 -0400
no xmkmf does not. It is your Imakefile. Fix it please.
Suhaib
> -----Original Message-----
> From: Andrew Markebo [mailto:flognat@flognat.myip.org]
> Sent: Tuesday, April 17, 2001 3:05 PM
> To: cygwin-xfree@sourceware.cygnus.com
> Subject: Configuration.. -lxpm missing in generated makefile..
>
>
> When I try to compile xkeycaps with cygwin-xfree I do the standard
> xmkmf, make... compilation goes fine except linking says:
>
> gcc -o xkeycaps.exe -O2 -fno-strength-reduce -fpcc-struct-return -m486
> -Wall -L/usr/X11R6/lib ./xkeycaps.o ./KbdWidget.o ./KeyWidget.o
> ./info.o ./actions.o ./commands.o ./guess.o ./all-kbds.o -lXaw -lXt
> -lSM -lICE -lXmu -lXt -lSM -lICE -lXex t -lX11 -lXext -lX11
> /usr/X11R6/lib/libXaw.a(Pixmap.o)(.text+0x1d4b):Pixmap.c: undefined
> reference to
> `XpmReadFileToPixmap'
> collect2: ld returned 1 exit status
> make: *** [xkeycaps.exe] Error 1
>
> Adding -lxpm to the link-command makes it pass.
>
> Seems like xmkmf forgets to put a -lxpm somewhere in the
> makefile.. anyone who knows where (in /usr/X11R6/.../cf/something) to
> put it?? (hmm that -m486, maybe time to switch it to 5 or 686??)
>
> Or is it a bug in the Imakefile?
>
> /Andy
>
>