[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-ports
Subject: Re: FreeBSD Port: R-2.5.0
From: "Joey Mingrone" <joey () mingrone ! org>
Date: 2007-05-30 18:03:29
Message-ID: f5b896260705301103k5cae088ib5ea857ce25da49b () mail ! gmail ! com
[Download RAW message or body]
On 5/30/07, Eric van Gyzen <eric@vangyzen.net> wrote:
> 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@GCC_4.0.0'
> > /usr/local/lib/gcc-4.2.1/libgfortran.so.2: undefined reference to
> > `__mulsc3@GCC_4.0.0'
> > /usr/local/lib/gcc-4.2.1/libgfortran.so.2: undefined reference to
> > `__divsc3@GCC_4.0.0'
> > /usr/local/lib/gcc-4.2.1/libgfortran.so.2: undefined reference to
> > `__muldc3@GCC_4.0.0'
> > /usr/local/lib/gcc-4.2.1/libgfortran.so.2: undefined reference to
> > `__divdc3@GCC_4.0.0'
> > /usr/local/lib/gcc-4.2.1/libgfortran.so.2: undefined reference to
> > `__divxc3@GCC_4.0.0'
>
> Joey,
>
> I'm curious: Instead of linking with gfortran, try gcc42.
>
> Eric
>
Linking with gcc42 gives the same errors. Also, I should note, it was
gfortran42, which linked without errors:
>/usr/ports/math/R/work/R-2.5.0/src/main$ gfortran42 -std=gnu99
-export-dynamic -L/usr/local/lib -o R.bin Rmain.o -L../../lib -lR
>
Joey
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic