From chuckwhite8 at charter.net  Sat Oct 31 19:13:09 2009
From: chuckwhite8 at charter.net (Chuck White)
Date: Sat, 31 Oct 2009 14:13:09 -0400
Subject: [Rd] unable to compile RODBC (R 2.9.2, AIX)
Message-ID: <20091031141309.HU21I.6038980.root@mp15>

Hello -- I am trying to compile (linker error, not compiler error) RODBC for R 2.9.2 on AIX 5.3 using gcc. I get the following error:

gcc -maix64 -pthread -std=gnu99 -shared -Wl,-brtl -Wl,-G -Wl,-bexpall -Wl,-bnoentry -lc -L/usr/lib -L/usr/X
11R6/lib -L/usr/local/lib -L/opt/freeware/lib -L/opt/freeware/lib64 -o RODBC.so RODBC.o -lodbc -lm -L/usr/l
ocal/builddir/lib -lR
ld: 0711-738 ERROR: Input file /usr/lib/libodbc.so:
        XCOFF32 object files are not allowed in 64-bit mode.
collect2: ld returned 8 exit status
gmake: *** [RODBC.so] Error 1
ERROR: compilation failed for package 'RODBC'

I would appreciate any help I can get in this regard.  Thanks.



[Rd] unable to compile RODBC (R 2.9.2, AIX)
Chuck White