This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Configuration.. -lxpm missing in generated makefile..
- To: cygwin-xfree at sourceware dot cygnus dot com
- Subject: Configuration.. -lxpm missing in generated makefile..
- From: Andrew Markebo <flognat at flognat dot myip dot org>
- Date: 17 Apr 2001 21:05:27 +0200
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