Skip to content

Instantly share code, notes, and snippets.

@shugo
Created September 26, 2011 15:25
Show Gist options
  • Save shugo/1242494 to your computer and use it in GitHub Desktop.
Save shugo/1242494 to your computer and use it in GitHub Desktop.
mkmf.log
have_func: checking for rb_thread_blocking_region()... -------------------- no
"gcc -o conftest -I/home/shugo/local/include/ruby-1.9.1/i686-linux -I/home/shugo/local/include/ruby-1.9.1/ruby/backward -I/home/shugo/local/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64 -O0 -g -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/home/shugo/local/lib -Wl,-R/home/shugo/local/lib -L. -rdynamic -Wl,-export-dynamic -lpthread -lrt -ldl -lcrypt -lm -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main() {return 0;}
/* end */
"gcc -o conftest -I/home/shugo/local/include/ruby-1.9.1/i686-linux -I/home/shugo/local/include/ruby-1.9.1/ruby/backward -I/home/shugo/local/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64 -O0 -g -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/home/shugo/local/lib -Wl,-R/home/shugo/local/lib -L. -rdynamic -Wl,-export-dynamic -lpthread -lrt -ldl -lcrypt -lm -lc"
/tmp/ccNU4jw7.o: In function `t':
/home/shugo/local/lib/ruby/gems/1.9.1/gems/mysql2-0.3.7/ext/mysql2/conftest.c:5: undefined reference to `rb_thread_blocking_region'
collect2: ld returned 1 exit status
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 */
"gcc -o conftest -I/home/shugo/local/include/ruby-1.9.1/i686-linux -I/home/shugo/local/include/ruby-1.9.1/ruby/backward -I/home/shugo/local/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64 -O0 -g -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/home/shugo/local/lib -Wl,-R/home/shugo/local/lib -L. -rdynamic -Wl,-export-dynamic -lpthread -lrt -ldl -lcrypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:5: error: too few arguments to function ‘rb_thread_blocking_region’
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: int main() {return 0;}
5: int t() { rb_thread_blocking_region(); return 0; }
/* end */
--------------------
have_header: checking for mysql.h... -------------------- yes
"gcc -E -I/home/shugo/local/include/ruby-1.9.1/i686-linux -I/home/shugo/local/include/ruby-1.9.1/ruby/backward -I/home/shugo/local/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/mysql -DBIG_JOINS=1 -fPIC -fno-strict-aliasing -O0 -g -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <mysql.h>
/* end */
--------------------
have_header: checking for errmsg.h... -------------------- yes
"gcc -E -I/home/shugo/local/include/ruby-1.9.1/i686-linux -I/home/shugo/local/include/ruby-1.9.1/ruby/backward -I/home/shugo/local/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/mysql -DBIG_JOINS=1 -fPIC -fno-strict-aliasing -O0 -g -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <errmsg.h>
/* end */
--------------------
have_header: checking for mysqld_error.h... -------------------- yes
"gcc -E -I/home/shugo/local/include/ruby-1.9.1/i686-linux -I/home/shugo/local/include/ruby-1.9.1/ruby/backward -I/home/shugo/local/include/ruby-1.9.1 -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/mysql -DBIG_JOINS=1 -fPIC -fno-strict-aliasing -O0 -g -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <mysqld_error.h>
/* end */
--------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment