[ROOT] compiling test code

From: Mark Hodgkinson (markhod@hep.man.ac.uk)
Date: Wed Oct 23 2002 - 23:54:57 MEST


I go into the test dircetory of root and type make Event. I get told:

gcc -O -Wall -fPIC -D_REENTRANT -I/usr/local/root/include -c Event.cxx
In file included from /usr/local/root/include/Rtypes.h:30,
                 from /usr/local/root/include/TObject.h:31,
                 from /usr/local/root/include/TNamed.h:26,
                 from /usr/local/root/include/TRandom.h:26,
                 from Event.cxx:70:
/usr/local/root/include/Rtypeinfo.h:32:20: typeinfo: No such file or 
directory
In file included from /usr/local/root/include/TObject.h:40,
                 from /usr/local/root/include/TNamed.h:26,
                 from /usr/local/root/include/TRandom.h:26,
                 from Event.cxx:70:
/usr/local/root/include/Riosfwd.h:23:24: iosfwd: No such file or directory
make: *** [Event.o] Error 1

The only modification I made to the makefile was changing g++ to gcc. Do I 
need something else for this to compile?

This is using root 30309.

Thanks,

Mark.

-- 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:15 MET