From ripley at stats.ox.ac.uk  Fri Jun  2 12:47:42 2006
From: ripley at stats.ox.ac.uk (ripley at stats.ox.ac.uk)
Date: Fri,  2 Jun 2006 12:47:42 +0200 (CEST)
Subject: [Rd] Installation R-2.3.1 on IBM AIX5.3 (PR#8931)
Message-ID: <20060602104742.C6F0C3F5C9@slim.kubism.ku.dk>

On Fri, 2 Jun 2006, tabelow at wias-berlin.de wrote:

> Full_Name: Karsten Tabelow
> Version: R-2.3.1
> OS: AIX5.3
> Submission from: (NULL) (62.141.176.2)
>
>
> Specification in config.site:
>
> CC=xlc_r
> CFLAGS='-O -qstrict'
> F77=xlf_r
> FFLAGS='-O -qstrict'
> SHLIB_LDFLAGS='-G'
> DYLIB_LDFLAGS='-G'
> LDFLAGS='-brtl'
> CXX=xlc++_r
> CXXFLAGS='-O -qstrict'
>
> Complilation error in src/main/printutils.c:
> "printutils.c", line 582.7: 1506-1352 (S) "va_start" may not appear in a
> function without a variable argument list.
> "printutils.c", line 591.5: 1506-277 (S) Syntax error: possible missing
> ';' or ','?
>
> Solution:
> add variable argument list in Rvprintf(const char *format, va_list arg, ...)
> add ';' in line 591

There is already a ; on line 591 (looks like the error is on line 589)! 
Can you please supply a copy of what you actually used?

It seems your compiler is not at all recent and lacks C99 features. 
Please specify more precisely which compiler this is.  (It looks like no 
beta-tester of 2.3.0 found such a compiler, but gcc has been used 
successfully on AIX 5.3.)

> @echo "tools:::makeLazyLoading(\"$(pkg)\")" | \
> R_DEFAULT_PACKAGES=NULL LC_COLLATE=C $(R_EXE) --slave > /dev/null
>
> in Makefiles of various packages leads to:
>
> *** caught illegal operation ***
> address 10000000, cause 'illegal opcode'

That suggests a compiler error, and there is nothing reproducible.

-- 
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



[Rd] Installation R-2.3.1 on IBM AIX5.3 (PR#8931)
ripley at stats.ox.ac.uk