I downloaded Linux root 2.07, unpacked, went into root/test and said
"make":
persil:~/root/test> make
g++ -O -Wall -fPIC -I/home/skluth/root/include -c Event.cxx
g++ -O -Wall -fPIC -I/home/skluth/root/include -c EventCint.cxx
g++ -O -Wall -fPIC -I/home/skluth/root/include -c MainEvent.cxx
g++ -Wl,-soname,libEvent.so -shared -g Event.o EventCint.o -o libEvent.so
g++ -g MainEvent.o Event.o EventCint.o -L/home/skluth/root/lib -lNew
-lBase -lCint -lClib -lCont -lFunc -lGraf -lGraf3d -lHist -lHtml -lMatrix
-lMeta -lMinuit -lNet -lPostscript -lProof -lTree -lUnix -lZip -lg++ -lm
-ldl -rdynamic -o Event
Event.o: In function `Event type_info function':
Event.o(.text+0x166c): undefined reference to `TObject type_info function'
Event.o(.text+0x1672): undefined reference to `TObject type_info node'
EventCint.o: In function `Track type_info function':
EventCint.o(.text+0x55ac): undefined reference to `TObject type_info
function'
EventCint.o(.text+0x55b2): undefined reference to `TObject type_info node'
collect2: ld returned 1 exit status
make: *** [Event] Error 1
Exit 2
persil:~/root/test> uname -a
Linux persil 2.0.33 #7 Sat Apr 11 04:37:43 PDT 1998 i686 unknown
persil:~/root/test> g++ -v
Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.90.28/specs
gcc version egcs-2.90.28 980423 (egcs-1.0.3 prerelease)
Am I doing something wrong? cheers, Stefan
---Stefan Kluth---------------Lynen Fellow----------------|\--|\-------
- LBNL, MS 50A 2160 - phone: +1 510 495 2376 - |/ |/ -
- 1 Cyclotron Rd. - fax: +1 510 495 2957 - |\/\|\/\|' -
---Berkeley, CA94720, USA-----e-mail: SKluth@lbl.gov------|/\/|/\/|----