R 2.3.0 fails to compile: undefined reference to `R_running_as_main_program'

Christopher Illies christopher.illies at ki.se
Sat May 6 15:57:52 UTC 2006


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



More information about the freebsd-questions mailing list