have_macro: checking for CLOCK_MONOTONIC in time.h... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -pthread -lm   -lc"
/usr/local/lib/libruby19.so.1.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libruby19.so.1.0: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libruby19.so.1.0: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main() {return 0;}
/* end */

"cc -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <time.h>
4: /*top*/
5: #ifndef CLOCK_MONOTONIC
6: # error
7: >>>>>> CLOCK_MONOTONIC undefined <<<<<<
8: #endif
/* end */

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

have_type: checking for clockid_t in time.h... -------------------- yes

"cc -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <time.h>
4: 
5: /*top*/
6: typedef clockid_t conftest_type;
7: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

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

have_library: checking for clock_gettime() in -lrt... -------------------- no

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lrt  -pthread -lm   -lc"
/usr/bin/ld: cannot find -lrt
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <time.h>
4: 
5: /*top*/
6: int main() {return 0;}
7: int t() { void ((*volatile p)()); p = (void ((*)()))clock_gettime; return 0; }
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lrt  -pthread -lm   -lc"
conftest.c: In function 't':
conftest.c:7: error: too few arguments to function 'clock_gettime'
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <time.h>
4: 
5: /*top*/
6: int main() {return 0;}
7: int t() { clock_gettime(); return 0; }
/* end */

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

have_library: checking for t_open() in -lnsl... -------------------- no

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lnsl  -pthread -lm   -lc"
conftest.c: In function 't':
conftest.c:5: error: 't_open' undeclared (first use in this function)
conftest.c:5: error: (Each undeclared identifier is reported only once
conftest.c:5: error: for each function it appears in.)
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { void ((*volatile p)()); p = (void ((*)()))t_open; return 0; }
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lnsl  -pthread -lm   -lc"
/usr/bin/ld: cannot find -lnsl
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { t_open(); return 0; }
/* end */

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

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

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lsocket  -pthread -lm   -lc"
conftest.c: In function 't':
conftest.c:5: error: 'socket' undeclared (first use in this function)
conftest.c:5: error: (Each undeclared identifier is reported only once
conftest.c:5: error: for each function it appears in.)
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { void ((*volatile p)()); p = (void ((*)()))socket; return 0; }
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lsocket  -pthread -lm   -lc"
/usr/bin/ld: cannot find -lsocket
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { socket(); return 0; }
/* end */

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

have_func: checking for poll() in poll.h... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -pthread -lm   -lc"
/usr/local/lib/libruby19.so.1.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libruby19.so.1.0: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libruby19.so.1.0: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <poll.h>
4: 
5: /*top*/
6: int main() {return 0;}
7: int t() { void ((*volatile p)()); p = (void ((*)()))poll; return 0; }
/* end */

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

have_func: checking for getaddrinfo() in sys/types.h,sys/socket.h,netdb.h... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -pthread -lm   -lc"
/usr/local/lib/libruby19.so.1.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libruby19.so.1.0: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libruby19.so.1.0: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <sys/types.h>
4: #include <sys/socket.h>
5: #include <netdb.h>
6: 
7: /*top*/
8: int main() {return 0;}
9: int t() { void ((*volatile p)()); p = (void ((*)()))getaddrinfo; return 0; }
/* end */

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

have_func: checking for getnameinfo() in sys/types.h,sys/socket.h,netdb.h... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -pthread -lm   -lc"
/usr/local/lib/libruby19.so.1.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libruby19.so.1.0: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libruby19.so.1.0: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <sys/types.h>
4: #include <sys/socket.h>
5: #include <netdb.h>
6: 
7: /*top*/
8: int main() {return 0;}
9: int t() { void ((*volatile p)()); p = (void ((*)()))getnameinfo; return 0; }
/* end */

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

have_type: checking for struct sockaddr_storage in sys/types.h,sys/socket.h... -------------------- yes

"cc -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <sys/types.h>
4: #include <sys/socket.h>
5: 
6: /*top*/
7: typedef struct sockaddr_storage conftest_type;
8: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

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

have_func: checking for accept4() in sys/socket.h... -------------------- no

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -pthread -lm   -lc"
conftest.c: In function 't':
conftest.c:7: error: 'accept4' undeclared (first use in this function)
conftest.c:7: error: (Each undeclared identifier is reported only once
conftest.c:7: error: for each function it appears in.)
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <sys/socket.h>
4: 
5: /*top*/
6: int main() {return 0;}
7: int t() { void ((*volatile p)()); p = (void ((*)()))accept4; return 0; }
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -pthread -lm   -lc"
/usr/local/lib/libruby19.so.1.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libruby19.so.1.0: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libruby19.so.1.0: warning: sprintf() is often misused, please use snprintf()
/tmp//ccxHhbsq.o(.text+0x14): In function `t':
: undefined reference to `accept4'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <sys/socket.h>
4: 
5: /*top*/
6: int main() {return 0;}
7: int t() { accept4(); return 0; }
/* end */

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

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

"cc -E -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <sys/select.h>
/* end */

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

have_header: checking for ruby/io.h... -------------------- yes

"cc -E -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <ruby/io.h>
/* end */

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

have_struct_member: checking for rb_io_t.fd in ruby.h,ruby/io.h... -------------------- yes

"cc -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <ruby.h>
4: #include <ruby/io.h>
5: 
6: /*top*/
7: int main() {return 0;}
8: int s = (char *)&((rb_io_t*)0)->fd - (char *)0;
/* end */

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

have_struct_member: checking for rb_io_t.mode in ruby.h,ruby/io.h... -------------------- yes

"cc -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <ruby.h>
4: #include <ruby/io.h>
5: 
6: /*top*/
7: int main() {return 0;}
8: int s = (char *)&((rb_io_t*)0)->mode - (char *)0;
/* end */

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

have_struct_member: checking for rb_io_t.pathv in ruby.h,ruby/io.h... -------------------- yes

"cc -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <ruby.h>
4: #include <ruby/io.h>
5: 
6: /*top*/
7: int main() {return 0;}
8: int s = (char *)&((rb_io_t*)0)->pathv - (char *)0;
/* end */

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

have_type: checking for struct RFile in ruby.h,ruby/io.h... -------------------- yes

"cc -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <ruby.h>
4: #include <ruby/io.h>
5: 
6: /*top*/
7: typedef struct RFile conftest_type;
8: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

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

check_sizeof: checking size of struct RFile in ruby.h,ruby/io.h... -------------------- 12

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -pthread -lm   -lc"
/usr/local/lib/libruby19.so.1.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libruby19.so.1.0: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libruby19.so.1.0: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <ruby.h>
 4: #include <ruby/io.h>
 5: typedef struct RFile rbcv_typedef_;
 6: static rbcv_typedef_ *rbcv_ptr_;
 7: 
 8: #include <stdio.h>
 9: /*top*/
10: int conftest_const = (int)(sizeof((*rbcv_ptr_)));
11: int main() {printf("%d\n", conftest_const); return 0;}
/* end */

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

have_type: checking for struct RObject... -------------------- yes

"cc -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: typedef struct RObject conftest_type;
5: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

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

check_sizeof: checking size of struct RObject... -------------------- 20

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -pthread -lm   -lc"
/usr/local/lib/libruby19.so.1.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libruby19.so.1.0: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libruby19.so.1.0: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: typedef struct RObject rbcv_typedef_;
4: static rbcv_typedef_ *rbcv_ptr_;
5: 
6: #include <stdio.h>
7: /*top*/
8: int conftest_const = (int)(sizeof((*rbcv_ptr_)));
9: int main() {printf("%d\n", conftest_const); return 0;}
/* end */

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

check_sizeof: checking size of int... -------------------- 4

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -pthread -lm   -lc"
/usr/local/lib/libruby19.so.1.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libruby19.so.1.0: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libruby19.so.1.0: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: typedef int rbcv_typedef_;
4: static rbcv_typedef_ *rbcv_ptr_;
5: 
6: #include <stdio.h>
7: /*top*/
8: int conftest_const = (int)(sizeof((*rbcv_ptr_)));
9: int main() {printf("%d\n", conftest_const); return 0;}
/* end */

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

have_func: checking for rb_io_ascii8bit_binmode()... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -pthread -lm   -lc"
/usr/local/lib/libruby19.so.1.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libruby19.so.1.0: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libruby19.so.1.0: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { void ((*volatile p)()); p = (void ((*)()))rb_io_ascii8bit_binmode; return 0; }
/* end */

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

have_func: checking for rb_update_max_fd()... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -pthread -lm   -lc"
/usr/local/lib/libruby19.so.1.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libruby19.so.1.0: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libruby19.so.1.0: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { void ((*volatile p)()); p = (void ((*)()))rb_update_max_fd; return 0; }
/* end */

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

have_func: checking for rb_fd_fix_cloexec()... -------------------- no

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -pthread -lm   -lc"
conftest.c: In function 't':
conftest.c:5: error: 'rb_fd_fix_cloexec' undeclared (first use in this function)
conftest.c:5: error: (Each undeclared identifier is reported only once
conftest.c:5: error: for each function it appears in.)
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { void ((*volatile p)()); p = (void ((*)()))rb_fd_fix_cloexec; return 0; }
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -pthread -lm   -lc"
/usr/local/lib/libruby19.so.1.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libruby19.so.1.0: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libruby19.so.1.0: warning: sprintf() is often misused, please use snprintf()
/tmp//ccIu07mF.o(.text+0x14): In function `t':
: undefined reference to `rb_fd_fix_cloexec'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { rb_fd_fix_cloexec(); return 0; }
/* end */

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

have_func: checking for rb_cloexec_open()... -------------------- no

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -pthread -lm   -lc"
conftest.c: In function 't':
conftest.c:5: error: 'rb_cloexec_open' undeclared (first use in this function)
conftest.c:5: error: (Each undeclared identifier is reported only once
conftest.c:5: error: for each function it appears in.)
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { void ((*volatile p)()); p = (void ((*)()))rb_cloexec_open; return 0; }
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -pthread -lm   -lc"
/usr/local/lib/libruby19.so.1.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libruby19.so.1.0: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libruby19.so.1.0: warning: sprintf() is often misused, please use snprintf()
/tmp//ccqp3DVw.o(.text+0x14): In function `t':
: undefined reference to `rb_cloexec_open'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { rb_cloexec_open(); return 0; }
/* end */

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

have_func: checking for rb_thread_blocking_region()... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -pthread -lm   -lc"
/usr/local/lib/libruby19.so.1.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libruby19.so.1.0: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libruby19.so.1.0: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { void ((*volatile p)()); p = (void ((*)()))rb_thread_blocking_region; return 0; }
/* end */

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

have_func: checking for rb_thread_io_blocking_region()... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -pthread -lm   -lc"
conftest.c: In function 't':
conftest.c:5: error: 'rb_thread_io_blocking_region' undeclared (first use in this function)
conftest.c:5: error: (Each undeclared identifier is reported only once
conftest.c:5: error: for each function it appears in.)
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { void ((*volatile p)()); p = (void ((*)()))rb_thread_io_blocking_region; return 0; }
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -pthread -lm   -lc"
/usr/local/lib/libruby19.so.1.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libruby19.so.1.0: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libruby19.so.1.0: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { rb_thread_io_blocking_region(); return 0; }
/* end */

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

have_func: checking for rb_str_set_len()... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -pthread -lm   -lc"
/usr/local/lib/libruby19.so.1.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libruby19.so.1.0: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libruby19.so.1.0: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { void ((*volatile p)()); p = (void ((*)()))rb_str_set_len; return 0; }
/* end */

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

have_func: checking for rb_time_interval()... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -pthread -lm   -lc"
/usr/local/lib/libruby19.so.1.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libruby19.so.1.0: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libruby19.so.1.0: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { void ((*volatile p)()); p = (void ((*)()))rb_time_interval; return 0; }
/* end */

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

have_func: checking for rb_wait_for_single_fd()... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -pthread -lm   -lc"
conftest.c: In function 't':
conftest.c:5: error: 'rb_wait_for_single_fd' undeclared (first use in this function)
conftest.c:5: error: (Each undeclared identifier is reported only once
conftest.c:5: error: for each function it appears in.)
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { void ((*volatile p)()); p = (void ((*)()))rb_wait_for_single_fd; return 0; }
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9.1/arm-openbsd -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -D_GNU_SOURCE -DPOSIX_C_SOURCE=1-D_POSIX_C_SOURCE=200112L -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -pthread -lm   -lc"
/usr/local/lib/libruby19.so.1.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libruby19.so.1.0: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libruby19.so.1.0: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: /*top*/
4: int main() {return 0;}
5: int t() { rb_wait_for_single_fd(); return 0; }
/* end */

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

