Project

General

Profile

Actions

Bug #5680

closed

IPPROTO_GGP undeclared when compiling ext/socket/constants.c

Added by duerst (Martin Dürst) over 12 years ago. Updated over 11 years ago.

Status:
Rejected
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
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0