[R] Compiling R on aix getting error

Tiong Lim t.lim at auckland.ac.nz
Tue Feb 28 06:10:03 CET 2006


I am trying to compile R 2.2.1 on aix 5.3 with xlc/xlC 7.0 , but i am 
getting the error below. I did a search on the archive and someone had a 
similar error as me but I can't seem to find a fix for the error below.

Target "R" is up to date.
Target "R" is up to date.
Target "R" is up to date.
Target "R" is up to date.
Target "Makedeps" is up to date.
Target "libbz2.a" is up to date.
Target "Makedeps" is up to date.
Target "libpcre.a" is up to date.
Target "Makedeps" is up to date.
Target "libz.a" is up to date.
../../../src/include/libintl.h is unchanged
../../../include/libintl.h is unchanged
Target "localecharset.h" is up to date.
Target "Makedeps" is up to date.
Target "libintl.a" is up to date.
Target "R" is up to date.
Target "Makedeps" is up to date.
Target "libappl.a" is up to date.
Target "Makedeps" is up to date.
Target "libnmath.a" is up to date.
Target "Makedeps" is up to date.
Target "libunix.a" is up to date.
Target "Makedeps" is up to date.
        xlc  -I../../src/extra/zlib -I../../src/extra/bzip2 
-I../../src/extra/pcre   -I. -I../../src/include -I../../src/include  
-DHAVE_CONFIG_H   -O -qstrict  -c platform.c -o platform.o
"/usr/include/netinet/in.h", line 793.1: 1506-166 (S) Definition of 
function socklen_t requires parentheses.
"/usr/include/netinet/in.h", line 793.17: 1506-276 (S) Syntax error: 
possible missing '{'?
"/usr/include/sys/socket.h", line 374.9: 1506-046 (S) Syntax error.
"/usr/include/sys/socket.h", line 378.9: 1506-046 (S) Syntax error.
"/usr/include/sys/socket.h", line 404.9: 1506-046 (S) Syntax error.
"/usr/include/sys/socket.h", line 475.52: 1506-046 (S) Syntax error.
"/usr/include/sys/socket.h", line 476.57: 1506-046 (S) Syntax error.
"/usr/include/sys/socket.h", line 477.57: 1506-046 (S) Syntax error.
"/usr/include/sys/socket.h", line 478.87: 1506-046 (S) Syntax error.
"/usr/include/sys/socket.h", line 484.44: 1506-275 (S) Unexpected text 
socklen_t encountered.
"/usr/include/sys/socket.h", line 485.47: 1506-275 (S) Unexpected text 
socklen_t encountered.
"/usr/include/sys/socket.h", line 486.55: 1506-046 (S) Syntax error.
"/usr/include/sys/socket.h", line 490.73: 1506-275 (S) Unexpected text 
socklen_t encountered.
"/usr/include/sys/socket.h", line 491.49: 1506-275 (S) Unexpected text 
socklen_t encountered.
"platform.c", line 1386.13: 1506-285 (S) The indirection operator cannot 
be applied to a pointer to an incomplete struct or union.
"platform.c", line 1388.34: 1506-285 (S) The indirection operator cannot 
be applied to a pointer to an incomplete struct or union.
make: The error code from the last command is 1.


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


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


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


Stop.

thanks
Tiong




More information about the R-help mailing list