Project

General

Profile

Actions

Bug #11342

closed

ruby 2.2.2 will not compile on Solaris 11.2 32 or 64 bit

Added by aderium (Anthony Palermo) over 8 years ago. Updated over 4 years ago.

Status:
Closed
Target version:
-
[ruby-core:69921]

Description

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) bug-11342.log nobu (Nobuyoshi Nakada), 07/09/2015 11:35 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0