In order to take advantage of the huge speed boost of
the ALPHA, I've tried to port my 3 classes from my
Intel Linux to the OSF v4.0 Alpha. While the .h and
.cxx for the classes compile just fine, the rootcint
gives me a wierd error (and then proceeds to try and
compile the rqmd_dict.cxx file):
~~~~~~~~~~~ROOTCINT ERROR MESSAGE
Generating dictionary ...
Error: Unexpected EOF G__fgetstream():2 FILE:/usr/include/standards.h
LINE:257
Advice: You may need to use +P or -p option
Limitation: can not handle macro _BEGIN_CPLUSPLUS extern"C"{/ Use +P
or -p option
FILE:/usr/include/standards.h LINE:257
g++ -O -D__osf__ -D__alpha -I/usr/local/Root/include
-I/usr/local/lib/g++-include -c rqmd_dict.cxx
/usr/local/Root/include/TMemberInspector.h: In function `void
G__set_cpp_environmentrqmd_dict(...)':
In file included from rqmd_dict.cxx:19:
/usr/local/Root/include/TMemberInspector.h:34: field
`G__set_cpp_environmentrqmd_dict(...)::TMemberInspector::fgIsA' in
local class cannot be static
In file included from rqmd_dict.cxx:20:
/usr/local/Root/include/TError.h:40: parse error before string
constant
rqmd_dict.cxx:22: parse error at end of input
*** Exit 1
Stop.
~~~~~~~~END ROOTCINT ERROR MESSAGE
Several questions come to mind: what is this +P or -p? Is it
for rootcint? What is this limitation thing all about? Why
is this a problem on ALPHA and not Linux (both use same gcc/g++
versions, although obviously standards.h is platform specific).
How exactly do I use the +P or -p option...I've tried every
combination I could think of but many times (using rootcint)
I get the error "Option -c must come directly after the output
file" despite the fact that it is.
Thanks in advance,
Tim
-- ~~ WWW Page: http://quantum.phy.vanderbilt.edu/~tim/ ~~~~~~~~~~ Tim Miller | "Am I mature enough to get old?" Vanderbilt University | --Me. | "With the amount of horse manure Graduate Studies in Physics | currently in the air, the Relativistic Heavy Ions | pigs are starting to complain!" | --Andrew Rose ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~