From: Michael R. <re...@eu...> - 2006-04-09 17:44:51
|
Hi there, > [...] > plugin_xmms.o -L/usr/local/lib -lluise -lmysqlclient -lm > widget_image.o(.text+0x9f): In function `widget_image_render': > /var/lib/cvs/lcd4linux/widget_image.c:109: undefined reference to > `gdImageCreateFromPng' > widget_image.o(.text+0x1a5):/var/lib/cvs/lcd4linux/widget_image.c:146: > undefined reference to `gdImageGetTrueColorPixel' > collect2: ld returned 1 exit status > make: *** [lcd4linux] Fehler 1 Hey, this is strange... drivers.m4 reads: if test "$LUISE" = "yes"; then if test "$has_luise" = "true"; then GRAPHIC="yes" DRIVERS="$DRIVERS drv_LUIse.o" DRVLIBS="$DRVLIBS -L/usr/local/lib -lluise" AC_DEFINE(WITH_LUISE,1,[LUIse driver]) else AC_MSG_WARN(luise.h not found: LUIse driver disabled) fi fi note that selecting the LUIse driver sets GRAPHIC to "yes" at the end of drivers.m4, there's # generic graphic driver if test "$GRAPHIC" = "yes"; then DRIVERS="$DRIVERS drv_generic_graphic.o" if test "$has_gd" = "true"; then DRIVERS="$DRIVERS drv_Image.o" DRVLIBS="$DRVLIBS -lgd" fi fi so if GRAPHIC is selected, it tests for GD, and either includes the image widget *and* libgd, or none of'em. as your error comes from the image widget, this means that the image widet has been selected. But if the image widget is selected, -lgd is selected, too. but.... hey, you said that your newest file is drv_generic_txt.c from 29.03.06. But drivers.m4 should be from April 1st. maybe you've been bitten by the "SourceForge anonymous CVS update delay"??? bye, Michael -- Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |