Configuration.. -lxpm missing in generated makefile..
Suhaib Siddiqi
ssiddiqi@inspirepharm.com
Tue Apr 17 12:10:00 GMT 2001
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
>
>
More information about the Cygwin-xfree
mailing list