Problem building R from the ports

Olivier Nicole on at cs.ait.ac.th
Tue Dec 4 02:18:01 PST 2007


Hi,

I am trying to upgrade /usr/ports/math/R

I am using gcc 4.2.3 because at some stage it was needed by some other
ports, so it is now the version in use.

But I have the following problem with the fortran libraries.

gcc42 -std=gnu99      -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H  -fpic  -O -pipe -c Rmain.c -o Rmain.o
gcc42 -std=gnu99 -export-dynamic -L/usr/local/lib -o R.bin Rmain.o -L../../lib -lR
/usr/local/lib/gcc-4.2.3/libgfortran.so.2: undefined reference to `__mulxc3 at GCC_4.0.0'
/usr/local/lib/gcc-4.2.3/libgfortran.so.2: undefined reference to `__mulsc3 at GCC_4.0.0'
/usr/local/lib/gcc-4.2.3/libgfortran.so.2: undefined reference to `__divsc3 at GCC_4.0.0'

Any idea is welcome.

TIA.

olivier


More information about the freebsd-questions mailing list