[R] Problems compiling R under AIX 4.3

hacker-24@versanet.de hacker-24 at versanet.de
Fri Nov 25 10:58:11 CET 2005


I have problems compiling R 2.2.0 under AIX 4.3 with GCC and xlf95 (FORTRAN)

here the error message I got:

make[1]: Entering directory `/home/mau/sy/R-2.2.0/src/modules/X11'
make[1]: `Makedeps' is up to date.
make[1]: Leaving directory `/home/mau/sy/R-2.2.0/src/modules/X11'
make[1]: Entering directory `/home/mau/sy/R-2.2.0/src/modules/X11'
/usr/local/bin/gcc -Wl,-bM:SRE -Wl,-H512 -Wl,-T512 -Wl,-bnoentry -Wl,-bexpall
-Wl,-bI:../../../etc/R.exp -L/usr/local/lib -o R_X11.so  dataentry.lo devX11.lo
rotated.lo rbitmap.lo  -lSM -lICE -lX11  -ljpeg -lpng -lz
-static and -shared may not be used together
collect2: ld returned 1 exit status
make[1]: *** [R_X11.so] Error 1
make[1]: Leaving directory `/home/mau/sy/R-2.2.0/src/modules/X11'
make: *** [R] Error 2

I do not see where I use -dynamic and/or -static.

If I use the IMB linker I got:

with IBM linker (ld):
$ ld -b32 -L/usr/local/lib -o R_X11.so  dataentry.lo devX11.lo rotated.lo
rbitmap.lo  -lSM -lICE -lX11  -ljpeg -lpng -lz
ld: 0711-327 WARNING: Entry point not found: __start
ld: 0711-244 ERROR: No csects or exported symbols have been saved.

Any help are welcome - Is there anybody with the same configuration (AIX
4.3,gcc,xlf95) and has build a working R ?


More information about the R-help mailing list