problem with linking ROOT programs under Slackware 3.5

From: Alexander Zvyagin (zvyagin@mx.ihep.su)
Date: Wed Oct 21 1998 - 16:07:56 MEST


                                           IHEP, Protvino, Russia, 21-OCT-1998

    Dear ROOTers,

I have upgrated OS on my computer to Linux Slackware 3.5.
ROOT tutorials work. When I try to compile and link examples in the
$ROOTSYS/test directory I get the message:

Event.o: In function `Event type_info function':
Event.o(.text+0x14c4): undefined reference to `TObject type_info function'
Event.o(.text+0x14ca): undefined reference to `TObject type_info node'
EventDict.o: In function `Track type_info function':
EventDict.o(.text+0x5420): undefined reference to `TObject type_info function'
EventDict.o(.text+0x5426): undefined reference to `TObject type_info node'
collect2: ld returned 1 exit status

I successfully recompile the ROOT system, but it doesn't help.

I do not undestand what is wrong... May be I missed some library?

Versions of gcc and ld are:
# gcc -v
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.90.29/specs
gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)
# ld -v
GNU ld version 2.8.1 (with BFD linux-2.8.1.0.1)

Need help!
Alexander Zvyagin.



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