From chuckwhite8 at charter.net  Thu Oct 22 03:56:09 2009
From: chuckwhite8 at charter.net (Chuck White)
Date: Wed, 21 Oct 2009 21:56:09 -0400
Subject: [Rd] R292 on AIX53 using gcc
In-Reply-To: <20091019001548.3ERGG.7235172.root@mp13>
Message-ID: <20091021215609.LH7WX.7374061.root@mp20>

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.



[Rd] R292 on AIX53 using gcc
Chuck White