From: naruse@... Date: 2017-07-10T08:14:00+00:00 Subject: [ruby-core:81992] [Ruby trunk Bug#11342] ruby 2.2.2 will not compile on Solaris 11.2 32 or 64 bit Issue #11342 has been updated by naruse (Yui NARUSE). Assignee set to takano32 (Mitsuhiro TAKANO) ---------------------------------------- Bug #11342: ruby 2.2.2 will not compile on Solaris 11.2 32 or 64 bit https://bugs.ruby-lang.org/issues/11342#change-65723 * Author: aderium (Anthony Palermo) * Status: Feedback * Priority: Normal * Assignee: takano32 (Mitsuhiro TAKANO) * Target version: * ruby -v: * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: REQUIRED ---------------------------------------- ~~~ make & sudo make install [1] 23519 Password: ~~~ (snip) ~~~ option.c:886:33: error: expected declaration specifiers or ���...��� before ���u_int8_t��� option.c: In function ���inspect_tcpi_options���: option.c:898:5: error: ���options��� undeclared (first use in this function) option.c:898:5: note: each undeclared identifier is reported only once for each function it appears in option.c:898:5: error: ���u_int8_t��� undeclared (first use in this function) option.c: At top level: option.c:926:50: error: expected declaration specifiers or ���...��� before ���u_int32_t��� option.c: In function ���inspect_tcpi_usec���: option.c:928:44: error: ���t��� undeclared (first use in this function) option.c: In function ���inspect_tcp_info���: option.c:1003:16: error: ���TCP_CA_Open��� undeclared (first use in this function) option.c:1004:16: error: ���TCP_CA_Disorder��� undeclared (first use in this function) option.c:1005:16: error: ���TCP_CA_CWR��� undeclared (first use in this function) option.c:1006:16: error: ���TCP_CA_Recovery��� undeclared (first use in this function) option.c:1007:16: error: ���TCP_CA_Loss��� undeclared (first use in this function) option.c:1021:9: error: too many arguments to function ���inspect_tcpi_options��� option.c:886:1: note: declared here option.c:1030:9: error: too many arguments to function ���inspect_tcpi_usec��� option.c:926:1: note: declared here option.c:1033:9: error: too many arguments to function ���inspect_tcpi_usec��� option.c:926:1: note: declared here option.c:1075:2: error: too many arguments to function ���inspect_tcpi_usec��� option.c:926:1: note: declared here option.c:1078:2: error: too many arguments to function ���inspect_tcpi_usec��� option.c:926:1: note: declared here option.c:1093:9: error: too many arguments to function ���inspect_tcpi_usec��� option.c:926:1: note: declared here make[2]: *** [option.o] Error 1 make[2]: Leaving directory `/export/home/dolly/ruby-2.2.2/ext/socket' make[1]: *** [ext/socket/all] Error 2 make[1]: Leaving directory `/export/home/dolly/ruby-2.2.2' make: *** [build-ext] Error 2 ~~~ ---Files-------------------------------- bug-11342.log (30.4 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: