I have root 5.26.00b installed on my desktop at cern
which is running red hat SLC4
When I open root and try to compile a macro
I get the message error
root  .L upsana.C++
Info in TUnixSystem::ACLiC: creating shared library /afs/cern.ch/user/m/manca/cmtuser/Ups_stripping/upsilon/./upsana_C.so
In file included from /usr/include/features.h:352,
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
/afs/cern.ch/user/m/manca/cmtuser/Ups_stripping/upsilon/./upsana.C:14: warning: unused parameter ‘isdebug’
g++: /afs/cern.ch/user/m/manca/cmtuser/Ups_stripping/upsilon/./upsana_C_ACLiC_dict.o: No such file or directory
Error in : Compilation failed!
I have written to the helpdesk but they say it is a root problem and they do not know anything about it.
Can you help ?
this functionality has never worked on my desktop since I got it.
ls -lart /usr/include/gnu/stubs*return? Can you try a 64 bit build of ROOT?
here it is :
lbcag01.cern.ch uname -a
Linux lbcag01.cern.ch 2.6.18-194.3.1.el5 #1 SMP Fri May 7 16:06:14 CEST 2010 x86_64 x86_64 x86_64 GNU/Linux
lbcag01.cern.ch ls -lart /usr/include/gnu/stubs*
-rw-r–r-- 1 root root 315 Mar 31 12:29 /usr/include/gnu/stubs.h
-rw-r–r-- 1 root root 775 Mar 31 12:31 /usr/include/gnu/stubs-64.h
About trying a 64 version of root, I did not download root myself, it is
the LHCb (my experiment) version, which comes by default when I
setup the project I am working on (in this case DaVinci).
I do not have root and the root directory locally…
Maybe there is a way I can setup the project to access root 64 version, I
can ask the manager…
Is there any other way ?
So the problem is indeed that you are using the 32 bit build of ROOT and on machine that only has the 64 bit system libraries and/or headers files.
[quote]Is there any other way ?
Yes, you need to get your system administration to install the 32 bits system libraries and/or headers files.
Thanks since I think I am my system administrator I will have to do it myself-where do I find them ? Are they available for public download ? I will also look into the other option you mentioned
So many thanks !! ciao giu