Hi dear R-Help members:

When I was building my R package, using
$R CMD build --binary pkg
it came out the following error:
........
** libs
Error: package 'methods' was built for x86_64-unknown-linux-gnu
Execution halted

The information about $R_HOME/library/methods/libs/methods.so is:
$file methods.so
methods.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not
stripped

my machine is:
$uname -a
Linux whinev 2.4.21-37.EL #1 SMP Wed Sep 7 13:32:18 EDT 2005 x86_64 x86_64
x86_64 GNU/Linux

and I used the options below to build R src:
../configure --prefix=/home/whinev/R --enable-R-shlib CC="gcc -m32"
CXXFLAGS="-m32 -O2 -g" FFLAGS="-m32 -O2 -g" FCFLAGS="-m32 -O2 -g"
LDFLAGS="-L/usr/local/lib" LIBnn=lib --with-x=no

Would you please tell me what the matter is?
Thank you all!

Whinev

	[[alternative HTML version deleted]]

