have_library: checking for main() in -lpq... -------------------- yes

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/mips64el-openbsd4.9 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -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 -lpq  -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: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */

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

have_header: checking for libpq-fe.h... -------------------- yes

"cc -E -I. -I/usr/local/lib/ruby/1.8/mips64el-openbsd4.9 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -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 <libpq-fe.h>
/* end */

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

have_header: checking for libpq/libpq-fs.h... -------------------- yes

"cc -E -I. -I/usr/local/lib/ruby/1.8/mips64el-openbsd4.9 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -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 <libpq/libpq-fs.h>
/* end */

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

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

"cc -E -I. -I/usr/local/lib/ruby/1.8/mips64el-openbsd4.9 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -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 <postgres.h>
/* end */

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

have_header: checking for mb/pg_wchar.h... -------------------- yes

"cc -E -I. -I/usr/local/lib/ruby/1.8/mips64el-openbsd4.9 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -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 <mb/pg_wchar.h>
/* end */

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

have_header: checking for catalog/pg_type.h... -------------------- yes

"cc -E -I. -I/usr/local/lib/ruby/1.8/mips64el-openbsd4.9 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -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 <catalog/pg_type.h>
/* end */

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

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

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/mips64el-openbsd4.9 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -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    -lpq  -lruby18-static -lpq  -lm   -lc"
conftest.c: In function 't':
conftest.c:3: error: 'PQsetClientEncoding' 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 ((*)()))PQsetClientEncoding; return 0; }
/* end */

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/mips64el-openbsd4.9 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -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    -lpq  -lruby18-static -lpq  -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: /*top*/
2: int main() { return 0; }
3: int t() { PQsetClientEncoding(); return 0; }
/* end */

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

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

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/mips64el-openbsd4.9 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -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    -lpq  -lruby18-static -lpq  -lm   -lc"
conftest.c: In function 't':
conftest.c:3: error: 'pg_encoding_to_char' 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 ((*)()))pg_encoding_to_char; return 0; }
/* end */

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/mips64el-openbsd4.9 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -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    -lpq  -lruby18-static -lpq  -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: /*top*/
2: int main() { return 0; }
3: int t() { pg_encoding_to_char(); return 0; }
/* end */

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

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

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/mips64el-openbsd4.9 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -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    -lpq  -lruby18-static -lpq  -lm   -lc"
conftest.c: In function 't':
conftest.c:3: error: 'PQfreemem' 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 ((*)()))PQfreemem; return 0; }
/* end */

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/mips64el-openbsd4.9 -I. -I/usr/local/include/postgresql -I/usr/local/include/postgresql/server -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    -lpq  -lruby18-static -lpq  -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: /*top*/
2: int main() { return 0; }
3: int t() { PQfreemem(); return 0; }
/* end */

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

