[Rd] 64-bit R failed to compile some packages (PR#7440)

yauv at ohsu.edu yauv at ohsu.edu
Tue Dec 21 20:32:18 CET 2004


Full_Name: Vincent Yau
Version: 2.0.1
OS: Solaris SPARC 9
Submission from: (NULL) (137.53.23.145)


We have recently upgraded to using 64-bit R.  Was trying to install
a SOM library by using:

  install.packages(c("som"));

from  http://cran.r-project.org/src/contrib/Descriptions/som.html

I got this error message:
    ld: fatal: file som.o: wrong ELF class: ELFCLASS64


I was able to fix this problem by modifying
R/etc/Makeconf and changed all SHLIB_FLAGS (with -G) to
also include -m64.


Thanks

--Vincent



More information about the R-devel mailing list