On Wed, 20 Feb 2002 11:36:09 -0500 you wrote:
> Hi,
> Dont tell me it's not the right mailing list, i've sent a similar
> msg to gnuworld dlevel mailing list and got no answer so feel free to
> help :)
>
> i'm using Slakware 7.0 2.2.20
> postrgreSQL 7.1.3
> gcc 3.0
> make 3.79
>
> I red all the doc/README files and i'm pretty sure i've done it right.
> First thing, compiling gnuworld with ccontrol module i got this make
> error:
>
> g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../libltdl -Wall -pipe -g
> -O0 -I/home/irc/gnuworld/include -I/home/irc/gnuworld/lib -c msg_SQ.cc
> In file included from /usr/local/include/g++-v3/fstream:31,
> from /home/irc/gnuworld/lib/ELog.h:8,
> from ../include/iServer.h:15,
> from ../include/server.h:34,
> from msg_SQ.cc:9:
> /usr/local/include/g++-v3/bits/std_fstream.h:228: Internal error:
> Segmentation
> fault
> make[1]: *** [msg_SQ.o] Error 1
> make[1]: Leaving directory `/home/irc/gnuworld/src'
> make: *** [all-recursive] Error 1
>
>
> Second thing is when i install the cservice module alone. Here's what i
> get when i try to start it:
> gnuworld: error in loading shared libraries:
> /home/irc/gnuworld/bin/libcservice.so.0: undefined symbol:
> _ZN12PgConnectionC2EPKc
>
> I hardly understand why the same sources could compile on a system and
> not on another.. Anyway, if someone, somewhere know the answer just
> reply :)
Your problem looks like you have upgraded your C++ compiler
between building the library and gnuworld. The g++ people
changed the mangling algorithm they use in their compiler a
while back, and that means that some symbols in old
libraries will try to be accessed with a different name from
under new code. I had the same problem. Once you upgrade to
g++ v3, you need to rebuild every C++ library on your
system from make clean, and then you need to make clean
any application that you rebuild that has old .o files lying around.
>
> regards,
>
> remz.