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

"cc -o conftest -I/usr/local/include/ruby-1.9.1/mips64el-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 -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-static  -pthread -lm   -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main() {return 0;}
/* end */

"cc -I/usr/local/include/ruby-1.9.1/mips64el-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 -O2 -pipe -fPIC   -c conftest.c"
In file included from conftest.c:4:
/usr/local/include/ruby-1.9.1/ruby/backward/rubysig.h:14:2: warning: #warning rubysig.h is obsolete
conftest.c: In function 't':
conftest.c:8: error: 'rb_trap_immediate' undeclared (first use in this function)
conftest.c:8: error: (Each undeclared identifier is reported only once
conftest.c:8: error: for each function it appears in.)
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <ruby.h>
4: #include <rubysig.h>
5: 
6: /*top*/
7: int main() {return 0;}
8: int t() { const volatile void *volatile p; p = &(&rb_trap_immediate)[0]; return 0; }
/* end */

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

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

"cc -o conftest -I/usr/local/include/ruby-1.9.1/mips64el-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 -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-static  -pthread -lm   -lc"
/usr/local/lib/libruby19-static.a(file.o)(.text+0x6fd0): In function `rb_home_dir':
: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libruby19-static.a(regerror.o)(.text+0x44c): In function `sprint_byte_with_x':
: 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 inotify_init() in sys/inotify.h... -------------------- no

"cc -o conftest -I/usr/local/include/ruby-1.9.1/mips64el-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 -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-static  -pthread -lm   -lc"
conftest.c:3:25: error: sys/inotify.h: No such file or directory
conftest.c: In function 't':
conftest.c:7: error: 'inotify_init' 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/inotify.h>
4: 
5: /*top*/
6: int main() {return 0;}
7: int t() { void ((*volatile p)()); p = (void ((*)()))inotify_init; return 0; }
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9.1/mips64el-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 -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-static  -pthread -lm   -lc"
conftest.c:3:25: error: sys/inotify.h: No such file or directory
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <sys/inotify.h>
4: 
5: /*top*/
6: int main() {return 0;}
7: int t() { inotify_init(); return 0; }
/* end */

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

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

"cc -I/usr/local/include/ruby-1.9.1/mips64el-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 -O2 -pipe -fPIC   -c conftest.c"
conftest.c:6:3: error: #error 
conftest.c:7: error: expected identifier or '(' before '>>' token
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <sys/syscall.h>
4: /*top*/
5: #ifndef __NR_inotify_init
6: # error
7: >>>>>> __NR_inotify_init undefined <<<<<<
8: #endif
/* end */

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

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

"cc -o conftest -I/usr/local/include/ruby-1.9.1/mips64el-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 -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-static  -pthread -lm   -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <sys/uio.h>
4: 
5: /*top*/
6: int main() {return 0;}
7: int t() { void ((*volatile p)()); p = (void ((*)()))writev; return 0; }
/* end */

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

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

"cc -E -I/usr/local/include/ruby-1.9.1/mips64el-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 -O2 -pipe -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <sys/event.h>
/* end */

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

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

"cc -E -I/usr/local/include/ruby-1.9.1/mips64el-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 -O2 -pipe -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <sys/queue.h>
/* end */

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

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

