Re: Almost succesfull build on AIX

About this list Date view Thread view Subject view Author view Other groups

Subject: Re: Almost succesfull build on AIX
From: Martin Maechler (maechler@stat.math.ethz.ch)
Date: Thu 08 Jul 1999 - 20:36:36 EST


Message-Id: <199907081036.MAA02797@sophie.ethz.ch>

To add to my last E-mail
where I said more-or-less

      ``we need CFLAGS -D_XOPEN_SOURCE_EXTENDED=1

        for finite() and things to work ''

I now have put this into config.site,
but then the compilation breaks when trying to compile
src/unix/sock.c

it seems because of broken combination of header files
   /usr/include/netinet/in_systm.h
   /usr/include/netinet/tcp.h
   /usr/include/netinet/ip.h

Maybe, sock.c {and further files?}
use other CFLAGS explicitly ?

Here the beginning of the long compilation error messages:

 gcc -I. -I../include -I../../src/include -DHAVE_CONFIG_H -g -O2 -D_XOPEN_SOURCE_EXTENDED=1 -c sock.c -o sock.o

 In file included from /usr/include/netinet/ip.h:75,
                  from /usr/include/netinet/tcp.h:72,
                  from sock.c:25:
 /usr/include/netinet/in_systm.h:79: parse error before `n_short'
 /usr/include/netinet/in_systm.h:79: warning: data definition has no type or storage class
 /usr/include/netinet/in_systm.h:80: parse error before `n_long'
 /usr/include/netinet/in_systm.h:80: warning: data definition has no type or storage class
 /usr/include/netinet/in_systm.h:82: parse error before `n_time'
 /usr/include/netinet/in_systm.h:82: warning: data definition has no type or storage class
 In file included from /usr/include/netinet/tcp.h:72,
                  from sock.c:25:
 /usr/include/netinet/ip.h:104: parse error before `u_long'
 /usr/include/netinet/ip.h:104: warning: no semicolon at end of struct or union
 /usr/include/netinet/ip.h:104: warning: no semicolon at end of struct or union
 /usr/include/netinet/ip.h:114: parse error before `ip_xhl'
 /usr/include/netinet/ip.h:114: warning: no semicolon at end of struct or union
 /usr/include/netinet/ip.h:119: warning: data definition has no type or storage class
 /usr/include/netinet/ip.h:120: parse error before `}'
 /usr/include/netinet/ip.h:120: warning: data definition has no type or storage class
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:05 EST