[R] Problems compiling R under AIX 4.3
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri Nov 25 14:08:48 CET 2005
On Fri, 25 Nov 2005 hacker-24 at versanet.de wrote:
> Hi,
>
> I have problems compiling R 2.2.0 under AIX 4.3 with GCC and xlf95 (FORTRAN)
> Compilers.
Did you check out the R-admin manual? That suggests you need
SHLIB_LDFLAGS=-Wl,-G
which you do not seem to have. Note also the report there that you cannot
successfully build 2.2.0 under AIX 4.3, and therefore you are advised to
try R-patched.
Probably the R-devel list would be more appropriate for this topic, and it
is essential that you do tell us exactly what you did.
> 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
> /usr/local/lib/gcc/powerpc-ibm-aix4.3.2.0/3.4.3/../../../../powerpc-ibm-aix4.3.2.0/bin/ld:
> -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 ?
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list