This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]