Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug 19] New - GTK Client does not compile with Helix GNOME libraries and XF 4.0
- To: ,
- Subject: [Bug 19] New - GTK Client does not compile with Helix GNOME libraries and XF 4.0
- From:
- Date: Wed, 14 Jun 2000 19:08:29 -0500
- ReplyTo:
http://bugzilla.real-time.com/show_bug.cgi?id=19
*** shadow/19 Wed Jun 14 19:08:29 2000
--- shadow/19.tmp.17644 Wed Jun 14 19:08:29 2000
***************
*** 0 ****
--- 1,58 ----
+ Bug#: 19
+ Product: Crossfire
+ Version: 0.95.5
+ Platform: PC
+ OS/Version: Linux
+ Status: NEW
+ Resolution:
+ Severity: normal
+ Priority: P2
+ Component: GTK client
+ AssignedTo:
+ ReportedBy:
+ URL:
+ Cc:
+ Summary: GTK Client does not compile with Helix GNOME libraries and XF 4.0
+
+ I upgraded to Helix GNOME and the GTK client will no longer compile.
+
+ gcc -o cfclient client.o commands.o init.o item.o misc.o newsocket.o player.o
+ sound.o x11.o -lm -lXpm -L/usr/X11R6/lib -lX11
+ x11.o: In function `FaceCmd':
+ /home/tanner/projects/crossfire/client/xutil.c:163: undefined reference to
+ `Imlib_load_file_to_pixmap'
+ x11.o: In function `init_windows':
+ /home/tanner/projects/crossfire/client/x11.c:2769: undefined reference to
+ `Imlib_init'
+ x11.o: In function `display_newpng':
+ /home/tanner/projects/crossfire/client/x11.c:2918: undefined reference to
+ `Imlib_load_file_to_pixmap'
+ collect2: ld returned 1 exit status
+ make: *** [cfclient] Error 1
+
+ % rpm -qa | grep mlib
+ imlib-1.9.8.1-0_helix_1
+ imlib-cfgeditor-1.9.8.1-0_helix_1
+ imlib-devel-1.9.8.1-0_helix_1
+ XFree86-devel-4.0-0.16
+ XFree86-4.0-0.16
+
+ I added the -lImlib to the linker option, but I got the following errors:
+
+ % gcc -o cfclient client.o commands.o init.o item.o misc.o newsocket.o player.o
+ sound.o x11.o -lm -lXpm -L/usr/X11R6/lib -lX11 -lImlib
+ /usr/bin/../lib/libImlib.so: undefined reference to `XShmDetach'
+ /usr/bin/../lib/libImlib.so: undefined reference to `XShmGetImage'
+ /usr/bin/../lib/libImlib.so: undefined reference to `XShmPixmapFormat'
+ /usr/bin/../lib/libImlib.so: undefined reference to `XShapeCombineMask'
+ /usr/bin/../lib/libImlib.so: undefined reference to `XShmCreateImage'
+ /usr/bin/../lib/libImlib.so: undefined reference to `XShmPutImage'
+ /usr/bin/../lib/libImlib.so: undefined reference to `XShmAttach'
+ /usr/bin/../lib/libImlib.so: undefined reference to `XShmQueryVersion'
+ /usr/bin/../lib/libImlib.so: undefined reference to `XShmQueryExtension'
+ /usr/bin/../lib/libImlib.so: undefined reference to `XShmGetEventBase'
+ /usr/bin/../lib/libImlib.so: undefined reference to `XShmCreatePixmap'
+
+ Reading up on imlib stuff I see you need -lXext as well.
+
+ I am not an autoconfig guru, so I do not know what to do you automate this.