Hi there ! I might be able to precise my problem, I described this morning (as "Norbert Danneberg") in "problems compiling routines containing TFILE" now. Something must be wrong with my configuration, because here is what I get from $ROOTSYS/test> gmake : g++ -O -Wall -fPIC -I/usr/root/include -c Event.cxx In file included from /usr/root/include/Rtypes.h:18, from /usr/root/include/TObject.h:23, from /usr/root/include/TNamed.h:18, from /usr/root/include/TRandom.h:18, from Event.cxx:65: /usr/root/include/RConfig.h:89: warning: `__i486__' redefined *Initialization*:1: warning: this is the location of the previous definition g++ -O -Wall -fPIC -I/usr/root/include -c EventDict.cxx In file included from /usr/root/include/Rtypes.h:18, from /usr/root/include/TObject.h:23, from /usr/root/include/TNamed.h:18, from /usr/root/include/TDirectory.h:17, from /usr/root/include/TROOT.h:21, from EventDict.h:26, from EventDict.cxx:5: /usr/root/include/RConfig.h:89: warning: `__i486__' redefined *Initialization*:1: warning: this is the location of the previous definition ...............AND SO ON................ g++ -shared -g Event.o EventDict.o -o libEvent.so g++ -g MainEvent.o Event.o EventDict.o -L/usr/root/lib -lNew -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lm -ldl -rdynamic -o Event MainEvent.o: In function `main': MainEvent.o(.text+0x707): undefined reference to `TFile::TFile(char const *, char const *, char const *, int)' MainEvent.o(.text+0x9d5): undefined reference to `TFile::TFile(char const *, char const *, char const *, int)' MainEvent.o(.text+0xafe): undefined reference to `TDirectory::TDirectory(char const *, char const *, char const *)' collect2: ld returned 1 exit status gmake: *** [Event] Error 1 Can anybody help me?? Kai
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:37 MET