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

"cc -o conftest -I/usr/local/include/ruby-1.9.1/sparc-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  -pthread -lm   -lc"
/usr/local/lib/libruby19.so.1.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libruby19.so.1.0: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libruby19.so.1.0: warning: sprintf() is often misused, please use snprintf()
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main() {return 0;}
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9.1/sparc-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 -lc  -pthread -lm   -lc"
/usr/local/lib/libruby19.so.1.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libruby19.so.1.0: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libruby19.so.1.0: 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 ((*)()))main; return 0; }
/* end */

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

