HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/src/ruby-3.0.2/ext/socket/mkmf.log
have_header: checking for sys/uio.h... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main(int argc, char **argv)
4: {
5:   return !!argv[argc];
6: }
/* end */

"gcc -E -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <sys/types.h>
4: #include <netdb.h>
5: #include <string.h>
6: #include <sys/socket.h>
7: #include <netinet/in.h>
8: #include <sys/uio.h>
/* end */

--------------------

have_header: checking for xti.h... -------------------- no

"gcc -E -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  conftest.c -o conftest.i"
conftest.c:9:10: fatal error: xti.h: No such file or directory
 #include <xti.h>
          ^~~~~~~
compilation terminated.
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <sys/types.h>
4: #include <netdb.h>
5: #include <string.h>
6: #include <sys/socket.h>
7: #include <netinet/in.h>
8: #include <sys/uio.h>
9: #include <xti.h>
/* end */

--------------------

have_header: checking for netinet/in_systm.h... -------------------- yes

"gcc -E -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <sys/types.h>
4: #include <netdb.h>
5: #include <string.h>
6: #include <sys/socket.h>
7: #include <netinet/in.h>
8: #include <sys/uio.h>
9: #include <netinet/in_systm.h>
/* end */

--------------------

have_header: checking for netinet/tcp.h... -------------------- yes

"gcc -E -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
/* end */

--------------------

have_header: checking for netinet/tcp_fsm.h... -------------------- no

"gcc -E -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  conftest.c -o conftest.i"
conftest.c:11:10: fatal error: netinet/tcp_fsm.h: No such file or directory
 #include <netinet/tcp_fsm.h>
          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/tcp_fsm.h>
/* end */

--------------------

have_header: checking for netinet/udp.h... -------------------- yes

"gcc -E -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
/* end */

--------------------

have_header: checking for arpa/inet.h... -------------------- yes

"gcc -E -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
/* end */

--------------------

have_header: checking for netpacket/packet.h... -------------------- yes

"gcc -E -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
/* end */

--------------------

have_header: checking for net/ethernet.h... -------------------- yes

"gcc -E -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
/* end */

--------------------

have_header: checking for sys/un.h... -------------------- yes

"gcc -E -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
/* end */

--------------------

have_header: checking for ifaddrs.h... -------------------- yes

"gcc -E -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
/* end */

--------------------

have_header: checking for sys/ioctl.h... -------------------- yes

"gcc -E -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
/* end */

--------------------

have_header: checking for sys/sockio.h... -------------------- no

"gcc -E -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  conftest.c -o conftest.i"
conftest.c:18:10: fatal error: sys/sockio.h: No such file or directory
 #include <sys/sockio.h>
          ^~~~~~~~~~~~~~
compilation terminated.
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <sys/sockio.h>
/* end */

--------------------

have_header: checking for net/if.h... -------------------- yes

"gcc -E -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
/* end */

--------------------

have_header: checking for sys/param.h... -------------------- yes

"gcc -E -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
/* end */

--------------------

have_header: checking for sys/ucred.h... -------------------- no

"gcc -E -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  conftest.c -o conftest.i"
conftest.c:20:10: fatal error: sys/ucred.h: No such file or directory
 #include <sys/ucred.h>
          ^~~~~~~~~~~~~
compilation terminated.
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <sys/ucred.h>
/* end */

--------------------

have_header: checking for ucred.h... -------------------- no

"gcc -E -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  conftest.c -o conftest.i"
conftest.c:20:10: fatal error: ucred.h: No such file or directory
 #include <ucred.h>
          ^~~~~~~~~
compilation terminated.
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <ucred.h>
/* end */

--------------------

have_header: checking for net/if_dl.h... -------------------- no

"gcc -E -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  conftest.c -o conftest.i"
conftest.c:20:10: fatal error: net/if_dl.h: No such file or directory
 #include <net/if_dl.h>
          ^~~~~~~~~~~~~
compilation terminated.
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <net/if_dl.h>
/* end */

--------------------

have_header: checking for arpa/nameser.h... -------------------- yes

"gcc -E -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
/* end */

--------------------

have_header: checking for resolv.h... -------------------- yes

"gcc -E -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
/* end */

--------------------

have_struct_member: checking for struct sockaddr.sa_len in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:24:39: error: ‘struct sockaddr’ has no member named ‘sa_len’
 int s = (char *)&((struct sockaddr*)0)->sa_len - (char *)0;
                                       ^~
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct sockaddr*)0)->sa_len - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct sockaddr_in.sin_len in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:24:44: error: ‘struct sockaddr_in’ has no member named ‘sin_len’; did you mean ‘sin_zero’?
 int s = (char *)&((struct sockaddr_in*)0)->sin_len - (char *)0;
                                            ^~~~~~~
                                            sin_zero
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct sockaddr_in*)0)->sin_len - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct sockaddr_in6.sin6_len in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:24:45: error: ‘struct sockaddr_in6’ has no member named ‘sin6_len’; did you mean ‘sin6_port’?
 int s = (char *)&((struct sockaddr_in6*)0)->sin6_len - (char *)0;
                                             ^~~~~~~~
                                             sin6_port
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct sockaddr_in6*)0)->sin6_len - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_type: checking for struct sockaddr_un in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef struct sockaddr_un conftest_type;
25: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

--------------------

have_struct_member: checking for struct sockaddr_un.sun_len in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:24:44: error: ‘struct sockaddr_un’ has no member named ‘sun_len’; did you mean ‘sun_path’?
 int s = (char *)&((struct sockaddr_un*)0)->sun_len - (char *)0;
                                            ^~~~~~~
                                            sun_path
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct sockaddr_un*)0)->sun_len - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_type: checking for struct sockaddr_dl in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:25:24: error: invalid application of ‘sizeof’ to incomplete type ‘conftest_type’ {aka ‘struct sockaddr_dl’}
 int conftestval[sizeof(conftest_type)?1:-1];
                        ^~~~~~~~~~~~~
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef struct sockaddr_dl conftest_type;
25: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

--------------------

have_type: checking for struct sockaddr_storage in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef struct sockaddr_storage conftest_type;
25: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

--------------------

have_type: checking for struct addrinfo in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef struct addrinfo conftest_type;
25: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

--------------------

