find_library: checking for main() in -lz... -------------------- yes

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/mips64el-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 -lz  -lm   -lc"
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */

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

find_library: checking for main() in -lpng... -------------------- yes

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/mips64el-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    -lz  -lruby18-static -lpng -lz  -lm   -lc"
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */

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

find_library: checking for main() in -lfreetype... -------------------- yes

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/mips64el-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    -lpng -lz  -lruby18-static -lfreetype -lpng -lz  -lm   -lc"
/usr/bin/ld: cannot find -lfreetype
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/mips64el-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    -lpng -lz  -lruby18-static -lfreetype -lpng -lz  -lm   -lc"
/usr/bin/ld: cannot find -lfreetype
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { main(); return 0; }
/* end */

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/mips64el-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/usr/lib -Wl,-R/usr/lib -L. -L/usr/local/lib -Wl,-E    -lpng -lz  -lruby18-static -lfreetype -lpng -lz  -lm   -lc"
/usr/bin/ld: cannot find -lfreetype
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/mips64el-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/usr/lib -Wl,-R/usr/lib -L. -L/usr/local/lib -Wl,-E    -lpng -lz  -lruby18-static -lfreetype -lpng -lz  -lm   -lc"
/usr/bin/ld: cannot find -lfreetype
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { main(); return 0; }
/* end */

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/mips64el-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/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L. -L/usr/local/lib -Wl,-E    -lpng -lz  -lruby18-static -lfreetype -lpng -lz  -lm   -lc"
/usr/X11R6/lib/libfreetype.so.18.0: warning: sprintf() is often misused, please use snprintf()
/usr/X11R6/lib/libfreetype.so.18.0: warning: strcat() is almost always misused, please use strlcat()
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */

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

find_library: checking for main() in -lart_lgpl_2... -------------------- yes

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/mips64el-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/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L. -L/usr/local/lib -Wl,-E    -lfreetype -lpng -lz  -lruby18-static -lart_lgpl_2 -lfreetype -lpng -lz  -lm   -lc"
/usr/X11R6/lib/libfreetype.so.18.0: warning: sprintf() is often misused, please use snprintf()
/usr/X11R6/lib/libfreetype.so.18.0: warning: strcat() is almost always misused, please use strlcat()
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */

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

have_library: checking for rrd_first() in -lrrd... -------------------- yes

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/mips64el-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/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L. -L/usr/local/lib -Wl,-E    -lart_lgpl_2 -lfreetype -lpng -lz  -lruby18-static -lrrd -lart_lgpl_2 -lfreetype -lpng -lz  -lm   -lc"
conftest.c: In function 't':
conftest.c:3: error: 'rrd_first' 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 ((*)()))rrd_first; return 0; }
/* end */

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/mips64el-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/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L. -L/usr/local/lib -Wl,-E    -lart_lgpl_2 -lfreetype -lpng -lz  -lruby18-static -lrrd -lart_lgpl_2 -lfreetype -lpng -lz  -lm   -lc"
/usr/local/lib/librrd.so.3.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libart_lgpl_2.so.5.20: warning: sprintf() is often misused, please use snprintf()
/usr/X11R6/lib/libfreetype.so.18.0: warning: strcat() is almost always misused, please use strlcat()
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { rrd_first(); return 0; }
/* end */

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

"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/mips64el-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/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L. -L/usr/local/lib -Wl,-E    -lrrd -lart_lgpl_2 -lfreetype -lpng -lz  -lruby18-static  -lm   -lc"
/usr/local/lib/librrd.so.3.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/librrd.so.3.0: warning: sprintf() is often misused, please use snprintf()
/usr/X11R6/lib/libfreetype.so.18.0: warning: strcat() is almost always misused, please use strlcat()
checked program was:
/* begin */
1: #include <rrd.h>
2: main()
3: {
4:   rrd_dump_r("/dev/null", NULL);
5: }
/* end */

