Re: Linux root 2.07 tests broken?
Rene Brun (Rene.Brun@cern.ch)
Wed, 20 May 1998 08:44:26 +0200
stefan kluth wrote:
>
> Hi,
>
> 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
Until this morning we had two versions of Root for Linux (Redhat 4.2
and 5.0 under gcc 2.7). I have now added a third version generated
under Redhat5 with egcs. g++ and egcs seems to be incompatible
regarding some low level libraries. This looks like a mess.
The 3 versions now available from our Web site are:
- Redhat 4.2 with gcc 2.7
- Redhat 5.0 with gcc 2.7
- Redhat 5.0 with egcs 2.90.27
the third version has been generated on my laptop with:
(pcnotebrun.cern.ch) [984] g++ -v
Reading specs from
/usr/lib/gcc-lib/i586-unknown-linux/egcs-2.90.27/specs
gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)
Rene Brun