Compiling ROOT "test" programs on Linux

Andre C. McNeill (mac@physics.purdue.edu)
Fri, 28 May 1999 14:41:44 -0500 (EST)


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