Bug #5680
closedIPPROTO_GGP undeclared when compiling ext/socket/constants.c
Description
On Cygwin, with an unmodified checkout of trunk, I get an error when compiling ext/socket/constants.c, as below.
I'm attaching the constdefs.c file, because this seems relevant, and is autogenerated.
make[2]: Entering directory /cygdrive/c/Data/ruby-public/ext/socket' compiling constants.c In file included from constants.c:15:0: constdefs.c: In function ‘init_constants’: constdefs.c:747:48: error: ‘IPPROTO_GGP’ undeclared (first use in this function) constdefs.c:747:48: note: each undeclared identifier is reported only once for each function it appears in In file included from constants.c:15:0: constdefs.c: In function ‘rsock_ipproto_to_int’: constdefs.c:4202:51: error: ‘IPPROTO_GGP’ undeclared (first use in this function) constdefs.c: In function ‘rsock_ip_level_to_int’: constdefs.c:4432:51: error: ‘IPPROTO_GGP’ undeclared (first use in this function) make[2]: *** [constants.o] Error 1 make[2]: Leaving directory
/cygdrive/c/Data/ruby-public/ext/socket'
make[1]: *** [ext/socket/all] Error 2
make[1]: Leaving directory `/cygdrive/c/Data/ruby-public'
make: *** [build-ext] Error 2
Files