From tabelow at wias-berlin.de  Fri Jun  2 12:23:41 2006
From: tabelow at wias-berlin.de (tabelow at wias-berlin.de)
Date: Fri,  2 Jun 2006 12:23:41 +0200 (CEST)
Subject: [Rd] Installation R-2.3.1 on IBM AIX5.3 (PR#8931)
Message-ID: <20060602102341.E87BA3F75C@slim.kubism.ku.dk>

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




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



With best regards,

Karsten Tabelow



[Rd] Installation R-2.3.1 on IBM AIX5.3 (PR#8931)
tabelow at wias-berlin.de