From yauv at ohsu.edu  Tue Dec 21 20:32:18 2004
From: yauv at ohsu.edu (yauv@ohsu.edu)
Date: Tue Dec 21 20:32:25 2004
Subject: [Rd] 64-bit R failed to compile some packages (PR#7440)
Message-ID: <20041221193218.49D9D1044D@slim.kubism.ku.dk>

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


[Rd] 64-bit R failed to compile some packages (PR#7440)
yauv@ohsu.edu