Problems with ACLiC

Hello
I have root 5.26.00b installed on my desktop at cern
lbcag01.cern.ch

which is running red hat SLC4

When I open root and try to compile a macro
through

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

root [0] .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,
from /afs/cern.ch/sw/lcg/app/releases/ROOT/5.26.00b/slc4_ia32_gcc34/root/include/RConfig.h:183,
from /afs/cern.ch/user/m/manca/cmtuser/Ups_stripping/upsilon/./upsana_C_ACLiC_dict.cxx:7:
/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!
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
cheers
giulia

Hi,

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

Cheers,
Philippe.

Hello

here it is :

lbcag01.cern.ch :slight_smile: 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 :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 !
giulia

Hi,

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 ?
[/quote]
Yes, you need to get your system administration to install the 32 bits system libraries and/or headers files.

Cheers,
Philippe

Hello
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
thanks
cheers
giulia

Hi Giulia!

should do.

Cheers, Axel.

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