Re: Compile error with gcc 4.4.0

From: Johan Bregeon <johan.bregeon_at_pi.infn.it>
Date: Tue, 14 Apr 2009 11:03:11 +0200


Ok, thank you very much for these information. gcc 4.4.0-0.xx is the current compiler of Fedora 11 Beta. I'll use some official gcc release.
Best Regards,
Johan

Axel Naumann wrote:

> Hi Johan,
> 
> there is no official release of GCC 4.4 yet, so whatever Red Hat 
> released is their home grown thing. And apparently it has a bug, or 
> there is an issue with the setup. As a hint: I have the requested symbol 
> in lib/libRIO.so; it's generated (as a weak symbol) from 
> io/io/src/TStreamerInfoReadBuffer.cxx, both the function definition and 
> the template instantiation happen in there, so it's also in 
> io/io/src/TStreamerInfoReadBuffer.o.
> 
> Cheers, Axel.
> 
> Johan Bregeon wrote on 04/09/2009 06:30 PM:

>> Hi,
>> I am using gcc version 4.4.0 20090330 (Red Hat 4.4.0-0.31) (GCC)
>> and have a compile error with the head of svn, with the dev 5.23.00
>> and with the prod v5.22.00 versions.
>>
>> > cat config.status
>> --enable-table --disable-xrootd --enable-qt --enable-qtgsi
>> --with-qt-incdir=/usr/include --with-qt-libdir=/usr/lib
>> --prefix=/usr/local/root/head
>>
>> make and after some time...
>>
>> g++ -m32 -O2 -o bin/hadd main/src/hadd.o \
>> -Llib -lCore -lCint -lRIO -lNet -lHist -lGraf
>> -lGraf3d -lGpad -lTree -lMatrix -lMathCore -lThread -lm -ldl -pthread
>> -rdynamic
>> lib/libRIO.so: undefined reference to `int
>> TStreamerInfo::ReadBuffer<char**>(TBuffer&, char** const&, int, int,
>> int, int)'
>> collect2: ld returned 1 exit status
>> make: *** [bin/hadd] Error 1
>> rm core/utils/src/RStl_tmp.cxx core/utils/src/rootcint_tmp.cxx
>>
>> did anybody compiled root with gcc 4.4.0 ?
>>
>> Thanks
>> Johan
>>

Received on Tue Apr 14 2009 - 11:03:21 CEST

This archive was generated by hypermail 2.2.0 : Tue Apr 14 2009 - 11:50:02 CEST