Re: Problem linking help-browser



Hi!

On Sat, 07 Mar 1998, Tom Tromey wrote:
>Bernd> misc.o: In function `loadFileToBuf':
>Bernd> misc.o(.text+0x6a6): undefined reference to `gzopen'
>Bernd> misc.o(.text+0x6dc): undefined reference to `gzread'
>Bernd> misc.o(.text+0x781): undefined reference to `gzread'
>Bernd> misc.o(.text+0x7a0): undefined reference to `gzclose'
>
>Apparently some Red Hat machines have two different versions of zlib
>installed.  configure finds the right zlib, but then the link uses the
>wrong one.
>
>I don't have a fix, I'm afraid.
>
>Tom

I checked my system for a second zlib and I found one:
  /usr/X11R6/lib/libz.a
rpm -qf shows that this file belongs to XFree86-devel. I removed it
and now help browser can be linked but then I get:
make[2]: Entering directory `/usr/src/local/gnome-core/panel'
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALE
DIR=\""/opt/gnome/share/locale"\" -I/opt/gnome/include -I/usr/X11R6/include -g -
O2 -c applet-lib.cc
c++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\"/opt/gnome/share/locale\" -I
/opt/gnome/include -I/usr/X11R6/include -g -O2 -Wp,-MD,.deps/applet-lib.p -c -fP
IC -DPIC applet-lib.cc
/usr/include/mico/throw.h: In function `void mico_throw(const class CORBA::Excep
tion &)':
In file included from /usr/include/mico/naming.h:13,
                 from applet-lib.cc:2:
/usr/include/mico/throw.h:33: warning: `catch', `throw', and `try' are all C++ r
eserved words
/usr/include/mico/throw.h:33: exception handling disabled, use -fhandle-exceptio
ns to enable.
make[2]: *** [applet-lib.lo] Error 1
make[2]: Leaving directory `/usr/src/local/gnome-core/panel'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/local/gnome-core'
make: *** [all-recursive-am] Error 2  

Is it possible that applet-lib.cc must be compiled with mico-c++?

--
Bernd Bartmann
<Bernd.Bartmann@picard.isdn.cs.tu-berlin.de>



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