Hi,
I suspect that your code does not properly compiled. Can you send me the exact content of your script?
Cheers,
Philippe.
-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch]
On Behalf Of chris129_at_cs.iastate.edu
Sent: Thursday, May 12, 2005 9:08 AM
To: roottalk_at_pcroot.cern.ch
Subject: [ROOT] Difficulty Using ACliC
All,
I'm very new to root. We're trying to become accustomed to it's
limitations
right now so we can plan an effective means of using it.
I'm having difficulties with root 4.04/02. I built it for RHEL4 and have
set
PATH, ROOTSYS, LD_LIBRARY_PATH properly. I built it this way:
./configure linux
make -j2 #dual Xeon
And I've also done it this way
./configure linux
gmake
Everything seems to work fine, except aclic. When I try to load a file
containing a function as simple as "return 2;" I get this error:
Error: class,struct,union or type T not defined
FILE:/root4/root//cint/lib/prec_stl/vector LINE:44
Error: Unexpected EOF G__exec_statement()
FILE:/root4/root//cint/lib/prec_stl/vector LINE:209
Error: Unexpected EOF G__fgetname():2
FILE:/root4/root//cint/lib/prec_stl/vector
LINE:209
Error: Unexpected EOF G__fgetvarname():2
FILE:/root4/root//cint/lib/prec_stl/vector LINE:209
Error: Unexpected EOF G__fgetstream():2
FILE:/root4/root//cint/lib/prec_stl/vector LINE:209
Syntax Error: Maybe missing ';' FILE:/root4/root//cint/lib/prec_stl/vector
LINE:209
Warning: Error occured during reading source files
Warning: Error occured during dictionary source generation
However, I also have root on another machine (RH9), it was prebuilt. I load
the
same file and it compiles perfectly fine. This machine has
PATH/ROOTSYS/LD_LIBRARY_PATH set in the same manner as the other. So I
thought
that file that gets the errors could be bad. So I grabbed it off the faulty
machine and the working one and I did a diff, it returns nothing (so they
are
the same).
Please tell me I'm doing something obviously wrong :). I think I have a
compile
issue, but I've followed the instructions and can't find any exceptions for
our
use (besides that, having just aclic fail and cint work correct seems odd
for a
compile issue?).
Thanks,
--Chris
Received on Thu May 12 2005 - 22:28:44 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:07 MET