[R] R 1.9.1 compilation error (on AIX 5.1)

Frankie Cheung ftcheung at hkusua.hku.hk
Mon Jul 19 08:08:25 CEST 2004


Dear Sir,

Still encounter another error message during compilation of R 1.9.1 on
AIX 5.1 (target expall not found):

make[1]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/m4'
make[1]: Nothing to be done for `R'.
make[1]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/m4'
make[1]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/tools'
make[1]: Nothing to be done for `R'.
make[1]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/tools'
make[1]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/afm'
make[1]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/afm'
make[1]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/doc'
make[2]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/doc/html'
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = (unset),
        LC__FASTMSG = "true",
        LANG = "en_US"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
make[3]: Entering directory
`/d1/ftcheung_GoIn/tmp/R-1.9.1/doc/html/search'
make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/doc/html/search'
make[2]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/doc/html'
make[2]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/doc/manual'
make[1]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/doc'
make[1]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/etc'
make[1]: Nothing to be done for `R'.
make[1]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/etc'
make[1]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/share'
make[1]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/share'
make[1]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src'
make[2]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/scripts'
make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/scripts'
make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/scripts'
make[2]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/scripts'
make[2]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/include'
make[3]: Entering directory
`/d1/ftcheung_GoIn/tmp/R-1.9.1/src/include/R_ext'
make[3]: Nothing to be done for `R'.
make[3]: Leaving directory
`/d1/ftcheung_GoIn/tmp/R-1.9.1/src/include/R_ext'
make[2]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/include'
make[2]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/appl'
make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/appl'
make[3]: `Makedeps' is up to date.
make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/appl'
make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/appl'
make[3]: `libappl.a' is up to date.
make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/appl'
make[2]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/appl'
make[2]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/nmath'
make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/nmath'
make[3]: `Makedeps' is up to date.
make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/nmath'
make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/nmath'
make[3]: `libnmath.a' is up to date.
make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/nmath'
make[2]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/nmath'
make[2]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/unix'
make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/unix'
make[3]: `Makedeps' is up to date.
make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/unix'
make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/unix'
make[3]: `libunix.a' is up to date.
make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/unix'
make[2]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/unix'
make[2]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra'
make[3]: Entering directory
`/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/bzip2'
make[4]: Entering directory
`/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/bzip2'
make[4]: `Makedeps' is up to date.
make[4]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/bzip2'
make[4]: Entering directory
`/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/bzip2'
make[4]: `libbz2.a' is up to date.
make[4]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/bzip2'
make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/bzip2'
make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/pcre'
make[4]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/pcre'
make[4]: `Makedeps' is up to date.
make[4]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/pcre'
make[4]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/pcre'
make[4]: `libpcre.a' is up to date.
make[4]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/pcre'
make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/pcre'
make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/zlib'
make[4]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/zlib'
make[4]: `Makedeps' is up to date.
make[4]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/zlib'
make[4]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/zlib'
make[4]: `libz.a' is up to date.
make[4]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/zlib'
make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/zlib'
make[2]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra'
make[2]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/main'
make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/main'
make[3]: `Makedeps' is up to date.
make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/main'
make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/main'
make[3]: `R.bin' is up to date.
make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/main'
make[2]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/main'
make[2]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/modules'
make[3]: Entering directory
`/d1/ftcheung_GoIn/tmp/R-1.9.1/src/modules/internet'

make[4]: Entering directory
`/d1/ftcheung_GoIn/tmp/R-1.9.1/src/modules/internet'

make[4]: `Makedeps' is up to date.
make[4]: Leaving directory
`/d1/ftcheung_GoIn/tmp/R-1.9.1/src/modules/internet'

make[4]: Entering directory
`/d1/ftcheung_GoIn/tmp/R-1.9.1/src/modules/internet'

gcc -Wl,-bM:SRE -Wl,-H512 -Wl,-T512 -Wl,-bnoentry -Wl,-bexpall
-Wl,-bI:../../../
etc/R.exp -L/usr/local/lib -o internet.so  Rsock.lo internet.lo nanoftp.lo
nanoh
ttp.lo sock.lo sockconn.lo 
/usr/local/bin/ld: target expall not found
collect2: ld returned 1 exit status
make[4]: *** [internet.so] Error 1

ake[4]: Leaving directory
`/d1/ftcheung_GoIn/tmp/R-1.9.1/src/modules/internet'

