All pastes #493919 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-05-18 00:32 UTC
rendered paste body
"gcc -I. -I/usr/local/lib/ruby/1.9/i686-linux -I.  -g -O2   -c conftest.c"
checked program was:
/* begin */
1: /*top*/
2: #ifndef __GNUC__
3: # error
4: >>>>>> __GNUC__ undefined <<<<<<
5: #endif
/* end */

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

"gcc -o conftest -I. -I/usr/local/lib/ruby/1.9/i686-linux -I.  -I/usr/local/lib/ruby/site_ruby/1.9/i686-linux  -g -O2 -Wall conftest.c  -L'/usr/local/lib' -Wl,-R'/usr/local/lib'  -rdynamic -Wl,-export-dynamic     -lruby-static  -lpthread -ldl -lcrypt -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:3: error: ‘rb_define_alloc_func’ 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 ((*)()))rb_define_alloc_func; return 0; }
/* end */

"gcc -o conftest -I. -I/usr/local/lib/ruby/1.9/i686-linux -I.  -I/usr/local/lib/ruby/site_ruby/1.9/i686-linux  -g -O2 -Wall conftest.c  -L'/usr/local/lib' -Wl,-R'/usr/local/lib'  -rdynamic -Wl,-export-dynamic     -lruby-static  -lpthread -ldl -lcrypt -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:3: warning: implicit declaration of function ‘rb_define_alloc_func’
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { rb_define_alloc_func(); return 0; }
/* end */

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

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

"gcc -o conftest -I. -I/usr/local/lib/ruby/1.9/i686-linux -I.  -I/usr/local/lib/ruby/site_ruby/1.9/i686-linux  -g -O2 -Wall conftest.c  -L'/usr/local/lib' -Wl,-R'/usr/local/lib'  -rdynamic -Wl,-export-dynamic     -lruby-static  -lpthread -ldl -lcrypt -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:3: error: ‘rb_block_proc’ 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 ((*)()))rb_block_proc; return 0; }
/* end */

"gcc -o conftest -I. -I/usr/local/lib/ruby/1.9/i686-linux -I.  -I/usr/local/lib/ruby/site_ruby/1.9/i686-linux  -g -O2 -Wall conftest.c  -L'/usr/local/lib' -Wl,-R'/usr/local/lib'  -rdynamic -Wl,-export-dynamic     -lruby-static  -lpthread -ldl -lcrypt -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:3: warning: implicit declaration of function ‘rb_block_proc’
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { rb_block_proc(); return 0; }
/* end */

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

"gcc -I. -I/usr/local/lib/ruby/1.9/i686-linux -I.  -I/usr/local/lib/ruby/site_ruby/1.9/i686-linux  -g -O2 -Wall   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: #include "node.h"
3: int node_attrasgn = (int)NODE_ATTRASGN;
/* end */