[Rd] Error compiling R on RS6000 (PR#475)

pgutwin@us.ibm.com pgutwin@us.ibm.com
Tue, 7 Mar 2000 16:36:01 +0100 (MET)


Full_Name: Paul Gutwin
Version: R-1.0.0
OS: AIX 4.2.1
Submission from: (NULL) (198.133.22.67)


R-1.0.0 fails to compile. I'm using the config.cache file from a successful
compliation of R-0.65.0 (prob #290, fixed thanks to Thomas Vogels @ CMU). 
Compiling R-1.0.0 fails with the following error messages:

make
Target "R" is up to date.
	gcc -I. -I../include -I../../src/include -I../../src/include/R_ext 
-DHAVE_CONFIG_H -mno-fp-in-toc -g -O2 -c Rsock.c -o Rsock.o
In file included from Rsock.c:34:
/usr/include/unistd.h:162: parse error before `lseek64'
/usr/include/unistd.h:162: parse error before `off64_t'
/usr/include/unistd.h:162: warning: data definition has no type or storage
class
In file included from /usr/include/sys/lockf.h:41,
                 from /usr/include/unistd.h:382,
                 from Rsock.c:34:
/usr/include/sys/stat.h:127: parse error before `soff_t'
/usr/include/sys/stat.h:127: warning: no semicolon at end of struct or union
/usr/include/sys/stat.h:146: parse error before `st_size'
/usr/include/sys/stat.h:146: warning: data definition has no type or storage
class
In file included from /usr/include/unistd.h:382,
                 from Rsock.c:34:
/usr/include/sys/lockf.h:60: parse error before `off64_t'
In file included from Rsock.c:34:
/usr/include/unistd.h:417: parse error before `off64_t'
/usr/include/unistd.h:438: parse error before `off64_t'
/usr/include/unistd.h:440: parse error before `ualarm'
/usr/include/unistd.h:440: warning: parameter names (without types) in function
declaration
/usr/include/unistd.h:440: warning: data definition has no type or storage
class
/usr/include/unistd.h:441: warning: parameter names (without types) in function
declaration
/usr/include/unistd.h:474: parse error before `fclear64'
/usr/include/unistd.h:474: parse error before `off64_t'
/usr/include/unistd.h:474: warning: data definition has no type or storage
class
/usr/include/unistd.h:475: parse error before `off64_t'
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.

Compilation exited abnormally with code 2 at Tue Mar  7 10:15:58


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._