Hello, I'm trying to compile the $ROOTSYS/TEST files under Linux using the Makefile provided but I get errors at the linking stage. For instance if I try: make hsimple I get: g++ -O hsimple.o -L/usr/local/root/lib -lNew -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lm -ldl -lpthread -rdynamic -o hsimple hsimple.o: In function `hsimple(void)': hsimple.o(.text+0xde): undefined reference to `TFile::TFile(char const *, char const *, char const *, int)' hsimple.o(.text+0x242): undefined reference to `TProfile::TProfile(char const *, char const *, int, double, double, double, double, char const *)' collect2: ld returned 1 exit status make: *** [hsimple] Error 1 This problem is present with all files present in test directory (but the ROOT undefined references change) Root runs fine in interactive mode. I am using a pentium III with Linux Mandarake distribution of Linux 2.2.14-15mdk and gcc 2.95.2 there is egcs with: egcs-g77-1.1.2-24mdk egcs-1.1.2-24mdk egcs-c++-1.1.2-24mdk egcs-objc-1.1.2-24mdk egcs-cpp-1.1.2-24mdk current ROOT version is 2.25 for linux 2.2.14 but I get the same also for older versions, Is there anybody who can help me? thank you, Marco Casolino casolino@roma2.infn.it
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:30 MET