Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 May 2006 20:29:04 -0500
From:      Eric van Gyzen <eric@vangyzen.net>
To:        freebsd-questions@freebsd.org,  Christopher Illies <christopher.illies@ki.se>
Subject:   Re: R 2.3.0 fails to compile: undefined reference to `R_running_as_main_program'
Message-ID:  <445BFBE0.9010700@vangyzen.net>

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



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