Re: Undefined reference in gnome-libs



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

On Wed, 20 May 1998, Benjamin White wrote:

> To: gnome-list@gnome.org
> Subject: Undefined reference in gnome-libs   
> From: Benjamin White <bewhite@bgsm.edu>
> 
> X-Premail-Auth: Key matching expected Key ID 5A390B1D not found
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> Hello all,
> 
> Up until a few days ago I have been able to get gnome-libs to compile
> out of the CVS.  Now however I get the following errors:
> 
> ../libtool --mode=link gcc -g -O2  -o htmltest  test.o ../gtk-xmhtml/libgtkxmhtml.la -lXpm -ljpeg  -lz -lSM -lICE -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -lglib -lXext -lX11 -lm ../intl/libintl.a -lm 
> 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 ../intl/libintl.a -lm
> ../gtk-xmhtml/.libs/libgtkxmhtml.so: undefined reference to `uncompress'
> ../gtk-xmhtml/.libs/libgtkxmhtml.so: undefined reference to `compress'
> make: *** [htmltest] Error 1
> 
> As far as I know 'compress' and 'uncompress' are found in libz which I
> do have installed.  So what gives?  This wasn't a problem until a
> while ago.

Normally, this problem occurs when you have an old version of libz laying
around on you system, probably in /usr/X11R6/lib. If this wasn't a problem
to you until a while ago, you probably installed any software package on
your system that came along with an older (than 1.0.4, I think) version
of libz; perhaps under /usr/X11R6/lib or /opt/lib. This may have confused
your linker so it fetched the older one instead of the required newer one
(which was used before).

Martin

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

   baulig@castor.uni-trier.de, http://www.home-of-linux.org/
   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

iQCVAwUBNWNKFIA8K7jIF4Q1AQGBqwP+O9WlvVgg/nY+TURGoV9xzlMCRvTb6F0+
KWQcr2Fp/7hFxuRlozNCR/QD3bwVn7mmycCzG7/Meiu8flVaRpVYcBkEx7jB3bpg
gM0aBB2QSguwm00ueARz6APA0JWfRobUeZP0EzAeXf0t1Lj4oC2dRz9Pzd1A9xX6
4ZHly1QvchA=
=q1Nw
-----END PGP SIGNATURE-----



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