You are not logged in.

#1 2009-07-29 07:12:26

quarK
Member
From: Karlsruhe, Germany
Registered: 2008-02-22
Posts: 39

Can't build ROOT: lib/libRIO.so: undefined reference

Hi there,

I recently switched to 64bit and I am happy about it, except that the ROOT package from AUR can't be built anymore. I have read about g++ 4.4. problems, but then again, other people reported, that even building it with g++3.4 fails. These are the last lines of the output:

 Install proofserv wrapper.
bin/rmkdepend -R -fmain/src/hadd.d -Y -w 1000 -- -pipe -m64 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -pthread -D__cplusplus -- main/src/hadd.cxx
g++ -O2 -pipe -m64 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -pthread  -o main/src/hadd.o -c main/src/hadd.cxx
g++ -m64 -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
==> ERROR: Build Failed.
    Aborting...

I'm no expert, but I suspect there is some library missing or linked or included not properly.

Any help is greatly appreciated,
Cheers,
daniel smile

Offline

#2 2009-07-29 12:46:11

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Can't build ROOT: lib/libRIO.so: undefined reference

According to the AUR comment page this should be fixed.

Offline

#3 2009-07-29 14:06:53

quarK
Member
From: Karlsruhe, Germany
Registered: 2008-02-22
Posts: 39

Re: Can't build ROOT: lib/libRIO.so: undefined reference

Yep, I read that too big_smile
The PKGBUILD version I downloaded is half a day old and the last update was at the end of June, so I figured the error was not due to me being out of date.

Offline

#4 2009-07-29 17:58:06

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Can't build ROOT: lib/libRIO.so: undefined reference

Can confirm your error, but no solution, sorry.

Offline

#5 2009-07-29 19:38:39

quarK
Member
From: Karlsruhe, Germany
Registered: 2008-02-22
Posts: 39

Re: Can't build ROOT: lib/libRIO.so: undefined reference

Okay, that tells me at least, I'm not doing something fundamentally wrong... Or that we both are big_smile
Thanks though!

Offline

Board footer

Powered by FluxBB