I'm trying to compile R on AIX 5.3. I've gotten "configure" to work but
"make" generates the following errors:
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.
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.
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
platform.c -o platform.o
In file included from /usr/include/netdb.h:47,
from platform.c:1365:
/usr/include/netinet/in.h:793: error: parse error before
"inet6_rth_space"
/usr/include/netinet/in.h:794: error: parse error before "socklen_t"
/usr/include/netinet/in.h:800: error: parse error before "socklen_t"
/usr/include/netinet/in.h:801: error: parse error before "socklen_t"
/usr/include/netinet/in.h:803: error: parse error before "socklen_t"
/usr/include/netinet/in.h:804: error: parse error before "socklen_t"
/usr/include/netinet/in.h:805: error: parse error before "socklen_t"
/usr/include/netinet/in.h:807: error: parse error before "socklen_t"
/usr/include/netinet/in.h:809: error: parse error before "socklen_t"
In file included from platform.c:1366:
/usr/include/sys/socket.h:374: error: parse error before "socklen_t"
/usr/include/sys/socket.h:378: error: parse error before
"msg_controllen"
/usr/include/sys/socket.h:380: error: parse error before '}' token
/usr/include/sys/socket.h:404: error: parse error before "socklen_t"
/usr/include/sys/socket.h:408: error: parse error before '}' token
/usr/include/sys/socket.h:475: error: parse error before "socklen_t"
/usr/include/sys/socket.h:476: error: parse error before "socklen_t"
/usr/include/sys/socket.h:477: error: parse error before "socklen_t"
/usr/include/sys/socket.h:478: error: parse error before "socklen_t"
/usr/include/sys/socket.h:484: error: parse error before "socklen_t"
/usr/include/sys/socket.h:485: error: parse error before "socklen_t"
/usr/include/sys/socket.h:486: error: parse error before "socklen_t"
/usr/include/sys/socket.h:490: error: parse error before "socklen_t"
/usr/include/sys/socket.h:491: error: parse error before "socklen_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.
Any ideas on what may be preventing make from completing successfully? I
can provide an additional information required.
Thanks!
Matt
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html