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
Updated by ko1 (Koichi Sasada) about 12 years ago
- Assignee set to eban (Hirofumi WATANABE)
Updated by shyouhei (Shyouhei Urabe) about 12 years ago
- Status changed from Open to Assigned
Updated by mame (Yusuke Endoh) about 12 years ago
- Status changed from Assigned to Feedback
- Assignee deleted (
eban (Hirofumi WATANABE))
Cygwin is not supported currently. A patch is welcome.
--
Yusuke Endoh mame@tsg.ne.jp
Updated by mame (Yusuke Endoh) over 11 years ago
- Status changed from Feedback to Rejected
No feedback, closing.
Please open a new ticket if anyone creates a patch.
--
Yusuke Endoh mame@tsg.ne.jp