From owner-freebsd-questions@FreeBSD.ORG Sat May 6 01:29:06 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 05B8916A413 for ; Sat, 6 May 2006 01:29:06 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: from smtp.vangyzen.net (70-96-250-22.br1.lkv.mn.frontiernet.net [70.96.250.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1C1643D46 for ; Sat, 6 May 2006 01:29:05 +0000 (GMT) (envelope-from eric@vangyzen.net) Received: from [10.1.1.2] (fenchurch.vangyzen.net [10.1.1.2]) by smtp.vangyzen.net (Postfix) with ESMTP id 2B2816D427; Fri, 5 May 2006 20:29:05 -0500 (CDT) Message-ID: <445BFBE0.9010700@vangyzen.net> Date: Fri, 05 May 2006 20:29:04 -0500 From: Eric van Gyzen User-Agent: Thunderbird 1.5.0.2 (X11/20060501) MIME-Version: 1.0 To: freebsd-questions@freebsd.org, Christopher Illies Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: 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 01:29:06 -0000 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