[R] compiling R in 64-bit mode on Linux on Power4

Dr. Christoph Pospiech pospiech at de.ibm.com
Sat Apr 12 18:58:54 CEST 2003


Hi all,

today I tried to compile R in 64-bit mode on Linux on Power4. I used the 
following parameter with configure.

./configure -without-x  CC='xlC' F77='xlf' CXX='xlC' CFLAGS='-q64 -g 
-qfullpath' FFLAGS='-q64 -g -qfullpath' CXXFLAGS='-q64 -g -qfullpath' 
MAIN_LDFLAGS='-q64 -g -qfullpath' LDFLAGS='-q64' SHLIB_CXXLDFLAGS='-q64 -G' 
SHLIB_LDFLAGS='-q64 -G' CPICFLAGS='-G' FPICFLAGS='-G' CXXPICFLAGS='-G' && 
gmake

The error message was as follows.
xlC -q64 -G  -q64 -o internet.so  Rsock.lo internet.lo nanoftp.lo nanohttp.lo 
sock.lo sockconn.lo
xlC: 1501-218 file Rsock.lo contains an incorrect file suffix
xlC: 1501-218 file internet.lo contains an incorrect file suffix
xlC: 1501-218 file nanoftp.lo contains an incorrect file suffix
xlC: 1501-218 file nanohttp.lo contains an incorrect file suffix
xlC: 1501-218 file sock.lo contains an incorrect file suffix
xlC: 1501-218 file sockconn.lo contains an incorrect file suffix
/opt/cross/bin/powerpc64-linux-ld: 
/opt/ibmcmp/vacpp/6.0/lib64/libxl.a(atoff.o)(.eh_frame+0x320): unresolvable 
relocation against symbol `.atoi@@GLIBC_2.2.5'
gmake[4]: *** [internet.so] Error 1
gmake[4]: Leaving directory 
`/works/work5/cp/bench/DKFZ/R/src/modules/internet'
gmake[3]: *** [R] Error 2
gmake[3]: Leaving directory 
`/works/work5/cp/bench/DKFZ/R/src/modules/internet'
gmake[2]: *** [R] Error 1
gmake[2]: Leaving directory `/works/work5/cp/bench/DKFZ/R/src/modules'
gmake[1]: *** [R] Error 1
gmake[1]: Leaving directory `/works/work5/cp/bench/DKFZ/R/src'
gmake: *** [R] Error 1

Anyone seen a similar thing before ?
-- 

Mit freundlichen Gruessen/Best Regards

Dr. Christoph Pospiech
High Performance & Parallel Computing
Advanced Computing Technology Center
Phone +49-621-469450, Fax: ...-469200, eMail: pospiech at de.ibm.com
Mobile +49-171 765 5871
---- Please Note new Tel+FAX Number ----



More information about the R-help mailing list