[Rd] R292 on AIX53 using gcc

Chuck White chuckwhite8 at charter.net
Thu Oct 22 03:56:09 CEST 2009


Hello -- I haven't received any respones to my previous post on compiling R2.9.2 for AIX 5.3. Meanwhile, I have looked at the following post by Ei-ji Nakama [http://tolstoy.newcastle.edu.au/R/e4/devel/08/07/2171.html] and it appears that all the changes suggested in the patch are already in R2.9.2 Makefiles.

I have also looked at the documentation under R-Forge/AIX page [http://r-forge.r-project.org/projects/aix/]. That does not seem to help either.

Bottomline, I am trying to compile R2.9.2 on a AIX 5.3 Power5 box with gcc 4.3 and get the following error:

	gcc -maix64 -pthread -std=gnu99 -Wl,-brtl -Wl,-bexpall -Wl,-bpT:0x100000000 -Wl,-bpD:0x110000000 -lc  -L/usr/local/lib -o R.bin Rmain.o -L../../lib -lR -lRblas
ld: 0711-224 WARNING: Duplicate symbol: .memcpy, memcpy, .bcopy, bcopy, .memmove, .memset, memset, .fres, fres
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-317 ERROR: Undefined symbol: R_running_as_main_program

Command used: ./configure --enable-R-shlib --enable-BLAS-shlib --without-iconv ; make > make.log 2>&1

I would really appreciate any help. 

Thanks in advance.



More information about the R-devel mailing list