find_executable: checking for pg_config... -------------------- yes

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

find_header: checking for libpq-fe.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 -I/usr/local/include/postgresql -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E -L/usr/local/lib     -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 -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 -I/usr/local/include/postgresql -O2 -pipe -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <libpq-fe.h>
/* end */

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

find_header: checking for libpq/libpq-fs.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 -I/usr/local/include/postgresql -O2 -pipe -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <libpq/libpq-fs.h>
/* end */

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

have_library: checking for PQconnectdb() in -lpq... -------------------- 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 -I/usr/local/include/postgresql -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E -L/usr/local/lib     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
/usr/local/lib/libpq.so.5.3: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libpq.so.5.3: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <libpq-fe.h>
4: 
5: /*top*/
6: int main() {return 0;}
7: int t() { void ((*volatile p)()); p = (void ((*)()))PQconnectdb; return 0; }
/* end */

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

have_func: checking for PQconnectionUsedPassword()... -------------------- 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 -I/usr/local/include/postgresql -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E -L/usr/local/lib    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
conftest.c: In function 't':
conftest.c:5: error: 'PQconnectionUsedPassword' 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 ((*)()))PQconnectionUsedPassword; 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 -I/usr/local/include/postgresql -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E -L/usr/local/lib    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
/usr/local/lib/libpq.so.5.3: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libpq.so.5.3: 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() { PQconnectionUsedPassword(); return 0; }
/* end */

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

have_func: checking for PQisthreadsafe()... -------------------- 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 -I/usr/local/include/postgresql -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E -L/usr/local/lib    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
conftest.c: In function 't':
conftest.c:5: error: 'PQisthreadsafe' 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 ((*)()))PQisthreadsafe; 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 -I/usr/local/include/postgresql -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E -L/usr/local/lib    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
/usr/local/lib/libpq.so.5.3: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libpq.so.5.3: 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() { PQisthreadsafe(); return 0; }
/* end */

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

have_func: checking for PQprepare()... -------------------- 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 -I/usr/local/include/postgresql -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E -L/usr/local/lib    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
conftest.c: In function 't':
conftest.c:5: error: 'PQprepare' 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 ((*)()))PQprepare; 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 -I/usr/local/include/postgresql -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E -L/usr/local/lib    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
/usr/local/lib/libpq.so.5.3: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libpq.so.5.3: 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() { PQprepare(); return 0; }
/* end */

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

have_func: checking for PQexecParams()... -------------------- 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 -I/usr/local/include/postgresql -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E -L/usr/local/lib    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
conftest.c: In function 't':
conftest.c:5: error: 'PQexecParams' 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 ((*)()))PQexecParams; 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 -I/usr/local/include/postgresql -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E -L/usr/local/lib    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
/usr/local/lib/libpq.so.5.3: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libpq.so.5.3: 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() { PQexecParams(); return 0; }
/* end */

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

have_func: checking for PQescapeString()... -------------------- 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 -I/usr/local/include/postgresql -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E -L/usr/local/lib    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
conftest.c: In function 't':
conftest.c:5: error: 'PQescapeString' 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 ((*)()))PQescapeString; 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 -I/usr/local/include/postgresql -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E -L/usr/local/lib    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
/usr/local/lib/libpq.so.5.3: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libpq.so.5.3: 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() { PQescapeString(); return 0; }
/* end */

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

have_func: checking for PQescapeStringConn()... -------------------- 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 -I/usr/local/include/postgresql -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E -L/usr/local/lib    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
conftest.c: In function 't':
conftest.c:5: error: 'PQescapeStringConn' 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 ((*)()))PQescapeStringConn; 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 -I/usr/local/include/postgresql -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E -L/usr/local/lib    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
/usr/local/lib/libpq.so.5.3: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libpq.so.5.3: 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() { PQescapeStringConn(); return 0; }
/* end */

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

have_func: checking for PQgetCancel()... -------------------- 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 -I/usr/local/include/postgresql -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E -L/usr/local/lib    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
conftest.c: In function 't':
conftest.c:5: error: 'PQgetCancel' 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 ((*)()))PQgetCancel; 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 -I/usr/local/include/postgresql -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E -L/usr/local/lib    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
/usr/local/lib/libpq.so.5.3: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libpq.so.5.3: 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() { PQgetCancel(); return 0; }
/* end */

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

have_func: checking for lo_create()... -------------------- 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 -I/usr/local/include/postgresql -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E -L/usr/local/lib    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
conftest.c: In function 't':
conftest.c:5: error: 'lo_create' 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 ((*)()))lo_create; 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 -I/usr/local/include/postgresql -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E -L/usr/local/lib    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
/usr/local/lib/libpq.so.5.3: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libpq.so.5.3: 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() { lo_create(); return 0; }
/* end */

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

have_func: checking for pg_encoding_to_char()... -------------------- 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 -I/usr/local/include/postgresql -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E -L/usr/local/lib    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
conftest.c: In function 't':
conftest.c:5: error: 'pg_encoding_to_char' 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 ((*)()))pg_encoding_to_char; 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 -I/usr/local/include/postgresql -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E -L/usr/local/lib    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
/usr/local/lib/libpq.so.5.3: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libpq.so.5.3: 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() { pg_encoding_to_char(); return 0; }
/* end */

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

have_func: checking for PQsetClientEncoding()... -------------------- 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 -I/usr/local/include/postgresql -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E -L/usr/local/lib    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
conftest.c: In function 't':
conftest.c:5: error: 'PQsetClientEncoding' 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 ((*)()))PQsetClientEncoding; 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 -I/usr/local/include/postgresql -O2 -pipe -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -L/usr/local/lib -Wl,-E -L/usr/local/lib    -lpq  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19-static -lpq  -pthread -lm   -lc"
/usr/local/lib/libpq.so.5.3: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libpq.so.5.3: 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() { PQsetClientEncoding(); return 0; }
/* end */

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

have_struct_member: checking for struct pgNotify.extra in libpq-fe.h... -------------------- yes

"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 -I/usr/local/include/postgresql -O2 -pipe -fPIC   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <libpq-fe.h>
4: 
5: /*top*/
6: int main() {return 0;}
7: int s = (char *)&((struct pgNotify*)0)->extra - (char *)0;
/* end */

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

have_header: checking for unistd.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 -I/usr/local/include/postgresql -O2 -pipe -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <unistd.h>
/* end */

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