have_type: checking for socklen_t in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef socklen_t conftest_type;
25: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

--------------------

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:24:5: error: size of array ‘conftest_const’ is negative
 int conftest_const[(sizeof(socklen_t) >= sizeof(long)) ? 1 : -1];
     ^~~~~~~~~~~~~~
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int conftest_const[(sizeof(socklen_t) >= sizeof(long)) ? 1 : -1];
/* end */

have_type: checking for struct in_pktinfo in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: #if defined(IPPROTO_IP) && defined(IP_PKTINFO)
25: typedef struct in_pktinfo conftest_type;
26: int conftestval[sizeof(conftest_type)?1:-1];
27: #else
28: #error
29: >>>>>> no in_pktinfo <<<<<<
30: #endif
/* end */

--------------------

have_struct_member: checking for struct in_pktinfo.ipi_spec_dst in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct in_pktinfo*)0)->ipi_spec_dst - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_type: checking for struct in6_pktinfo in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: #if defined(IPPROTO_IPV6) && defined(IPV6_PKTINFO)
25: typedef struct in6_pktinfo conftest_type;
26: int conftestval[sizeof(conftest_type)?1:-1];
27: #else
28: #error
29: >>>>>> no in6_pktinfo <<<<<<
30: #endif
/* end */

--------------------

have_type: checking for struct sockcred in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:25:24: error: invalid application of ‘sizeof’ to incomplete type ‘conftest_type’ {aka ‘struct sockcred’}
 int conftestval[sizeof(conftest_type)?1:-1];
                        ^~~~~~~~~~~~~
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef struct sockcred conftest_type;
25: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

--------------------

have_type: checking for struct cmsgcred in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:25:24: error: invalid application of ‘sizeof’ to incomplete type ‘conftest_type’ {aka ‘struct cmsgcred’}
 int conftestval[sizeof(conftest_type)?1:-1];
                        ^~~~~~~~~~~~~
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef struct cmsgcred conftest_type;
25: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

--------------------

have_type: checking for struct ip_mreq in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef struct ip_mreq conftest_type;
25: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

--------------------

have_type: checking for struct ip_mreqn in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef struct ip_mreqn conftest_type;
25: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

--------------------

have_type: checking for struct ipv6_mreq in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef struct ipv6_mreq conftest_type;
25: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

--------------------

have_struct_member: checking for struct msghdr.msg_control in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct msghdr*)0)->msg_control - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct msghdr.msg_accrights in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:24:37: error: ‘struct msghdr’ has no member named ‘msg_accrights’
 int s = (char *)&((struct msghdr*)0)->msg_accrights - (char *)0;
                                     ^~
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct msghdr*)0)->msg_accrights - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_type: checking for struct tcp_info in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef struct tcp_info conftest_type;
25: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

--------------------

have_const: checking for TCP_ESTABLISHED in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef int conftest_type;
25: conftest_type conftestval = (int)TCP_ESTABLISHED;
/* end */

--------------------

have_const: checking for TCP_SYN_SENT in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef int conftest_type;
25: conftest_type conftestval = (int)TCP_SYN_SENT;
/* end */

--------------------

have_const: checking for TCP_SYN_RECV in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef int conftest_type;
25: conftest_type conftestval = (int)TCP_SYN_RECV;
/* end */

--------------------

have_const: checking for TCP_FIN_WAIT1 in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef int conftest_type;
25: conftest_type conftestval = (int)TCP_FIN_WAIT1;
/* end */

--------------------

have_const: checking for TCP_FIN_WAIT2 in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef int conftest_type;
25: conftest_type conftestval = (int)TCP_FIN_WAIT2;
/* end */

--------------------

have_const: checking for TCP_TIME_WAIT in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef int conftest_type;
25: conftest_type conftestval = (int)TCP_TIME_WAIT;
/* end */

--------------------

have_const: checking for TCP_CLOSE in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef int conftest_type;
25: conftest_type conftestval = (int)TCP_CLOSE;
/* end */

--------------------

have_const: checking for TCP_CLOSE_WAIT in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef int conftest_type;
25: conftest_type conftestval = (int)TCP_CLOSE_WAIT;
/* end */

--------------------

have_const: checking for TCP_LAST_ACK in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef int conftest_type;
25: conftest_type conftestval = (int)TCP_LAST_ACK;
/* end */

--------------------

have_const: checking for TCP_LISTEN in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef int conftest_type;
25: conftest_type conftestval = (int)TCP_LISTEN;
/* end */

--------------------

