Root 5.23 problems compiling test programs

Hello everybody,

I’m trying to install the latest development version of Root (5.23/03) on linuxx8664gcc with gcc version 4.1.2 20070626 (Red Hat 4.1.2-13).

During the compilation I only get this warning:

net/alien/src/TAlienSystem.cxx: In member function ‘virtual int TAlienSystem::AlienFilestat(const char*, FileStat_t&)’:
net/alien/src/TAlienSystem.cxx:318: warning: dereferencing type-punned pointer will break strict-aliasing rules

but when I try to compile the test macros I get the error listed in the txt file attached.

The configuration that I use is:
./configure
–with-pythia6-uscore=SINGLE
–enable-cern --enable-rfio
–enable-gsl-shared
–enable-mathmore --enable-mathcore --enable-roofit
–enable-asimage --enable-minuit2
–enable-alien --with-alien-incdir={ALIEN_ROOT}/api/include \ --with-alien-libdir={ALIEN_ROOT}/api/lib
–enable-xrootd
–g77=gfortran

Thank you very much for any help.

Best regards,


Cristian Andrei
err_test.txt (22.4 KB)

You are using an old Makefile. With 5.23 the makefile must give this:

g++ -O2 -m64 MainEvent.o /afs/cern.ch/user/b/brun/w0/rootslc4amd64/root/test/libEvent.so -L/afs/cern.ch/user/b/brun/w0/rootslc4amd64/root/lib -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint-lPostscript -lMatrix -lPhysics -lMathCore -lThread -pthread -lm -ldl -rdynamic -o Event
Rene

Thank you for your answer.

I don’t know how can this happen because, today, I have downloaded the trunk version just before compiling.

I have found that in /bin there was a very old version of root-config and the makefile was using that. I’ve just deleted that file, recompiled root and everything works fine now.

Thank you.

Best Regards.