have_library: checking for main() in -lCGAL... -------------------- yes "x86_64-pc-linux-gnu-gcc -o conftest -I/usr/include/ruby-2.0.0/x86_64-linux -I/usr/include/ruby-2.0.0/ruby/backward -I/usr/include/ruby-2.0.0 -I. -march=native -msse3 -O2 -floop-interchange -floop-strip-mine -floop-block -pipe -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -Wl,-O1 -Wl,--as-needed -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -lruby20 -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 */ "x86_64-pc-linux-gnu-gcc -o conftest -I/usr/include/ruby-2.0.0/x86_64-linux -I/usr/include/ruby-2.0.0/ruby/backward -I/usr/include/ruby-2.0.0 -I. -march=native -msse3 -O2 -floop-interchange -floop-strip-mine -floop-block -pipe -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -Wl,-O1 -Wl,--as-needed -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -lruby20 -lCGAL -lpthread -lrt -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:5:57: error: ‘main’ undeclared (first use in this function) conftest.c:5:57: note: each undeclared identifier is reported only once 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 */ "x86_64-pc-linux-gnu-gcc -o conftest -I/usr/include/ruby-2.0.0/x86_64-linux -I/usr/include/ruby-2.0.0/ruby/backward -I/usr/include/ruby-2.0.0 -I. -march=native -msse3 -O2 -floop-interchange -floop-strip-mine -floop-block -pipe -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -Wl,-O1 -Wl,--as-needed -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -lruby20 -lCGAL -lpthread -lrt -ldl -lcrypt -lm -lc" 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 */ -------------------- have_library: checking for main() in -lCGAL_Core... -------------------- yes "x86_64-pc-linux-gnu-gcc -o conftest -I/usr/include/ruby-2.0.0/x86_64-linux -I/usr/include/ruby-2.0.0/ruby/backward -I/usr/include/ruby-2.0.0 -I. -march=native -msse3 -O2 -floop-interchange -floop-strip-mine -floop-block -pipe -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -Wl,-O1 -Wl,--as-needed -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -lCGAL -lruby20 -lCGAL_Core -lCGAL -lpthread -lrt -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:5:57: error: ‘main’ undeclared (first use in this function) conftest.c:5:57: note: each undeclared identifier is reported only once 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 */ "x86_64-pc-linux-gnu-gcc -o conftest -I/usr/include/ruby-2.0.0/x86_64-linux -I/usr/include/ruby-2.0.0/ruby/backward -I/usr/include/ruby-2.0.0 -I. -march=native -msse3 -O2 -floop-interchange -floop-strip-mine -floop-block -pipe -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -Wl,-O1 -Wl,--as-needed -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -lCGAL -lruby20 -lCGAL_Core -lCGAL -lpthread -lrt -ldl -lcrypt -lm -lc" 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 */ -------------------- have_library: checking for main() in -lgmp... -------------------- yes "x86_64-pc-linux-gnu-gcc -o conftest -I/usr/include/ruby-2.0.0/x86_64-linux -I/usr/include/ruby-2.0.0/ruby/backward -I/usr/include/ruby-2.0.0 -I. -march=native -msse3 -O2 -floop-interchange -floop-strip-mine -floop-block -pipe -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -Wl,-O1 -Wl,--as-needed -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -lCGAL_Core -lCGAL -lruby20 -lgmp -lCGAL_Core -lCGAL -lpthread -lrt -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:5:57: error: ‘main’ undeclared (first use in this function) conftest.c:5:57: note: each undeclared identifier is reported only once 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 */ "x86_64-pc-linux-gnu-gcc -o conftest -I/usr/include/ruby-2.0.0/x86_64-linux -I/usr/include/ruby-2.0.0/ruby/backward -I/usr/include/ruby-2.0.0 -I. -march=native -msse3 -O2 -floop-interchange -floop-strip-mine -floop-block -pipe -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -Wl,-O1 -Wl,--as-needed -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -lCGAL_Core -lCGAL -lruby20 -lgmp -lCGAL_Core -lCGAL -lpthread -lrt -ldl -lcrypt -lm -lc" 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 */ --------------------