have_var: checking for rb_trap_immediate in ruby.h,rubysig.h... -------------------- yes

"cc -I. -I/usr/local/lib/ruby/1.8/i386-openbsd -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -O2 -pipe  -fPIC     -c conftest.c"
checked program was:
/* begin */
1: #include <ruby.h>
2: #include <rubysig.h>
3: 
4: /*top*/
5: int main() { return 0; }
6: int t() { const volatile void *volatile p; p = &(&rb_trap_immediate)[0]; return 0; }
/* end */

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

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

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/i386-openbsd -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -O2 -pipe  -fPIC   conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -lruby18-static  -lm   -lc"
conftest.c: In function 't':
conftest.c:3: error: 'rb_thread_blocking_region' undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))rb_thread_blocking_region; return 0; }
/* end */

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/i386-openbsd -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -O2 -pipe  -fPIC   conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -lruby18-static  -lm   -lc"
/tmp//ccE58FRu.o(.text+0x33): In function `t':
: undefined reference to `rb_thread_blocking_region'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { rb_thread_blocking_region(); return 0; }
/* end */

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

have_func: checking for inotify_init() in sys/inotify.h... -------------------- no

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/i386-openbsd -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -O2 -pipe  -fPIC   conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -lruby18-static  -lm   -lc"
conftest.c:1:25: error: sys/inotify.h: No such file or directory
conftest.c: In function 't':
conftest.c:5: error: 'inotify_init' 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 <sys/inotify.h>
2: 
3: /*top*/
4: int main() { return 0; }
5: int t() { void ((*volatile p)()); p = (void ((*)()))inotify_init; return 0; }
/* end */

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/i386-openbsd -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -O2 -pipe  -fPIC   conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -lruby18-static  -lm   -lc"
conftest.c:1:25: error: sys/inotify.h: No such file or directory
checked program was:
/* begin */
1: #include <sys/inotify.h>
2: 
3: /*top*/
4: int main() { return 0; }
5: int t() { inotify_init(); return 0; }
/* end */

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

have_macro: checking for __NR_inotify_init in sys/syscall.h... -------------------- no

"cc -I. -I/usr/local/lib/ruby/1.8/i386-openbsd -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -O2 -pipe  -fPIC     -c conftest.c"
conftest.c:4:3: error: #error 
conftest.c:5: error: expected identifier or '(' before '>>' token
checked program was:
/* begin */
1: #include <sys/syscall.h>
2: /*top*/
3: #ifndef __NR_inotify_init
4: # error
5: >>>>>> __NR_inotify_init undefined <<<<<<
6: #endif
/* end */

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

have_func: checking for writev() in sys/uio.h... -------------------- no

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/i386-openbsd -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -O2 -pipe  -fPIC   conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -lruby18-static  -lm   -lc"
In file included from conftest.c:1:
/usr/include/sys/uio.h:40: error: expected specifier-qualifier-list before 'size_t'
In file included from conftest.c:1:
/usr/include/sys/uio.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'preadv'
/usr/include/sys/uio.h:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pwritev'
/usr/include/sys/uio.h:78: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'readv'
/usr/include/sys/uio.h:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'writev'
conftest.c: In function 't':
conftest.c:5: error: 'writev' 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 <sys/uio.h>
2: 
3: /*top*/
4: int main() { return 0; }
5: int t() { void ((*volatile p)()); p = (void ((*)()))writev; return 0; }
/* end */

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/i386-openbsd -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -O2 -pipe  -fPIC   conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E     -lruby18-static  -lm   -lc"
In file included from conftest.c:1:
/usr/include/sys/uio.h:40: error: expected specifier-qualifier-list before 'size_t'
In file included from conftest.c:1:
/usr/include/sys/uio.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'preadv'
/usr/include/sys/uio.h:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pwritev'
/usr/include/sys/uio.h:78: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'readv'
/usr/include/sys/uio.h:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'writev'
checked program was:
/* begin */
1: #include <sys/uio.h>
2: 
3: /*top*/
4: int main() { return 0; }
5: int t() { writev(); return 0; }
/* end */

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

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

"cc -E -I. -I/usr/local/lib/ruby/1.8/i386-openbsd -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -O2 -pipe  -fPIC    conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include <sys/event.h>
/* end */

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

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

"cc -E -I. -I/usr/local/lib/ruby/1.8/i386-openbsd -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include  -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -O2 -pipe  -fPIC    conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include <sys/queue.h>
/* end */

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

package configuration for openssl
cflags: -I/usr/include
ldflags: -L/usr/lib
libs:  -lssl -lcrypto

