Hello Rooters,
I’ve been trying to install root (first version 4.04, then 5.02) on my Pentium 4 machine running Fedora Core 4. Installing Fedora Core 2 binaries did not seem to work. So I tried installing from the source code, but wasn’t able to do it either. There seems to be a problem somewhere in the g2root routine. ‘gmake’ gives me the following error:
g++ -O -o bin/g2root main/src/g2root.o
/cern/pro/lib/libpacklib.a /cern/pro/lib/libkernlib.a
-L /usr/lib/gcc-lib/i386-redhat-linux/3.2.3 -lg2c -lnsl -lm -ldl -pthread -rdynamic
/usr/lib/gcc/i386-redhat-linux/4.0.0/…/…/…/crt1.o(.text+0x18): In function _start': : undefined reference to
main’
collect2: ld returned 1 exit status
gmake: *** [bin/g2root] Error 1
This doesn’t look like something I could easily fix myself, so I was wondering if any of you Root experts have an idea on what to do with this.
(Btw, I had to modify my ‘Makefile.linux’ in the config/ directory and add a new library path:
-L /usr/lib/gcc-lib/i386-redhat-linux/3.2.3
to the F77LIBS flag, otherwise gmake crashed even earlier with the message that ‘g2c library was not found’.)
I’d be grateful for any ideas on this bug. Thanks in advance.
Daniel