[Rd] errors in compiling R-2.5.0 and R-2.4.0[sec=unclassified]

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Jun 25 09:30:27 CEST 2007


We don't have enough to go on: the errror is before the output you give.
(Hint: 'additional'.)

However, this is a link error and not a compilation error, nor is it an R 
problem.  Please show the full output to your local Linux advisor.
It is likely that the correct flag for PIC code is not being used.

On Mon, 25 Jun 2007, Mohar Chattopadhyay wrote:

> Dear all,
>
> I have encountered errors in compiling R-2.5.0 and R-2.4.0 in a linux
> machine (power-pc). I can successfully build it from the source code if
> I do not use the '--enable-R-shlib' option while executing the
> './configure' command as mentioned in rpy documentation. Using the
> `--enable-R-shlib' option the configure step is executed properly but
> the `make' crashes with the following error message:
>
> Rdynload.o(.text+0x1246): In function `GetFullDLLPath':
> /home/mxc/R-2.5.0/src/main/Rdynload.c:850: additional relocation
> overflows omitted from the output
> collect2: ld returned 1 exit status
> make[3]: *** [libR.so] Error 1
> make[3]: Leaving directory `/home/mxc/R-2.5.0/src/main'
> make[2]: *** [R] Error 2
> make[2]: Leaving directory `/home/mxc/R-2.5.0/src/main'
> make[1]: *** [R] Error 1
> make[1]: Leaving directory `/home/mxc/R-2.5.0/src'
> make: *** [R] Error 1
>
> Right now I am using an older version of R, R-2.1.0 which did not
> produce any error during the `build' and `install' stage, however, the
> recent versions have some problem. R-2.5.0 installs and builds fine on
> its own. Any insight to this problem will be hugely appreciated.
>
> Regards,
>
> Mohar Chattopadhyay
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list