Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2007 12:29:22 -0500
From:      Eric van Gyzen <eric@vangyzen.net>
To:        Joey Mingrone <joey@mingrone.org>
Cc:        ports@freebsd.org
Subject:   Re: FreeBSD Port: R-2.5.0
Message-ID:  <20070530172921.GA10820@sirius.vangyzen.net>
In-Reply-To: <f5b896260705301007w97eb72fp9388713c3d11447e@mail.gmail.com>
References:  <f5b896260705301007w97eb72fp9388713c3d11447e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070530172921.GA10820>