Am Montag, den 02.11.2009, 22:11 +0100 schrieb Peter Fritzsche: [..] > cc -g -O2 -g -Wall -O2 -o chemtool main.o draw.o graph.o chemproc.o > undo.o inout.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 - > lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo > -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 - > lgmodule-2.0 -lglib-2.0 -lm > /usr/bin/ld: main.o: in function key_press_event:main.c:1014: error: > undefined reference to 'XWarpPointer' > /usr/bin/ld: main.o: in function key_press_event:main.c:951: error: undefined > reference to 'XWarpPointer' > /usr/bin/ld: main.o: in function key_press_event:main.c:928: error: undefined > reference to 'XWarpPointer' > /usr/bin/ld: main.o: in function key_press_event:main.c:913: error: undefined > reference to 'XWarpPointer' > /usr/bin/ld: inout.o: in function export_bitmap:inout.c:3841: error: > undefined reference to 'XCreatePixmap' > /usr/bin/ld: inout.o: in function export_bitmap:inout.c:3843: error: > undefined reference to 'XCopyPlane' > /usr/bin/ld: inout.o: in function export_bitmap:inout.c:3849: error: > undefined reference to 'XWriteBitmapFile' > /usr/bin/ld: inout.o: in function export_bitmap:inout.c:3853: error: > undefined reference to 'XFreePixmap' > collect2: ld returned 1 exit status
The problem is, that chemtool calls AC_PATH_X, a macro delivered with autoconf. This should set x_headers and x_libraries. But this seems to fail. Independent from this, x_libraries seems unused. So this might require 2 things to fix: - make AC_PATH_X work (autoconf) - use x_libraries (chemtool) Regards, Daniel -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org