Hi,
I’m having a problem getting root to compile.
thanks for any suggestions
Setup:
root version
v5.22.00
gcc details
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.3/specs
Configured with: …/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,java,f77 --enable-java-awt=gtk --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)
gfortran details
gfortran -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/4.0.0/specs
Configured with: …/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --with-gxx-include-dir=/usr/include/c++/3.4.3 --enable-languages=c,c++,f95 --disable-libgcj --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.0.0 20041214 (Red Hat 4.0.0-0.14.EL4)
distro
Red Hat Linux Enterprise Version 4
2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:29:47 EST 2005 x86_64 x86_64 x86_64 GNU/Linux
root configuration command
./configure --enable-mysql --prefix=/usr/local
last make command that fails
g++ -O2 -pipe -m64 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -pthread -DLDAP_DEPRECATED -o net/ldap/src/TLDAPServer.o -c net/ldap/src/TLDAPServer.cxx
bin/rmkdepend -R -fmisc/minicern/src/cernlib.d -Y -w 1000 – -pipe -m64 -Wall -W -fPIC -Iinclude -DR__HAVE_CONFIG -pthread – misc/minicern/src/cernlib.c
gcc -O2 -pipe -m64 -Wall -W -fPIC -Iinclude -DR__HAVE_CONFIG -pthread -o misc/minicern/src/cernlib.o -c misc/minicern/src/cernlib.c
gfortran -O2 -fPIC -m64 -std=legacy -o misc/minicern/src/hbook.o -c misc/minicern/src/hbook.f
f951: error: unrecognized command line option "-std=legacy"
make: *** [misc/minicern/src/hbook.o] Error 1
make: *** Waiting for unfinished jobs…
rm core/utils/src/RStl_tmp.cxx core/utils/src/rootcint_tmp.cxx
[coganp@pcp177897pcs root]$