Problems with ACLiC

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

.L mymacro.C++
I get the message error

root [0] .L upsana.C++
Info in TUnixSystem::ACLiC: creating shared library /afs/
In file included from /usr/include/features.h:352,
from /afs/,
from /afs/
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
/afs/ warning: unused parameter ‘isdebug’
g++: /afs/ No such file or directory
Error in : Compilation failed!
root [1]

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.

Many thanks


What does:uname -a ls -lart /usr/include/gnu/stubs*return? Can you try a 64 bit build of ROOT?



here it is : :slight_smile: uname -a
Linux 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 :slight_smile: 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 ?
Thanks !


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

Hi Giulia!

should do.

Cheers, Axel.

Indeed :slight_smile:
So many thanks !! ciao :slight_smile: giu