Project

General

Profile

Bug #5680

IPPROTO_GGP undeclared when compiling ext/socket/constants.c

Added by duerst (Martin Dürst) almost 8 years ago. Updated almost 7 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-cygwin]
Backport:
[ruby-core:41359]

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

constdefs.c (218 KB) constdefs.c autogenerated ext/socket/constdefs.c duerst (Martin Dürst), 11/28/2011 08:09 PM

History

Updated by ko1 (Koichi Sasada) over 7 years ago

  • Assignee set to eban (Hirofumi WATANABE)
#2

Updated by shyouhei (Shyouhei Urabe) over 7 years ago

  • Status changed from Open to Assigned

Updated by mame (Yusuke Endoh) over 7 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) almost 7 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

Also available in: Atom PDF