have_library: checking for main() in -lpthread… ——————– yes

“gcc -o conftest -I/opt/rh/ruby200/root/usr/include -I/opt/rh/ruby200/root/usr/include/ruby/backward -I/opt/rh/ruby200/root/usr/include -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -mtune=generic -fPIC conftest.c -L. -L/opt/rh/ruby200/root/usr/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lruby -lpthread -lrt -ldl -lcrypt -lm -lc” checked program was:

begin

1: include “ruby.h” 2: 3: int main(int argc, char **argv) 4: { 5: return 0; 6: }

end

“gcc -o conftest -I/opt/rh/ruby200/root/usr/include -I/opt/rh/ruby200/root/usr/include/ruby/backward -I/opt/rh/ruby200/root/usr/include -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -mtune=generic -fPIC conftest.c -L. -L/opt/rh/ruby200/root/usr/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lruby -lpthread -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:5: error: 'main' undeclared (first use in this function) conftest.c:5: error: (Each undeclared identifier is reported only once conftest.c:5: error: for each function it appears in.) checked program was: /* begin */

1: #include "ruby.h"
2: 
3: /*top*/
4: extern int t(void);
5: int t(void) { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
6: int main(int argc, char **argv)
7: {
8:   if (argc > 1000000) {
9:     printf("%p", &t);

10: } 11: 12: return 0; 13: } /* end */

“gcc -o conftest -I/opt/rh/ruby200/root/usr/include -I/opt/rh/ruby200/root/usr/include/ruby/backward -I/opt/rh/ruby200/root/usr/include -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -mtune=generic -fPIC conftest.c -L. -L/opt/rh/ruby200/root/usr/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lruby -lpthread -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:5: warning: implicit declaration of function 'main' checked program was: /* begin */

1: #include "ruby.h"
2: 
3: /*top*/
4: extern int t(void);
5: int t(void) { main(); return 0; }
6: int main(int argc, char **argv)
7: {
8:   if (argc > 1000000) {
9:     printf("%p", &t);

10: } 11: 12: return 0; 13: } /* end */


find_header: checking for v8.h in /opt/rh/v8314/root/usr/lib64… ——————– yes

“gcc -E -I/opt/rh/ruby200/root/usr/include -I/opt/rh/ruby200/root/usr/include/ruby/backward -I/opt/rh/ruby200/root/usr/include -I. -I/opt/rh/v8314/root/usr/include -Wall -g -rdynamic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -mtune=generic -fPIC conftest.c -o conftest.i” checked program was: /* begin */ 1: include “ruby.h” 2: 3: include <v8.h> /* end */