From owner-freebsd-ports@FreeBSD.ORG Wed May 30 18:03:31 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 207A416A421 for ; Wed, 30 May 2007 18:03:31 +0000 (UTC) (envelope-from joey@mingrone.org) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.224]) by mx1.freebsd.org (Postfix) with ESMTP id D8BB213C46E for ; Wed, 30 May 2007 18:03:30 +0000 (UTC) (envelope-from joey@mingrone.org) Received: by nz-out-0506.google.com with SMTP id 14so929841nzn for ; Wed, 30 May 2007 11:03:29 -0700 (PDT) Received: by 10.64.220.8 with SMTP id s8mr15866354qbg.1180548209756; Wed, 30 May 2007 11:03:29 -0700 (PDT) Received: by 10.64.27.4 with HTTP; Wed, 30 May 2007 11:03:29 -0700 (PDT) Message-ID: Date: Wed, 30 May 2007 15:03:29 -0300 From: "Joey Mingrone" In-Reply-To: <20070530172921.GA10820@sirius.vangyzen.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070530172921.GA10820@sirius.vangyzen.net> Cc: ports@freebsd.org Subject: Re: FreeBSD Port: R-2.5.0 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2007 18:03:31 -0000 On 5/30/07, Eric van Gyzen 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