Re: rootcint: error loading headers

From: Olaf Hartmann <olaf.hartmann_at_oeaw.ac.at>
Date: Thu, 17 Dec 2009 15:03:42 +0100


On 12/17/2009 02:56 PM, Axel Naumann wrote:

>
> your Makefile is hiding the important line. This:
>> Generating dictionary ResultsDict.cpp...
> gets printed where it invokes rootcint. I'll need to know what that
> rootcint invocation looks like. Simply remove the '@' at the beginning
> of the Makefile line invoking rootcint, run "make" again, and send what
> make prints.
>

Hi,
here it is:

g++ -O -Wall -fPIC -pthread -m64 -I/home/olaf/root/include

-L/home/olaf/root/lib -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d 
-lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread 
-lGui -pthread -lm -ldl -rdynamic -c Results.cpp
echo "Generating dictionary ResultsDict.cpp..." Generating dictionary ResultsDict.cpp... /home/olaf/root/bin/rootcint -f ResultsDict.cpp -c -p Results.h ResultsLinkDef.h
CAUTION: tmpfile 3/ArIT8g_cint.cxx can't open sh: 3/KurZ0U_cint: No such file or directory Error: external preprocessing failed. :0: !!!Removing ResultsDict.cpp ResultsDict.h !!! Error: /home/olaf/root/bin/rootcint: error loading headers... make: *** [ResultsDict.cpp] Error 1

Cheers,
Olaf.

>
> Olaf Hartmann wrote on 12/17/2009 02:06 PM:
>> Hi,
>>
>> I'm currently trying to make a shared object file using root
>> libraries. It fails finally with a rootcint error:
>>
>> [olaf_at_pc43]$ make
>> g++ -O -Wall -fPIC -pthread -m64 -I/home/olaf/root/include -c Results.cpp
>> Generating dictionary ResultsDict.cpp...
>> CAUTION: tmpfile 3/omy6bE_cint.cxx can't open
>> sh: 3/qNc1M0_cint: No such file or directory
>> Error: external preprocessing failed. :0:
>> !!!Removing ResultsDict.cpp ResultsDict.h !!!
>> Error: /home/olaf/root/bin/rootcint: error loading headers...
>> make: *** [ResultsDict.cpp] Error 1
>>
>> I'm using
>>
>> ROOT 5.26/00 (trunk_at_31882, Dec 14 2009, 20:18:36 on linuxx8664gcc)
>>
>> gcc version 4.4.1 20090725 (Red Hat 4.4.1-2) (GCC)
>>
>> Linux pc43.smi.oeaw.ac.at 2.6.30.9-102.fc11.x86_64 #1 SMP Fri Dec 4
>> 00:18:53 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
>>
>> Is anything missing systemwise? Any hints?
>>
>> Cheers
>> Olaf.
>>
>>

-- 
Dr. Olaf N. Hartmann
Stefan-Meyer-Institut der ÖAW		phone +43 1 4277 297 35
Boltzmanngasse 3      	  		fax   +43 1 4277 9297
A-1130 Wien, Austria			www.oeaw.ac.at/smi
Received on Thu Dec 17 2009 - 15:03:46 CET

This archive was generated by hypermail 2.2.0 : Thu Dec 17 2009 - 17:50:02 CET