Re: Problem compiling gnome-libs



Real Corriveau <correa@dsuper.net> wrote:

>I've refreshed my cvs tree today. Does someone has a clue why I`m
>getting these errors while compiling gnome-libs.
>=================================
>make[3]: Entering directory
>`/home/real/dev/gnomecvs/gnome-libs/tools/convertrgb
>/bin/sh ../../libtool --mode=link gcc -g -O2 -Wall -W -Wno-unused
>-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith   -o
>convertrgb  convertrgb.o -L/usr/local/lib -lgdk_imlib -L/usr/local/lib
>-L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext
>-lX11 -ldl -lm -ljpeg -ltiff -lungif -lpng -lz -lm -lm
>gcc -g -O2 -Wall -W -Wno-unused -Wmissing-prototypes
>-Wmissing-declarations -Wpointer-arith -o convertrgb convertrgb.o
>-L/usr/local/lib -lgdk_imlib -L/usr/local/lib -L/usr/X11R6/lib -lgtk
>-lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -ldl -lm -ljpeg
>-ltiff -lungif -lpng -lz -lm -lm
>convertrgb.o: In function `convert':
>/home/real/dev/gnomecvs/gnome-libs/tools/convertrgb/convertrgb.c:82:
>undefined reference to `g_LoadPNG'
>/home/real/dev/gnomecvs/gnome-libs/tools/convertrgb/convertrgb.c:86:
>undefined reference to `g_LoadJPEG'
>/home/real/dev/gnomecvs/gnome-libs/tools/convertrgb/convertrgb.c:90:
>undefined reference to `g_LoadTIFF'
>/home/real/dev/gnomecvs/gnome-libs/tools/convertrgb/convertrgb.c:94:
>undefined reference to `g_LoadGIF'
>make[3]: *** [convertrgb] Error 1
>make[3]: Leaving directory
>`/home/real/dev/gnomecvs/gnome-libs/tools/convertrgb'make[2]: ***
>[all-recursive] Error 1
>make[2]: Leaving directory `/home/real/dev/gnomecvs/gnome-libs/tools'
>=================================

It looks like gnome-libs found PNG, JPEG, TIFF, and GIF libraries, but
imlib was not compiled with support for them. Check and see if imlib
was compiled with native support for those file types.

Right now it is assumed that on the same system, imlib and gnome-libs
will check for these libraries annd come up with the same conclusions.
If that is not the case, bug me and I will write a test macro to check
if imlib was compiled with support, because you can't tell from imlib's
headers.

John
--
John Ellis <johne@bellatlantic.net>
http://www.geocities.com/SiliconValley/Haven/5235/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]