have_const: checking for TCP_CLOSING in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef int conftest_type;
25: conftest_type conftestval = (int)TCP_CLOSING;
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_state in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_state - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_ca_state in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_ca_state - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_retransmits in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_retransmits - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_probes in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_probes - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_backoff in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_backoff - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_options in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_options - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_snd_wscale in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:24:17: error: cannot take address of bit-field ‘tcpi_snd_wscale’
 int s = (char *)&((struct tcp_info*)0)->tcpi_snd_wscale - (char *)0;
                 ^
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_snd_wscale - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_rcv_wscale in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:24:17: error: cannot take address of bit-field ‘tcpi_rcv_wscale’
 int s = (char *)&((struct tcp_info*)0)->tcpi_rcv_wscale - (char *)0;
                 ^
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_rcv_wscale - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_rto in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_rto - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_ato in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_ato - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_snd_mss in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_snd_mss - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_rcv_mss in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_rcv_mss - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_unacked in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_unacked - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_sacked in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_sacked - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_lost in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_lost - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_retrans in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_retrans - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_fackets in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_fackets - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_last_data_sent in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_last_data_sent - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_last_ack_sent in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_last_ack_sent - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_last_data_recv in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_last_data_recv - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_last_ack_recv in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_last_ack_recv - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_pmtu in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_pmtu - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_rcv_ssthresh in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_rcv_ssthresh - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_rtt in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_rtt - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_rttvar in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_rttvar - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_snd_ssthresh in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_snd_ssthresh - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_snd_cwnd in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_snd_cwnd - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_advmss in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_advmss - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_reordering in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_reordering - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_rcv_rtt in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_rcv_rtt - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_rcv_space in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_rcv_space - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_total_retrans in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_total_retrans - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_snd_wnd in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:24:41: error: ‘struct tcp_info’ has no member named ‘tcpi_snd_wnd’; did you mean ‘tcpi_snd_cwnd’?
 int s = (char *)&((struct tcp_info*)0)->tcpi_snd_wnd - (char *)0;
                                         ^~~~~~~~~~~~
                                         tcpi_snd_cwnd
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_snd_wnd - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_snd_bwnd in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:24:41: error: ‘struct tcp_info’ has no member named ‘tcpi_snd_bwnd’; did you mean ‘tcpi_snd_cwnd’?
 int s = (char *)&((struct tcp_info*)0)->tcpi_snd_bwnd - (char *)0;
                                         ^~~~~~~~~~~~~
                                         tcpi_snd_cwnd
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_snd_bwnd - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_snd_nxt in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:24:41: error: ‘struct tcp_info’ has no member named ‘tcpi_snd_nxt’; did you mean ‘tcpi_snd_mss’?
 int s = (char *)&((struct tcp_info*)0)->tcpi_snd_nxt - (char *)0;
                                         ^~~~~~~~~~~~
                                         tcpi_snd_mss
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_snd_nxt - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_rcv_nxt in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:24:41: error: ‘struct tcp_info’ has no member named ‘tcpi_rcv_nxt’; did you mean ‘tcpi_rcv_rtt’?
 int s = (char *)&((struct tcp_info*)0)->tcpi_rcv_nxt - (char *)0;
                                         ^~~~~~~~~~~~
                                         tcpi_rcv_rtt
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_rcv_nxt - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_toe_tid in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:24:41: error: ‘struct tcp_info’ has no member named ‘tcpi_toe_tid’; did you mean ‘tcpi_lost’?
 int s = (char *)&((struct tcp_info*)0)->tcpi_toe_tid - (char *)0;
                                         ^~~~~~~~~~~~
                                         tcpi_lost
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_toe_tid - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_snd_rexmitpack in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:24:41: error: ‘struct tcp_info’ has no member named ‘tcpi_snd_rexmitpack’; did you mean ‘tcpi_snd_wscale’?
 int s = (char *)&((struct tcp_info*)0)->tcpi_snd_rexmitpack - (char *)0;
                                         ^~~~~~~~~~~~~~~~~~~
                                         tcpi_snd_wscale
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_snd_rexmitpack - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_rcv_ooopack in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:24:41: error: ‘struct tcp_info’ has no member named ‘tcpi_rcv_ooopack’; did you mean ‘tcpi_rcv_space’?
 int s = (char *)&((struct tcp_info*)0)->tcpi_rcv_ooopack - (char *)0;
                                         ^~~~~~~~~~~~~~~~
                                         tcpi_rcv_space
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_rcv_ooopack - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_struct_member: checking for struct tcp_info.tcpi_snd_zerowin in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:24:41: error: ‘struct tcp_info’ has no member named ‘tcpi_snd_zerowin’; did you mean ‘tcpi_snd_cwnd’?
 int s = (char *)&((struct tcp_info*)0)->tcpi_snd_zerowin - (char *)0;
                                         ^~~~~~~~~~~~~~~~
                                         tcpi_snd_cwnd
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct tcp_info*)0)->tcpi_snd_zerowin - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_library: checking for t_open("", 0, (struct t_info *)NULL) in -lnsl... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -lnsl  -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:35:15: warning: implicit declaration of function ‘t_open’; did you mean ‘popen’? [-Wimplicit-function-declaration]
 int t(void) { t_open("", 0, (struct t_info *)NULL); return 0; }
               ^~~~~~
               popen
conftest.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
/usr/bin/ld: cannot find -lnsl
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: 
35: int t(void) { t_open("", 0, (struct t_info *)NULL); return 0; }
/* end */

--------------------

have_library: checking for socket(0,0,0) in -lsocket... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -lsocket  -lm   -lc"
/usr/bin/ld: cannot find -lsocket
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: 
35: int t(void) { socket(0,0,0); return 0; }
/* end */

--------------------

have_func: checking for socket(0,0,0) in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: 
35: int t(void) { socket(0,0,0); return 0; }
/* end */

--------------------

have_func: checking for sendmsg(0, (struct msghdr *)NULL, 0) in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: 
35: int t(void) { sendmsg(0, (struct msghdr *)NULL, 0); return 0; }
/* end */

--------------------

have_func: checking for recvmsg(0, (struct msghdr *)NULL, 0) in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: 
35: int t(void) { recvmsg(0, (struct msghdr *)NULL, 0); return 0; }
/* end */

--------------------

have_func: checking for freehostent((struct hostent *)NULL) in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:35:15: warning: implicit declaration of function ‘freehostent’; did you mean ‘gethostent’? [-Wimplicit-function-declaration]
 int t(void) { freehostent((struct hostent *)NULL); return 0; }
               ^~~~~~~~~~~
               gethostent
conftest.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
/tmp/ccKrA95B.o: In function `t':
/usr/local/rvm/src/ruby-3.0.2/ext/socket/conftest.c:35: undefined reference to `freehostent'
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: 
35: int t(void) { freehostent((struct hostent *)NULL); return 0; }
/* end */

--------------------

have_func: checking for freeaddrinfo((struct addrinfo *)NULL) in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: 
35: int t(void) { freeaddrinfo((struct addrinfo *)NULL); return 0; }
/* end */

--------------------

have_func: checking for gai_strerror(0) in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: 
35: int t(void) { gai_strerror(0); return 0; }
/* end */

--------------------

checking for gai_strerror() returns const pointer... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c: In function ‘conftest_gai_strerror_is_const’:
conftest.c:27:22: error: assignment of read-only location ‘*gai_strerror(0)’
     *gai_strerror(0) = 0;
                      ^
conftest.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: #include <stdlib.h>
24: void
25: conftest_gai_strerror_is_const()
26: {
27:     *gai_strerror(0) = 0;
28: }
/* end */

--------------------

have_func: checking for accept4() in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: int t(void) { void ((*volatile p)()); p = (void ((*)()))accept4; return !p; }
/* end */

--------------------

have_func: checking for inet_ntop(0, (const void *)0, (char *)0, 0) in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: 
35: int t(void) { inet_ntop(0, (const void *)0, (char *)0, 0); return 0; }
/* end */

--------------------

have_func: checking for inet_pton(0, "", (void *)0) in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: 
35: int t(void) { inet_pton(0, "", (void *)0); return 0; }
/* end */

