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

Eric van Gyzen eric at vangyzen.net
Sat May 6 01:29:06 UTC 2006


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


More information about the freebsd-questions mailing list