problem linking examples in $ROOTSYS/test

From: Dirk Meier (Dirk.Meier@cern.ch)
Date: Mon Dec 06 1999 - 18:33:30 MET


Hi Rooters,

I installed `root_v2.23.Linux.2.2.3.egcs111.tar.gz'
and I have a problem linking the examples in $ROOTSYS/test



The symptons are:

> make
g++ -shared -g Event.o EventDict.o -o libEvent.so
g++ -g MainEvent.o Event.o EventDict.o -L/usr/ROOT/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+0x271): undefined reference to `TFile::TFile(char const
*, char const *, char const *, int)'
MainEvent.o(.text+0x4e8): undefined reference to `TFile::TFile(char const
*, char const *, char const *, int)'
MainEvent.o(.text+0x5b8): undefined reference to
`TDirectory::TDirectory(char const *, char const *, char const *)'
collect2: ld returned 1 exit status
make: *** [Event] Error 1


I am on a linux RedHat 5.2 system

> less /proc/version
Linux version 2.0.36 (root@porky.redhat.com) (gcc version 2.7.2.3) #1 Tue
Oct 13 22:17:11 EDT 1998

with the following settings:

> echo $LD_LIBRARY_PATH 
:/usr/ROOT/root/lib

> echo $ROOTSYS 
/usr/ROOT/root



any ideas what goes wrong here?
Thanks

Dirk



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