Re: [ROOT] Compiling with gcc 3.3

From: Jiri Masik (Jiri.Masik@cern.ch)
Date: Tue Aug 19 2003 - 10:55:51 MEST


Hi Conrad,

perhaps it has nothing to do with gcc-3.2, gcc-3.3 uses the same ABI
as 3.2 that's where the number 3.2 comes from. It looks like some gcc
installation problem. Can you link other c++ programs than Root? If
you add --verbose to the link command below can you see the correct
paths to your gcc-3.3 build and to the right libstdc++?

cheers
Jiri

Conrad Steenberg <conrad@hep.caltech.edu> writes:

> Hi
> 
> Hmmm, I still get the same error. Any ideas that could be causing the
> compile to pick the gcc-3.2 instead of the gcc-3.3 symbol version? I
> don't even have version 3.2 installed!
> 
> This is with root 3.10.
> 
> Cheers
> 
> Conrad
> 
> On Mon, 2003-08-18 at 10:35, Rene Brun wrote:
> > Hi Conrad,
> > 
> > I have no problems compiling ROOT under RH9 with gcc3.3
> > gcc version 3.3 20030715 (Red Hat Linux 3.3-14)
> > 
> > Rene Brun
> > 
> > On 18 Aug 2003, 
> > Conrad Steenberg wrote:
> > 
> > > Hi
> > > 
> > > I'm having trouble compiling root with gcc 3.3: when creating libCint.so
> > > with version 3.05.07 or current CVS, I get
> > > g++ -shared -Wl,-soname,libCint.so -O -o lib/libCint.so cint/src/auxu.o
> > > ...
> > > ...
> > > cint/src/Token.o cint/src/Type.o cint/src/Typedf.o cint/src/gcc3strm.o
> > > cint/src/longif3.o
> > > /opt/openpkg/bin/ld: lib/libCint.so: undefined versioned symbol name
> > > std::time_put_w@@GLIBCPP_3.2
> > > 
> > > It seems that some people have reported similar problems before, but the
> > > solution suggested was to use the CVS version :-(
> > > 
> > > Other details:
> > > Redhat 9 with binutils-2.14 and gcc-3.3.
> > > 
> > > Any ideas appreciated :-)
> > > 
> > > Cheers
> > > 
> > > Conrad
> > > 
> > > 
> -- 
> Conrad Steenberg <conrad@hep.caltech.edu>



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET