From owner-freebsd-ports@FreeBSD.ORG Wed May 30 17:29:23 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 3B47116A400 for ; Wed, 30 May 2007 17:29:23 +0000 (UTC) (envelope-from vangyzen@vangyzen.net) Received: from smtp.vangyzen.net (static-74-41-215-198.dr01.brvl.mn.frontiernet.net [74.41.215.198]) by mx1.freebsd.org (Postfix) with ESMTP id 0FF6E13C4AE for ; Wed, 30 May 2007 17:29:22 +0000 (UTC) (envelope-from vangyzen@vangyzen.net) Received: by smtp.vangyzen.net (Postfix, from userid 1001) id 4F8C62284C; Wed, 30 May 2007 12:29:22 -0500 (CDT) Date: Wed, 30 May 2007 12:29:22 -0500 From: Eric van Gyzen To: Joey Mingrone Message-ID: <20070530172921.GA10820@sirius.vangyzen.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i 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 17:29:23 -0000 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