From owner-freebsd-questions@FreeBSD.ORG Sat May 6 15:57:52 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78ACB16A402 for ; Sat, 6 May 2006 15:57:52 +0000 (UTC) (envelope-from christopher.illies@ki.se) Received: from humle.it.ki.se (humle.it.ki.se [130.237.101.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5CDA43D46 for ; Sat, 6 May 2006 15:57:51 +0000 (GMT) (envelope-from christopher.illies@ki.se) Received: from Klabautermann.ks.se (pc053094.ks.se [136.155.136.187] (may be forged)) by humle.it.ki.se (8.13.1/8.13.1) with ESMTP id k46FvkrU006599; Sat, 6 May 2006 17:57:47 +0200 (MEST) Received: by Klabautermann.ks.se (Postfix, from userid 1001) id B6E0AC2BF; Sat, 6 May 2006 17:57:48 +0200 (CEST) Date: Sat, 6 May 2006 17:57:48 +0200 From: Christopher Illies To: Eric van Gyzen Message-ID: <20060506155748.GA94024@Klabautermann.ks.se> Mail-Followup-To: Eric van Gyzen , freebsd-questions@freebsd.org References: <445BFBE0.9010700@vangyzen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <445BFBE0.9010700@vangyzen.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org Subject: Re: R 2.3.0 fails to compile: undefined reference to `R_running_as_main_program' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 May 2006 15:57:52 -0000 On Fri, May 05, 2006 at 08:29:04PM -0500, Eric van Gyzen wrote: > Christopher Illies wrote: > >On Tue, May 02, 2006 at 09:24:13AM +0100, Vittorio wrote: > >> Last night , after portsnap(-ping) and trying to recompile the > >> statistical software R from 2.2.1 to 2.3.0 I get the following: > >[...] > >> cc -export-dynamic -L/usr/local/lib -o R.bin Rmain.o -L../.. > >> /lib -lR > >> Rmain.o(.text+0x14): In function `main': > >> : undefined reference > >> to `R_running_as_main_program' > >> *** Error code 1 > > > >No solution here, instead I am having the same problem, running 6.1-RC. > > > >If you found a solution, could you please post it here? > > You can work around this problem by removing R 2.2.1 before building R > 2.3.0. > > I'll fix the port as soon as I have time. > > Eric -- the math/R maintainer Thanks, it works. Christopher