--------------------

have_func: checking for getservbyport(0, "") in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: 
35: int t(void) { getservbyport(0, ""); return 0; }
/* end */

--------------------

have_func: checking for getifaddrs((struct ifaddrs **)NULL) in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: 
35: int t(void) { getifaddrs((struct ifaddrs **)NULL); return 0; }
/* end */

--------------------

have_struct_member: checking for struct if_data.ifi_vhid in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:24:38: error: dereferencing pointer to incomplete type ‘struct if_data’
 int s = (char *)&((struct if_data*)0)->ifi_vhid - (char *)0;
                                      ^~
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: int s = (char *)&((struct if_data*)0)->ifi_vhid - (char *)0;
25: int main(int argc, char **argv)
26: {
27:   return !!argv[argc];
28: }
/* end */

--------------------

have_func: checking for getpeereid() in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:34:57: error: ‘getpeereid’ undeclared (first use in this function); did you mean ‘getpeername’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))getpeereid; return !p; }
                                                         ^~~~~~~~~~
                                                         getpeername
conftest.c:34:57: note: each undeclared identifier is reported only once for each function it appears in
conftest.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: int t(void) { void ((*volatile p)()); p = (void ((*)()))getpeereid; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
/tmp/cc5u67yP.o: In function `t':
/usr/local/rvm/src/ruby-3.0.2/ext/socket/conftest.c:35: undefined reference to `getpeereid'
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: extern void getpeereid();
35: int t(void) { getpeereid(); return 0; }
/* end */

--------------------

have_func: checking for getpeerucred(0, (ucred_t **)NULL) in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:35:15: warning: implicit declaration of function ‘getpeerucred’; did you mean ‘getpeername’? [-Wimplicit-function-declaration]
 int t(void) { getpeerucred(0, (ucred_t **)NULL); return 0; }
               ^~~~~~~~~~~~
               getpeername
conftest.c:35:32: error: ‘ucred_t’ undeclared (first use in this function); did you mean ‘ucred’?
 int t(void) { getpeerucred(0, (ucred_t **)NULL); return 0; }
                                ^~~~~~~
                                ucred
conftest.c:35:32: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:35:42: error: expected expression before ‘)’ token
 int t(void) { getpeerucred(0, (ucred_t **)NULL); return 0; }
                                          ^
conftest.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: 
35: int t(void) { getpeerucred(0, (ucred_t **)NULL); return 0; }
/* end */

--------------------

have_func: checking for if_indextoname(0, "") in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:35:33: warning: passing argument 2 of ‘if_indextoname’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 int t(void) { if_indextoname(0, ""); return 0; }
                                 ^~
In file included from conftest.c:18:
/usr/include/net/if.h:194:14: note: expected ‘char *’ but argument is of type ‘const char *’
 extern char *if_indextoname (unsigned int __ifindex, char *__ifname) __THROW;
              ^~~~~~~~~~~~~~
conftest.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: 
35: int t(void) { if_indextoname(0, ""); return 0; }
/* end */

--------------------

block in <top (required)>: checking for declaration of if_indextoname()... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int if_indextoname(void);
/* end */

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: void if_indextoname(void);
/* end */

--------------------

have_func: checking for if_nametoindex("") in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: 
35: int t(void) { if_nametoindex(""); return 0; }
/* end */

--------------------

block in <top (required)>: checking for declaration of if_nametoindex()... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int if_nametoindex(void);
/* end */

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: void if_nametoindex(void);
/* end */

--------------------

have_func: checking for hsterror() in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:34:57: error: ‘hsterror’ undeclared (first use in this function); did you mean ‘hstrerror’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))hsterror; return !p; }
                                                         ^~~~~~~~
                                                         hstrerror