make[3]: *** [R] Error 2
make[3]: Leaving directory
`/d1/ftcheung_GoIn/tmp/R-1.9.1/src/modules/internet'

make[2]: *** [R] Error 1
make[2]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/modules'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src'
make: *** [R] Error 1

Any suggestion?

with regards,
Frankie Cheung 

On Wed, 23 Jun 2004, Liaw, Andy wrote:

> Date: Wed, 23 Jun 2004 11:02:09 -0400
> From: "Liaw, Andy" <andy_liaw at merck.com>
> To: 'Prof Brian Ripley' <ripley at stats.ox.ac.uk>,
     Frankie Cheung <ftcheung at hkusua.hku.hk>
> Cc: R-help at stat.math.ethz.ch
> Subject: RE: [R] R 1.9.1 compilation error (on AIX 5.1)
> 
> > From: Prof Brian Ripley
> > 
> > We do have alpha/beta test periods for new releases of R, so 
> > would anyone 
> > who did test AIX please confirm that they did succeed.  (No 
> > one reported 
> > an error, including yourself: are any AIX users interested in helping 
> > having R available for AIX?)   It is much better to have such reports 
> > during alpha test, or at least beta test.
> 
> I just tried compiling R-1.9.1 as 64-bit on powerpc-ibm-aix5.1.0.0 using
> xlc/xlf.  The compile went fine, and the only part of make check that failed
> was internet.R (since there's no 'Net access from that box).  The GCC on
> that box is probably too outdated to try, unfortunately.
> 
> Best,
> Andy
> 
>  
> > On Wed, 23 Jun 2004, Frankie Cheung wrote:
> > 
> > > Dear Sir/Madam,
> > > 
> > > I encounter some problem duuring compilation of R 1.9.1 on 
> > AIX 5.1, after
> > > running "./configure" then I type "make" to compile:
> > > 
> > > # make
> > > .....
> > > gcc -I../../src/extra/zlib -I../../src/extra/bzip2 
> > -I../../src/extra/pcre
> > > -I. -I../../src/include -I../../src/include -I/usr/local/include
> > > -DHAVE_CONFIG_H -mno-fp-in-toc  -g -O2 -c registration.c -o 
> > registration.o
> > > g77   -g -O2 -c xxxpr.f -o xxxpr.o
> > > gcc -Wl,-bdynamic -Wl,-bE:../../etc/R.exp -Wl,-bM:SRE 
> > -L/usr/local/lib -o
> > > R.bin  CConverters.o Rdynload.o RNG.o apply.o arithmetic.o 
> > apse.o array.o
> > > attrib.o base.o bind.o builtin.o character.o coerce.o 
> > colors.o complex.o
> > > connections.o context.o cov.o cum.o dcf.o datetime.o debug.o devPS.o
> > > devPicTeX.o deparse.o deriv.o devices.o dotcode.o dounzip.o 
> > dstruct.o
> > > duplicate.o engine.o envir.o errors.o eval.o format.o 
> > fourier.o gram.o
> > > gram-ex.o graphics.o identical.o internet.o iosupport.o 
> > lapack.o list.o
> > > logic.o main.o mapply.o match.o memory.o model.o names.o 
> > objects.o optim.o
> > > optimize.o options.o par.o paste.o pcre.o platform.o plot.o plot3d.o
> > > plotmath.o print.o printarray.o printvector.o printutils.o qsort.o
> > > random.o regex.o relop.o saveload.o scan.o seq.o 
> > serialize.o size.o sort.o
> > > source.o split.o sprintf.o subassign.o subscript.o subset.o 
> > summary.o
> > > unique.o util.o version.o vfonts.o registration.o xxxpr.o
> > > ../unix/libunix.a ../appl/libappl.a ../nmath/libnmath.a   
> > -L/usr/local/lib
> > > -L/usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.3
> > > 
> > -L/usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.3/../../..
> > /../powerpc-ibm-aix5.1.0.0/lib
> > > 
> > -L/usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.3/../../..
> >  -lfrtbegin
> > > -lg2c -lm -lgcc_s
> > > /usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.3/libgcc.a -lg
> > > /lib/crt0.o ../extra/zlib/libz.a ../extra/bzip2/libbz2.a
> > > ../extra/pcre/libpcre.a -ldl -lm -lc
> > > /usr/local/bin/ld: target dynamic not found
> > > collect2: ld returned 1 exit status
> > > make[3]: *** [R.bin] Error 1
> > > make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/main'
> > > make[2]: *** [R] Error 2
> > > make[2]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/main'
> > > make[1]: *** [R] Error 1
> > > make[1]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src'
> > > make: *** [R] Error 1
> > > 
> > > I've tried to use AIX xlc compiler and GCC compiler (v2.95 
> > and v3.3.3) but
> > > all of them result to the same error message shown above. 
> > Can anyone give
> > > me some hint of how to solve it?
> > 
> > You appear not to be using the standard loader 
> > (`/usr/local/bin/ld').  
> > Please set MAIN_LDFLAGS (ideally in config.site before 
> > configure, but you
> > can edit Makeconf now) to whatever your loader needs.  If 
> > this is GNU ld
> > then I guess you need -Wl,--export-dynamic.
> > 
> > -- 
> > 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
> > 
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide! 
> > http://www.R-project.org/posting-guide.html
> > 
> > 
> 
> 
> ------------------------------------------------------------------------------
> Notice:  This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu) that may be confidential, proprietary copyrighted and/or legally privileged. It is intended solely for the use of the individual or entity named on this message.  If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system.
> ------------------------------------------------------------------------------
>




More information about the R-help mailing list