Re: New to gnome...Compile prob



I saw the same thing.  It's a problem with detecting your graphics
libraries (libjpeg, libungif, libxpm, libtiff, etc).  Notice that
your 'gcc' command doesn't include the flags '-lungif -ljpeg -ltiff
-lxpm'.  Re-run autogen.sh and check to make sure it found the libs okay.
If it doesn't, then do 'ldconfig -p | less' and make sure that these
libaries are listed.  Recompiling glib and gtk may help also, just to
ensure that you get support for these libs compiled in.

--
 Soren Harward <soren@cinternet.net> | Windows DOES come with a tool
 http://www.cinternet.net/~soren/    | to restore a corrupt Registry.
 Internet Information Systems Admin  |
 Cinternet, Inc.  (513) 891-1228     | It's called FDISK.

On Fri, 25 Sep 1998, Gerard Daubar wrote:

>Hey all, I finally decided to give gnome a try, new to this
>list....I upgraded to gtk 1.1.2 and glib 1.1.3 and tried to compile
>gnome-libs 0.30... The ./configure script went fine and once I tried to
>compile it I got this error:
>
>gcc -g -O2 -Wall -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 -lm -lm -lm
>convertrgb.o: In function `convert':
>/home/gjd/gnome-libs-0.30/tools/convertrgb/convertrgb.c:88: undefined
>reference to `g_LoadPNG'
>/home/gjd/gnome-libs-0.30/tools/convertrgb/convertrgb.c:92: undefined
>reference to `g_LoadJPEG'
>/home/gjd/gnome-libs-0.30/tools/convertrgb/convertrgb.c:96: undefined
>reference to `g_LoadTIFF'
>/home/gjd/gnome-libs-0.30/tools/convertrgb/convertrgb.c:100: undefined
>reference to `g_LoadGIF'



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