Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 May 2006 17:57:48 +0200
From:      Christopher Illies <christopher.illies@ki.se>
To:        Eric van Gyzen <eric@vangyzen.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: R 2.3.0 fails to compile: undefined reference to `R_running_as_main_program'
Message-ID:  <20060506155748.GA94024@Klabautermann.ks.se>
In-Reply-To: <445BFBE0.9010700@vangyzen.net>
References:  <445BFBE0.9010700@vangyzen.net>

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




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