[R] error in building R-2.15.3: configure: error: linking to Fortran libraries from C fails
Dinesh
dinesh at vssod.com
Wed Feb 5 06:44:56 CET 2014
Hi,
I am trying to build R-2.15.3 and get the following error in
/configure --with-readline --enable-R-shlib
<snip>
checking for dummy main to link with Fortran 77 libraries... unknown
configure: error: in `/home/dinesh/R-build/R-2.15.3':
configure: error: linking to Fortran libraries from C fails
packages installed:
zypper in texinfo readline-devel xorg-x11-devel
Compilers:
GNU Fortran (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973]
gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973]
g++ (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973]
Linux:
Linux hanaserver 2.6.32.27-0.2-default #1 SMP 2010-12-29 15:03:02 +0100
x86_64 x86_64 x86_64 GNU/Linux
FROM config.log
configure:23444: checking for dummy main to link with Fortran 77 libraries
configure:23478: gcc -std=gnu99 -o conftest -g -O2 -I/usr/local/include
-L/usr/local/lib64 conftest.c -ldl -lm -lgfortran -lm >&5
/usr/lib64/gcc/x86_64-suse-linux/4.3/libgfortran.so: undefined reference to
`__gttf2 at GCC_4.3.0'
/usr/lib64/gcc/x86_64-suse-linux/4.3/libgfortran.so: undefined reference to
`__netf2 at GCC_4.3.0'
/usr/lib64/gcc/x86_64-suse-linux/4.3/libgfortran.so: undefined reference to
`__lttf2 at GCC_4.3.0'
collect2: ld returned 1 exit status
configure:23478: $? = 1
Will greatly appreciate your help in working this out.
Regards
Dinesh
More information about the R-help
mailing list