Re: Compiling gnome-libs........
- From: Gleef <dzol virtual-yellow com>
- To: Gabriele Giorgetti <nope linux-it iname com>
- cc: gnome-list gnome org, "recipient.list.not.shown":;
- Subject: Re: Compiling gnome-libs........
- Date: Mon, 28 Dec 1998 17:03:49 -0500 (EST)
On Mon, 28 Dec 1998, Gabriele Giorgetti wrote:
> Hi guys I've just downloaded gnome 0.99 tarballs ...
> I've read and follewed the gnometar guide infos on www.gnome.org
>
> Now while compiling gnome-libs i get this undefined reference:
>
> gcc -g -O2 -Wall -Wno-unused -o .libs/htmltest test.o -Wl,--rpath
> -Wl,/usr/local/gnome/lib ../gtk-xmhtml/.libs/libgtkxmhtml.so -lXpm
> -ljpeg -lpng -lz -lz -lSM -lICE -L/usr/local/gnome/lib -L/usr/X11R6/lib
> -lgtk -lgdk -lgmodule -lglib -ldl -lXext -lX11 -lm -lm -lXpm -ljpeg
> -lpng -lz -lz -lSM -lICE -L/usr/local/gnome/lib -L/usr/X11R6/lib -lgtk
> -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm -lm
> ../gtk-xmhtml/.libs/libgtkxmhtml.so: undefined reference to `uncompress'
> ../gtk-xmhtml/.libs/libgtkxmhtml.so: undefined reference to `compress'
> make[2]: *** [htmltest] Error 1
> make[2]: Leaving directory
> `/home/Gabriele/gnome/gnome-libs-0.99.0/gtk-xmhtml'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/Gabriele/gnome/gnome-libs-0.99.0'
> make: *** [all-recursive-am] Error 2
Looks like it's having trouble with your zlib. First, make sure there is
one and only one libz.so on your system (having two copies in different
directories is often the problem). Then go to the directory where zlib is
kept, and type:
$ nm libz.so |grep compress
000017bc T compress
00001718 T compress2
00006910 t compress_block
000030d8 T uncompress
Your numbers may vary, but you need at least the "T compress" and the
"T uncompress" lines there. Lastly, make sure that libz.so is able to
be found; that means it is either in /lib, /usr/lib, or any directory
given after a "-L" in the above gcc command.
Best of Luck,
-Gleef
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]