Re: gnome-libs won't compile



-----BEGIN PGP SIGNED MESSAGE-----

On Thu, 9 Apr 1998 nuke@bayside.net wrote:

> > On Wed, 8 Apr 1998 nuke@bayside.net wrote:
> > 
> > > gcc -g -O2 -o .libs/htmltest test.o -Wl,--rpath -Wl,/usr/local/lib
> > > ../gtk-xmhtml/.libs/libgtkxmhtml.so -lXpm -ljpeg -lz -lSM -lICE
> > > -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -lglib -lXext -lX11 -lm -lm
> > > -lXpm -ljpeg -lz -lSM -lICE -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk
> > > -lglib -lXext -lX11 -lm ../intl/libintl.a -lm
> > > ../gtk-xmhtml/.libs/libgtkxmhtml.so: undefined reference to `uncompress'
> > > ../gtk-xmhtml/.libs/libgtkxmhtml.so: undefined reference to `compress'
> > > 
> > 
> i compiled imlib, then gtk, and then gnome-libs. all latest. i'm using
> automake (GNU automake) 1.2h. i did make clean before updating the CVS
> trees.

Well, in this case it seems you have an old libz.so lying around somewhere
which doesn't define compress and uncompress.

norwegen:~/auto - 302 > /sbin/ldconfig -v | grep libz.so
/sbin/ldconfig: can't unlink /etc/ld.so.cache~ (Permission denied)
        libz.so.1 => libz.so.1.0.4
        libz.so.1 => libz.so.1.0.4
norwegen:~/auto - 303 > nm /usr/lib/libz.so.1.0.4 | grep compress
000016dc T compress
00005384 t compress_block
000023bc T uncompress

My libz is from the libgr package of RedHat 5.0. If your ldconfig tells
you that there's also some older than 1.0.4 you should try to rename it
and try again.

Martin

- -----------------------------------------------------------------
   Martin Baulig - Angewandte Mathematik - Universitaet Trier

   baulig@castor.uni-trier.de, http://www.home-of-linux.com/
   Key: 1024-bit key with ID C8178435 created 1997/01/24 
   ID:  67 C1 84 A0 47 F5 11 C5  5F 68 4C 84 99 05 C3 92
   Finger me for public key or fetch finger.txt from the url above
- ------------------------------------------------------------------


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBNSvuHIA8K7jIF4Q1AQE81gQAjFGD37xfQ1EONB4kxgRN+UdRiEcjMt1V
hcpynvN4Ia6JJ3Vn2cMkfIR6Wdn9kmelwmM7Sylzqcr917Uaftf0Hw+04Ih11Lsc
xHKaXwZHV0jLZxgEebBTqYeHW77vn4vbMWsssz3K/L7XPHVOFIgQy8j4Vi4Ig9mB
RrrYWW7idy4=
=NbgG
-----END PGP SIGNATURE-----



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