FreeBSD Port: R-2.5.0

Eric van Gyzen eric at vangyzen.net
Wed May 30 17:29:23 UTC 2007


Joey Mingrone wrote:
> Hi Eric,
> 
> I sent you a message a while back about some linking errors when
> upgrading to R-2.4.1.  I don't recall changing anything, but it
> installed after updating my ports tree a few days later.  I'm having
> the same problems upgrading to 2.5.0.  The linking error is below.
> Any suggestions? *Note*, there are no linking errors when running the
> erroneous command below with gfortran.
> 
> Thanks,
> 
> Joey
> 
> ...
> ...
> cc -std=gnu99 -export-dynamic -L/usr/local/lib -o R.bin Rmain.o -L../../lib 
> -lR
> /usr/local/lib/gcc-4.2.1/libgfortran.so.2: undefined reference to
> `__mulxc3 at GCC_4.0.0'
> /usr/local/lib/gcc-4.2.1/libgfortran.so.2: undefined reference to
> `__mulsc3 at GCC_4.0.0'
> /usr/local/lib/gcc-4.2.1/libgfortran.so.2: undefined reference to
> `__divsc3 at GCC_4.0.0'
> /usr/local/lib/gcc-4.2.1/libgfortran.so.2: undefined reference to
> `__muldc3 at GCC_4.0.0'
> /usr/local/lib/gcc-4.2.1/libgfortran.so.2: undefined reference to
> `__divdc3 at GCC_4.0.0'
> /usr/local/lib/gcc-4.2.1/libgfortran.so.2: undefined reference to
> `__divxc3 at GCC_4.0.0'

Joey,

I'm curious:  Instead of linking with gfortran, try gcc42.

Eric


More information about the freebsd-ports mailing list