conftest.c:34:57: note: each undeclared identifier is reported only once for each function it appears in
conftest.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: int t(void) { void ((*volatile p)()); p = (void ((*)()))hsterror; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
/tmp/ccuo6ZGH.o: In function `t':
/usr/local/rvm/src/ruby-3.0.2/ext/socket/conftest.c:35: undefined reference to `hsterror'
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: extern void hsterror();
35: int t(void) { hsterror(); return 0; }
/* end */

--------------------

have_func: checking for getipnodebyname("", 0, 0, (int *)0) in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:35:15: warning: implicit declaration of function ‘getipnodebyname’; did you mean ‘getprotobyname’? [-Wimplicit-function-declaration]
 int t(void) { getipnodebyname("", 0, 0, (int *)0); return 0; }
               ^~~~~~~~~~~~~~~
               getprotobyname
conftest.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
/tmp/ccCDfyuo.o: In function `t':
/usr/local/rvm/src/ruby-3.0.2/ext/socket/conftest.c:35: undefined reference to `getipnodebyname'
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: 
35: int t(void) { getipnodebyname("", 0, 0, (int *)0); return 0; }
/* end */

--------------------

have_func: checking for gethostbyname2("", 0) in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: 
35: int t(void) { gethostbyname2("", 0); return 0; }
/* end */

--------------------

have_func: checking for socketpair(0, 0, 0, 0) in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: 
35: int t(void) { socketpair(0, 0, 0, 0); return 0; }
/* end */

--------------------

have_func: checking for gethostname((char *)0, 0) in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:35:15: warning: null argument where non-null required (argument 1) [-Wnonnull]
 int t(void) { gethostname((char *)0, 0); return 0; }
               ^~~~~~~~~~~
conftest.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: 
35: int t(void) { gethostname((char *)0, 0); return 0; }
/* end */

--------------------

checking for ipv6... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #ifndef _WIN32
 5: #include <sys/socket.h>
 6: #endif
 7: int
 8: main(void)
 9: {
10:   socket(AF_INET6, SOCK_STREAM, 0);
11:   return 0;
12: }
/* end */

--------------------

checking for ipv6 type... -------------------- unknown

have_macro: checking for IPV6_INRIA_VERSION in netinet/in.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:6:3: error: #error 
 # error
   ^~~~~
conftest.c:7:1: error: expected identifier or ‘(’ before ‘|’ token
 |:/ === IPV6_INRIA_VERSION undefined === /:|
 ^
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <netinet/in.h>
4: /*top*/
5: #ifndef IPV6_INRIA_VERSION
6: # error
7: |:/ === IPV6_INRIA_VERSION undefined === /:|
8: #endif
/* end */

--------------------

have_macro: checking for __KAME__ in netinet/in.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:6:3: error: #error 
 # error
   ^~~~~
conftest.c:7:1: error: expected identifier or ‘(’ before ‘|’ token
 |:/ === __KAME__ undefined === /:|
 ^
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <netinet/in.h>
4: /*top*/
5: #ifndef __KAME__
6: # error
7: |:/ === __KAME__ undefined === /:|
8: #endif
/* end */

--------------------

have_macro: checking for _TOSHIBA_INET6 in sys/param.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:6:3: error: #error 
 # error
   ^~~~~
conftest.c:7:1: error: expected identifier or ‘(’ before ‘|’ token
 |:/ === _TOSHIBA_INET6 undefined === /:|
 ^
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <sys/param.h>
4: /*top*/
5: #ifndef _TOSHIBA_INET6
6: # error
7: |:/ === _TOSHIBA_INET6 undefined === /:|
8: #endif
/* end */

--------------------

have_macro: checking for __V6D__ in sys/v6config.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:3:10: fatal error: sys/v6config.h: No such file or directory
 #include <sys/v6config.h>
          ^~~~~~~~~~~~~~~~
compilation terminated.
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <sys/v6config.h>
4: /*top*/
5: #ifndef __V6D__
6: # error
7: |:/ === __V6D__ undefined === /:|
8: #endif
/* end */

--------------------

have_macro: checking for _ZETA_MINAMI_INET6 in sys/param.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
conftest.c:6:3: error: #error 
 # error
   ^~~~~
conftest.c:7:1: error: expected identifier or ‘(’ before ‘|’ token
 |:/ === _ZETA_MINAMI_INET6 undefined === /:|
 ^
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <sys/param.h>
4: /*top*/
5: #ifndef _ZETA_MINAMI_INET6
6: # error
7: |:/ === _ZETA_MINAMI_INET6 undefined === /:|
8: #endif
/* end */

--------------------

have_library: checking for -linet6... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -linet6  -lm   -lc"
/usr/bin/ld: cannot find -linet6
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: 
15: int t(void) { ; return 0; }
/* end */

--------------------

--------------------

have_macro: checking for IPPROTO_IPV6 in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: /*top*/
23: #ifndef IPPROTO_IPV6
24: # error
25: |:/ === IPPROTO_IPV6 undefined === /:|
26: #endif
/* end */

--------------------

have_const: checking for AF_UNIX in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef int conftest_type;
25: conftest_type conftestval = (int)AF_UNIX;
/* end */

--------------------

have_const: checking for SCM_RIGHTS in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC   -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: typedef int conftest_type;
25: conftest_type conftestval = (int)SCM_RIGHTS;
/* end */

--------------------

test_recvmsg_with_msg_peek_creates_fds: checking for recvmsg() with MSG_PEEK allocate file descriptors... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
checked program was:
/* begin */
  1: #include "ruby.h"
  2: 
  3: #include <sys/types.h>
  4: #include <netdb.h>
  5: #include <string.h>
  6: #include <sys/socket.h>
  7: #include <netinet/in.h>
  8: #include <sys/uio.h>
  9: #include <netinet/in_systm.h>
 10: #include <netinet/tcp.h>
 11: #include <netinet/udp.h>
 12: #include <arpa/inet.h>
 13: #include <netpacket/packet.h>
 14: #include <net/ethernet.h>
 15: #include <sys/un.h>
 16: #include <ifaddrs.h>
 17: #include <sys/ioctl.h>
 18: #include <net/if.h>
 19: #include <sys/param.h>
 20: #include <arpa/nameser.h>
 21: #include <resolv.h>
 22: #include <stdlib.h>
 23: #include <stdio.h>
 24: #include <string.h>
 25: #include <sys/types.h>
 26: #include <sys/stat.h>
 27: #include <sys/socket.h>
 28: #include <sys/un.h>
 29: #include <unistd.h>
 30: 
 31: int main(int argc, char *argv[])
 32: {
 33:     int ps[2], sv[2];
 34:     int ret;
 35:     ssize_t ss;
 36:     int s_fd, r_fd;
 37:     struct msghdr s_msg, r_msg;
 38:     union {
 39:         struct cmsghdr hdr;
 40:         char dummy[CMSG_SPACE(sizeof(int))];
 41:     } s_cmsg, r_cmsg;
 42:     struct iovec s_iov, r_iov;
 43:     char s_buf[1], r_buf[1];
 44:     struct stat s_statbuf, r_statbuf;
 45: 
 46:     ret = pipe(ps);
 47:     if (ret == -1) { perror("pipe"); exit(EXIT_FAILURE); }
 48: 
 49:     s_fd = ps[0];
 50: 
 51:     ret = socketpair(AF_UNIX, SOCK_DGRAM, 0, sv);
 52:     if (ret == -1) { perror("socketpair"); exit(EXIT_FAILURE); }
 53: 
 54:     s_msg.msg_name = NULL;
 55:     s_msg.msg_namelen = 0;
 56:     s_msg.msg_iov = &s_iov;
 57:     s_msg.msg_iovlen = 1;
 58:     s_msg.msg_control = &s_cmsg;
 59:     s_msg.msg_controllen = CMSG_SPACE(sizeof(int));;
 60:     s_msg.msg_flags = 0;
 61: 
 62:     s_iov.iov_base = &s_buf;
 63:     s_iov.iov_len = sizeof(s_buf);
 64: 
 65:     s_buf[0] = 'a';
 66: 
 67:     s_cmsg.hdr.cmsg_len = CMSG_LEN(sizeof(int));
 68:     s_cmsg.hdr.cmsg_level = SOL_SOCKET;
 69:     s_cmsg.hdr.cmsg_type = SCM_RIGHTS;
 70:     memcpy(CMSG_DATA(&s_cmsg.hdr), (char *)&s_fd, sizeof(int));
 71: 
 72:     ss = sendmsg(sv[0], &s_msg, 0);
 73:     if (ss == -1) { perror("sendmsg"); exit(EXIT_FAILURE); }
 74: 
 75:     r_msg.msg_name = NULL;
 76:     r_msg.msg_namelen = 0;
 77:     r_msg.msg_iov = &r_iov;
 78:     r_msg.msg_iovlen = 1;
 79:     r_msg.msg_control = &r_cmsg;
 80:     r_msg.msg_controllen = CMSG_SPACE(sizeof(int));
 81:     r_msg.msg_flags = 0;
 82: 
 83:     r_iov.iov_base = &r_buf;
 84:     r_iov.iov_len = sizeof(r_buf);
 85: 
 86:     r_buf[0] = '0';
 87: 
 88:     memset(&r_cmsg, 0xff, CMSG_SPACE(sizeof(int)));
 89: 
 90:     ss = recvmsg(sv[1], &r_msg, MSG_PEEK);
 91:     if (ss == -1) { perror("recvmsg"); exit(EXIT_FAILURE); }
 92: 
 93:     if (ss != 1) {
 94:         fprintf(stderr, "unexpected return value from recvmsg: %ld\n", (long)ss);
 95:         exit(EXIT_FAILURE);
 96:     }
 97:     if (r_buf[0] != 'a') {
 98:         fprintf(stderr, "unexpected return data from recvmsg: 0x%02x\n", r_buf[0]);
 99:         exit(EXIT_FAILURE);
100:     }
101: 
102:     if (r_msg.msg_controllen < CMSG_LEN(sizeof(int))) {
103:         fprintf(stderr, "unexpected: r_msg.msg_controllen < CMSG_LEN(sizeof(int)) not hold: %ld\n",
104:                 (long)r_msg.msg_controllen);
105:         exit(EXIT_FAILURE);
106:     }
107:     if (r_cmsg.hdr.cmsg_len < CMSG_LEN(sizeof(int))) {
108:         fprintf(stderr, "unexpected: r_cmsg.hdr.cmsg_len < CMSG_LEN(sizeof(int)) not hold: %ld\n",
109:                 (long)r_cmsg.hdr.cmsg_len);
110:         exit(EXIT_FAILURE);
111:     }
112:     memcpy((char *)&r_fd, CMSG_DATA(&r_cmsg.hdr), sizeof(int));
113: 
114:     if (r_fd < 0) {
115:         fprintf(stderr, "negative r_fd: %d\n", r_fd);
116:         exit(EXIT_FAILURE);
117:     }
118: 
119:     if (r_fd == s_fd) {
120:         fprintf(stderr, "r_fd and s_fd is same: %d\n", r_fd);
121:         exit(EXIT_FAILURE);
122:     }
123: 
124:     ret = fstat(s_fd, &s_statbuf);
125:     if (ret == -1) { perror("fstat(s_fd)"); exit(EXIT_FAILURE); }
126: 
127:     ret = fstat(r_fd, &r_statbuf);
128:     if (ret == -1) { perror("fstat(r_fd)"); exit(EXIT_FAILURE); }
129: 
130:     if (s_statbuf.st_dev != r_statbuf.st_dev ||
131:         s_statbuf.st_ino != r_statbuf.st_ino) {
132:         fprintf(stderr, "dev/ino doesn't match: s_fd:%ld/%ld r_fd:%ld/%ld\n",
133:                 (long)s_statbuf.st_dev, (long)s_statbuf.st_ino,
134:                 (long)r_statbuf.st_dev, (long)r_statbuf.st_ino);
135:         exit(EXIT_FAILURE);
136:     }
137: 
138:     return EXIT_SUCCESS;
139: }
/* end */

./conftest
--------------------

have_func: checking for getnameinfo() in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: int t(void) { void ((*volatile p)()); p = (void ((*)()))getnameinfo; return !p; }
/* end */

--------------------

have_func: checking for getaddrinfo() in sys/types.h,netdb.h,string.h,sys/socket.h,netinet/in.h,sys/uio.h,netinet/in_systm.h,netinet/tcp.h,netinet/udp.h,arpa/inet.h,netpacket/packet.h,net/ethernet.h,sys/un.h,ifaddrs.h,sys/ioctl.h,net/if.h,sys/param.h,arpa/nameser.h,resolv.h... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <sys/types.h>
 4: #include <netdb.h>
 5: #include <string.h>
 6: #include <sys/socket.h>
 7: #include <netinet/in.h>
 8: #include <sys/uio.h>
 9: #include <netinet/in_systm.h>
10: #include <netinet/tcp.h>
11: #include <netinet/udp.h>
12: #include <arpa/inet.h>
13: #include <netpacket/packet.h>
14: #include <net/ethernet.h>
15: #include <sys/un.h>
16: #include <ifaddrs.h>
17: #include <sys/ioctl.h>
18: #include <net/if.h>
19: #include <sys/param.h>
20: #include <arpa/nameser.h>
21: #include <resolv.h>
22: 
23: /*top*/
24: extern int t(void);
25: int main(int argc, char **argv)
26: {
27:   if (argc > 1000000) {
28:     int (* volatile tp)(void)=(int (*)(void))&t;
29:     printf("%d", (*tp)());
30:   }
31: 
32:   return !!argv[argc];
33: }
34: int t(void) { void ((*volatile p)()); p = (void ((*)()))getaddrinfo; return !p; }
/* end */

--------------------

checking for system getaddrinfo working... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../.    -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-3.0.2/lib -L/usr/local/rvm/rubies/ruby-3.0.2/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
checked program was:
/* begin */
  1: #include "ruby.h"
  2: 
  3: #include <sys/types.h>
  4: #include <netdb.h>
  5: #include <string.h>
  6: #include <sys/socket.h>
  7: #include <netinet/in.h>
  8: #include <sys/uio.h>
  9: #include <netinet/in_systm.h>
 10: #include <netinet/tcp.h>
 11: #include <netinet/udp.h>
 12: #include <arpa/inet.h>
 13: #include <netpacket/packet.h>
 14: #include <net/ethernet.h>
 15: #include <sys/un.h>
 16: #include <ifaddrs.h>
 17: #include <sys/ioctl.h>
 18: #include <net/if.h>
 19: #include <sys/param.h>
 20: #include <arpa/nameser.h>
 21: #include <resolv.h>
 22: #include <stdlib.h>
 23: 
 24: #ifndef EXIT_SUCCESS
 25: #define EXIT_SUCCESS 0
 26: #endif
 27: #ifndef EXIT_FAILURE
 28: #define EXIT_FAILURE 1
 29: #endif
 30: 
 31: #ifndef AF_LOCAL
 32: #define AF_LOCAL AF_UNIX
 33: #endif
 34: 
 35: int
 36: main(void)
 37: {
 38:   int passive, gaierr, inet4 = 0, inet6 = 0;
 39:   struct addrinfo hints, *ai, *aitop;
 40:   char straddr[INET6_ADDRSTRLEN], strport[16];
 41: #ifdef _WIN32
 42:   WSADATA retdata;
 43: 
 44:   WSAStartup(MAKEWORD(2, 0), &retdata);
 45: #endif
 46: 
 47:   for (passive = 0; passive <= 1; passive++) {
 48:     memset(&hints, 0, sizeof(hints));
 49:     hints.ai_family = AF_UNSPEC;
 50:     hints.ai_protocol = IPPROTO_TCP;
 51:     hints.ai_flags = passive ? AI_PASSIVE : 0;
 52:     hints.ai_socktype = SOCK_STREAM;
 53:     if ((gaierr = getaddrinfo(NULL, "54321", &hints, &aitop)) != 0) {
 54:       (void)gai_strerror(gaierr);
 55:       goto bad;
 56:     }
 57:     for (ai = aitop; ai; ai = ai->ai_next) {
 58:       if (ai->ai_family == AF_LOCAL) continue;
 59:       if (ai->ai_addr == NULL)
 60:         goto bad;
 61: #if defined(_AIX)
 62:       if (ai->ai_family == AF_INET6 && passive) {
 63:         inet6++;
 64:         continue;
 65:       }
 66:       ai->ai_addr->sa_len = ai->ai_addrlen;
 67:       ai->ai_addr->sa_family = ai->ai_family;
 68: #endif
 69:       if (ai->ai_addrlen == 0 ||
 70:           getnameinfo(ai->ai_addr, ai->ai_addrlen,
 71:                       straddr, sizeof(straddr), strport, sizeof(strport),
 72:                       NI_NUMERICHOST|NI_NUMERICSERV) != 0) {
 73:         goto bad;
 74:       }
 75:       if (strcmp(strport, "54321") != 0) {
 76:         goto bad;
 77:       }
 78:       switch (ai->ai_family) {
 79:       case AF_INET:
 80:         if (passive) {
 81:           if (strcmp(straddr, "0.0.0.0") != 0) {
 82:             goto bad;
 83:           }
 84:         } else {
 85:           if (strcmp(straddr, "127.0.0.1") != 0) {
 86:             goto bad;
 87:           }
 88:         }
 89:         inet4++;
 90:         break;
 91:       case AF_INET6:
 92:         if (passive) {
 93:           if (strcmp(straddr, "::") != 0) {
 94:             goto bad;
 95:           }
 96:         } else {
 97:           if (strcmp(straddr, "::1") != 0) {
 98:             goto bad;
 99:           }
100:         }
101:         inet6++;
102:         break;
103:       case AF_UNSPEC:
104:         goto bad;
105:         break;
106:       default:
107:         /* another family support? */
108:         break;
109:       }
110:     }
111:   }
112: 
113:   if (!(inet4 == 0 || inet4 == 2))
114:     goto bad;
115:   if (!(inet6 == 0 || inet6 == 2))
116:     goto bad;
117: 
118:   if (aitop)
119:     freeaddrinfo(aitop);
120:   return EXIT_SUCCESS;
121: 
122:  bad:
123:   if (aitop)
124:     freeaddrinfo(aitop);
125:   return EXIT_FAILURE;
126: }
/* end */

./conftest
--------------------

extconf.h is:
/* begin */
  1: #ifndef EXTCONF_H
  2: #define EXTCONF_H
  3: #define HAVE_SYS_UIO_H 1
  4: #define HAVE_NETINET_IN_SYSTM_H 1
  5: #define HAVE_NETINET_TCP_H 1
  6: #define HAVE_NETINET_UDP_H 1
  7: #define HAVE_ARPA_INET_H 1
  8: #define HAVE_NETPACKET_PACKET_H 1
  9: #define HAVE_NET_ETHERNET_H 1
 10: #define HAVE_SYS_UN_H 1
 11: #define HAVE_IFADDRS_H 1
 12: #define HAVE_SYS_IOCTL_H 1
 13: #define HAVE_NET_IF_H 1
 14: #define HAVE_SYS_PARAM_H 1
 15: #define HAVE_ARPA_NAMESER_H 1
 16: #define HAVE_RESOLV_H 1
 17: #define HAVE_TYPE_STRUCT_SOCKADDR_UN 1
 18: #define HAVE_TYPE_STRUCT_SOCKADDR_STORAGE 1
 19: #define HAVE_TYPE_STRUCT_ADDRINFO 1
 20: #define HAVE_TYPE_SOCKLEN_T 1
 21: #define HAVE_TYPE_STRUCT_IN_PKTINFO 1
 22: #define HAVE_STRUCT_IN_PKTINFO_IPI_SPEC_DST 1
 23: #define HAVE_ST_IPI_SPEC_DST 1
 24: #define HAVE_TYPE_STRUCT_IN6_PKTINFO 1
 25: #define HAVE_TYPE_STRUCT_IP_MREQ 1
 26: #define HAVE_TYPE_STRUCT_IP_MREQN 1
 27: #define HAVE_TYPE_STRUCT_IPV6_MREQ 1
 28: #define HAVE_STRUCT_MSGHDR_MSG_CONTROL 1
 29: #define HAVE_ST_MSG_CONTROL 1
 30: #define HAVE_TYPE_STRUCT_TCP_INFO 1
 31: #define HAVE_CONST_TCP_ESTABLISHED 1
 32: #define HAVE_CONST_TCP_SYN_SENT 1
 33: #define HAVE_CONST_TCP_SYN_RECV 1
 34: #define HAVE_CONST_TCP_FIN_WAIT1 1
 35: #define HAVE_CONST_TCP_FIN_WAIT2 1
 36: #define HAVE_CONST_TCP_TIME_WAIT 1
 37: #define HAVE_CONST_TCP_CLOSE 1
 38: #define HAVE_CONST_TCP_CLOSE_WAIT 1
 39: #define HAVE_CONST_TCP_LAST_ACK 1
 40: #define HAVE_CONST_TCP_LISTEN 1
 41: #define HAVE_CONST_TCP_CLOSING 1
 42: #define HAVE_STRUCT_TCP_INFO_TCPI_STATE 1
 43: #define HAVE_ST_TCPI_STATE 1
 44: #define HAVE_STRUCT_TCP_INFO_TCPI_CA_STATE 1
 45: #define HAVE_ST_TCPI_CA_STATE 1
 46: #define HAVE_STRUCT_TCP_INFO_TCPI_RETRANSMITS 1
 47: #define HAVE_ST_TCPI_RETRANSMITS 1
 48: #define HAVE_STRUCT_TCP_INFO_TCPI_PROBES 1
 49: #define HAVE_ST_TCPI_PROBES 1
 50: #define HAVE_STRUCT_TCP_INFO_TCPI_BACKOFF 1
 51: #define HAVE_ST_TCPI_BACKOFF 1
 52: #define HAVE_STRUCT_TCP_INFO_TCPI_OPTIONS 1
 53: #define HAVE_ST_TCPI_OPTIONS 1
 54: #define HAVE_STRUCT_TCP_INFO_TCPI_RTO 1
 55: #define HAVE_ST_TCPI_RTO 1
 56: #define HAVE_STRUCT_TCP_INFO_TCPI_ATO 1
 57: #define HAVE_ST_TCPI_ATO 1
 58: #define HAVE_STRUCT_TCP_INFO_TCPI_SND_MSS 1
 59: #define HAVE_ST_TCPI_SND_MSS 1
 60: #define HAVE_STRUCT_TCP_INFO_TCPI_RCV_MSS 1
 61: #define HAVE_ST_TCPI_RCV_MSS 1
 62: #define HAVE_STRUCT_TCP_INFO_TCPI_UNACKED 1
 63: #define HAVE_ST_TCPI_UNACKED 1
 64: #define HAVE_STRUCT_TCP_INFO_TCPI_SACKED 1
 65: #define HAVE_ST_TCPI_SACKED 1
 66: #define HAVE_STRUCT_TCP_INFO_TCPI_LOST 1
 67: #define HAVE_ST_TCPI_LOST 1
 68: #define HAVE_STRUCT_TCP_INFO_TCPI_RETRANS 1
 69: #define HAVE_ST_TCPI_RETRANS 1
 70: #define HAVE_STRUCT_TCP_INFO_TCPI_FACKETS 1
 71: #define HAVE_ST_TCPI_FACKETS 1
 72: #define HAVE_STRUCT_TCP_INFO_TCPI_LAST_DATA_SENT 1
 73: #define HAVE_ST_TCPI_LAST_DATA_SENT 1
 74: #define HAVE_STRUCT_TCP_INFO_TCPI_LAST_ACK_SENT 1
 75: #define HAVE_ST_TCPI_LAST_ACK_SENT 1
 76: #define HAVE_STRUCT_TCP_INFO_TCPI_LAST_DATA_RECV 1
 77: #define HAVE_ST_TCPI_LAST_DATA_RECV 1
 78: #define HAVE_STRUCT_TCP_INFO_TCPI_LAST_ACK_RECV 1
 79: #define HAVE_ST_TCPI_LAST_ACK_RECV 1
 80: #define HAVE_STRUCT_TCP_INFO_TCPI_PMTU 1
 81: #define HAVE_ST_TCPI_PMTU 1
 82: #define HAVE_STRUCT_TCP_INFO_TCPI_RCV_SSTHRESH 1
 83: #define HAVE_ST_TCPI_RCV_SSTHRESH 1
 84: #define HAVE_STRUCT_TCP_INFO_TCPI_RTT 1
 85: #define HAVE_ST_TCPI_RTT 1
 86: #define HAVE_STRUCT_TCP_INFO_TCPI_RTTVAR 1
 87: #define HAVE_ST_TCPI_RTTVAR 1
 88: #define HAVE_STRUCT_TCP_INFO_TCPI_SND_SSTHRESH 1
 89: #define HAVE_ST_TCPI_SND_SSTHRESH 1
 90: #define HAVE_STRUCT_TCP_INFO_TCPI_SND_CWND 1
 91: #define HAVE_ST_TCPI_SND_CWND 1
 92: #define HAVE_STRUCT_TCP_INFO_TCPI_ADVMSS 1
 93: #define HAVE_ST_TCPI_ADVMSS 1
 94: #define HAVE_STRUCT_TCP_INFO_TCPI_REORDERING 1
 95: #define HAVE_ST_TCPI_REORDERING 1
 96: #define HAVE_STRUCT_TCP_INFO_TCPI_RCV_RTT 1
 97: #define HAVE_ST_TCPI_RCV_RTT 1
 98: #define HAVE_STRUCT_TCP_INFO_TCPI_RCV_SPACE 1
 99: #define HAVE_ST_TCPI_RCV_SPACE 1
100: #define HAVE_STRUCT_TCP_INFO_TCPI_TOTAL_RETRANS 1
101: #define HAVE_ST_TCPI_TOTAL_RETRANS 1
102: #define HAVE_SOCKET 1
103: #define HAVE_SENDMSG 1
104: #define HAVE_RECVMSG 1
105: #define HAVE_FREEADDRINFO 1
106: #define HAVE_GAI_STRERROR 1
107: #define GAI_STRERROR_CONST 1
108: #define HAVE_ACCEPT4 1
109: #define HAVE_INET_NTOP 1
110: #define HAVE_INET_PTON 1
111: #define HAVE_GETSERVBYPORT 1
112: #define HAVE_GETIFADDRS 1
113: #define HAVE_IF_INDEXTONAME 1
114: #define NEED_IF_INDEXTONAME_DECL 1
115: #define HAVE_IF_NAMETOINDEX 1
116: #define NEED_IF_NAMETOINDEX_DECL 1
117: #define HAVE_GETHOSTBYNAME2 1
118: #define HAVE_SOCKETPAIR 1
119: #define HAVE_GETHOSTNAME 1
120: #define ENABLE_IPV6 1
121: #define INET6 1
122: #define HAVE_CONST_AF_UNIX 1
123: #define HAVE_CONST_SCM_RIGHTS 1
124: #define FD_PASSING_WORK_WITH_RECVMSG_MSG_PEEK 1
125: #define HAVE_GETNAMEINFO 1
126: #define HAVE_GETADDRINFO 1
127: #endif
/* end */