Hi Ray, You cannot use the binaries compiled on RH6.1 on a Mandrake system. You must recompile Root from source. See instructions at: http://root.cern.ch/root/Install.html Rene Brun Ray Fliller III wrote: > > Hello ROOTers. > > I've just installed ROOT 3.00/06 on my computer. I tried to compile > the test programs and I get the following errors > > g++ -O -Wall -fPIC -D_REENTRANT -I/opt/cern/root/include -c Event.cxx > g++ -O -Wall -fPIC -D_REENTRANT -I/opt/cern/root/include -c EventDict.cxx > g++ -shared -O Event.o EventDict.o -o libEvent.so > libEvent.so done > g++ -O -Wall -fPIC -D_REENTRANT -I/opt/cern/root/include -c MainEvent.cxx > g++ -O MainEvent.o libEvent.so -L/opt/cern/root/lib -lCore -lCint -lHist > -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lm > -ldl -lpthread -rdynamic \ > -o Event > MainEvent.o: In function `main': > MainEvent.o(.text+0x799): undefined reference to `TNetFile::TNetFile(char > const *, char const *, char const *, int, int)' > MainEvent.o(.text+0x817): undefined reference to `TFile::TFile(char const > *, char const *, char const *, int)' > MainEvent.o(.text+0xaf4): undefined reference to `TNetFile::TNetFile(char > const *, char const *, char const *, int, int)' > MainEvent.o(.text+0xb7d): undefined reference to `TFile::TFile(char const > *, char const *, char const *, int)' > MainEvent.o(.text+0xc9e): undefined reference to > `TDirectory::TDirectory(char const *, char const *, char const *)' > collect2: ld returned 1 exit status > make: *** [Event] Error 1 > > when I try other targets (I did not go though all) I get similar errors, > though Tetris compiled fine but does not run. > > I get after .L Tetris.so > dlopen error: /opt/cern/root/test/./Tetris.so: undefined > symbol: Print__4TPadPCcT1 > Load Error: Failed to load Dynamic link library > /opt/cern/root/test/./Tetris.so > *** Interpreter error recovered *** > > If I use one of my own classes, everything compiles fine. > > I am using gcc version 2.95.3 19991030, on Linux Mandrake 7.2 (Odyssey) > My path, ROOTSYS and LD_LIBRARY_PATH are all properly set. > > ============================================================================== > Ray Fliller: rfliller@bnl.gov Office Phone: (631)-344-6124 > C-A Accelerator Physics > Building 911 > Brookhaven National Lab > Upton, NY 11973 Office: Room 211 > ==============================================================================
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:39 MET