horbelt@physik.uni-freiburg.de
2004-Mar-26 16:10 UTC
[Rd] linker errors on ia64: open.o: @gprel relocation against dynamic symbol f__buflen
hello, I just failed to compile R 1.8.1 and also the latest beta R-1.9.0beta_2004-03-22.tar.gz on an ia64 architecture. When it comes to linking the Lapack library, the following error occurs six times: /usr/bin/ld: open.o: @gprel relocation against dynamic symbol f__buflen Here is some diagnostic information. uname -a Linux hippo 2.4.21-sgi230rp03111013_10029 #1 SMP Mon Nov 10 13:25:42 PST 2003 ia64 unknown gcc --version 2.96 g77 --version GNU Fortran 0.5.26 20000731 (Red Hat Linux 7.2 2.96-118.7.2) I can produce the same error messages with the following simpler steps: cat >tst.f <<EOF SUBROUTINE DLAMC2( ) WRITE( 6, * ) 'SOME STRING' RETURN END EOF g77 -c tst.f -o tst.o gcc -shared tst.o -lg2c Is it possible to compile R with gcc 2.96? thanks in advance werner
Prof Brian Ripley
2004-Mar-26 22:39 UTC
[Rd] linker errors on ia64: open.o: @gprel relocation against dynamic symbol f__buflen
gcc 2.96 does not exist: see gcc.gnu.org. It was never released and the `versions' shipped with various Linux distros are renowned for their bugs. You almost certainly need a shared -lg2c, which has been standard for quite a while now (gcc 3.1 I believe). Is there any reason now to use gcc 3.3.3? On Fri, 26 Mar 2004 horbelt@physik.uni-freiburg.de wrote:> hello, > I just failed to compile R 1.8.1 and also the latest beta > R-1.9.0beta_2004-03-22.tar.gz > on an ia64 architecture. When it comes to linking the Lapack > library, the following error occurs six times: > /usr/bin/ld: open.o: @gprel relocation against dynamic symbol > f__buflen > > Here is some diagnostic information. > > uname -a > Linux hippo 2.4.21-sgi230rp03111013_10029 #1 SMP > Mon Nov 10 13:25:42 PST 2003 ia64 unknown > > gcc --version > 2.96 > > g77 --version > GNU Fortran 0.5.26 20000731 (Red Hat Linux 7.2 2.96-118.7.2) > > I can produce the same error messages with the following simpler > steps: > > cat >tst.f <<EOF > SUBROUTINE DLAMC2( ) > WRITE( 6, * ) 'SOME STRING' > RETURN > END > EOF > g77 -c tst.f -o tst.o > gcc -shared tst.o -lg2c > > Is it possible to compile R with gcc 2.96? > > thanks in advance > werner > > ______________________________________________ > R-devel@stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-devel > >-- Brian D. Ripley, ripley@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595