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

From: Prof Brian Ripley <>
Date: Mon, 25 Jun 2007 08:30:27 +0100 (BST)

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]: *** [] 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]]
> ______________________________________________
> mailing list

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Mon 25 Jun 2007 - 07:33:30 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 25 Jun 2007 - 10:35:30 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.