Compiling ROOT "test" programs on Linux

From: Andre C. McNeill (mac@physics.purdue.edu)
Date: Fri May 28 1999 - 21:41:44 MEST


Peace, I am trying to compile the "test" progams in the test directory
with gmake, under the Linux operating system, and these are the errors it
gives me

______________________________________________________________________________

> gmake
g++ -shared -g Event.o EventDict.o -o libEvent.so
g++ -g MainEvent.o Event.o EventDict.o -L/home/andre/root/lib -lNew -lBase
-lCint -lClib -lCont -lFunc -lGraf -lGraf3d -lHist -lHtml -lMatrix -lMeta
-lMinuit -lNet -lPostscript -lProof -lTree -lUnix -lZip -lm -ldl -rdynamic
-o Event
MainEvent.o: In function `main':
MainEvent.o(.text+0x263): undefined reference to `TFile::TFile(char const
*, char const *, char const *, int)'
MainEvent.o(.text+0x476): undefined reference to `TFile::TFile(char const
*, char const *, char const *, int)'
MainEvent.o(.text+0x51e): undefined reference to
`TDirectory::TDirectory(char const *, char const *, char const *)'
/home/andre/root/lib/libBase.so: undefined reference to `__log1p'
collect2: ld returned 1 exit status
gmake: *** [Event] Error 1
______________________________________________________________________________

Can anyone explain why it is not recognizing the TFile or TDirectory
declarations from the TDirectory.h in the MainEvent.cxx file?

Thank you for your time.  Peace.

Andre McNeill



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:33 MET