[R] R-2.2.0 compilation problem
Bill Northcott
w.northcott at unsw.edu.au
Sun Oct 9 07:45:04 CEST 2005
On 07/10/2005, at 8:00 PM, Robin Hankin wrote:
> I tried to compile R-2.2.0 just now. configure worked fine, but
> compilation stopped with
>
> ld: Undefined symbols:
> restFP
> saveFP
> /usr/bin/libtool: internal link edit command failed
> make[3]: *** [libR.dylib] Error 1
> make[2]: *** [R] Error 2
> make[1]: *** [R] Error 1
> make: *** [R] Error 1
> octopus:~/scratch/R-2.2.0%
This has been written up many times already. It would be nice if it
was in the documentation.
g77 can only be used with gcc-3.x and earlier. The default compiler
on Tiger is gcc-4.
All you need to do to build with g77 on Tiger is use the command
sudo gcc_select 3.3
which will make gcc-3.3 the default compiler and it will all work.
Bill Northcott
More information about the R-help
mailing list