config.site contains all the flags you might want to change. You haven't even mentioned the compiler you used, let alone the flags you used.
As package som contains C++ code, it looks as if you didn't get your *CXX* flags right. That's your fault, not a bug in R.
On Tue, 21 Dec 2004 [EMAIL PROTECTED] wrote:
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"));
Why are you attempting to concatenate a single object?
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.
-- Brian D. Ripley, [EMAIL PROTECTED] 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
______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-devel