have_library: checking for main() in -lGL... -------------------- no
-"gcc -o conftest -I/Users/tacyas/Eos/util/X86MAC64/include/ruby-1.9.1/x86_64-darwin13.2.0 -I/Users/tacyas/Eos/util/X86MAC64/include/ruby-1.9.1/ruby/backward -I/Users/tacyas/Eos/util/X86MAC64/include/ruby-1.9.1 -I. -I/Users/tacyas/Eos/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -pipe conftest.c -L. -L/Users/tacyas/Eos/util/X86MAC64/lib -L/usr/lib -L/Users/tacyas/Eos/lib/X86MAC64 -L/Users/tacyas/Eos/util/X86MAC64/lib -L. -L/usr/local/lib -lruby-static -lpthread -ldl -lobjc "
+"gcc -o conftest -I/home/people/tacyas/Eos/util/X86LINUX64/include/ruby-1.9.1/x86_64-linux -I/home/people/tacyas/Eos/util/X86LINUX64/include/ruby-1.9.1/ruby/backward -I/home/people/tacyas/Eos/util/X86LINUX64/include/ruby-1.9.1 -I. -I/home/people/tacyas/Eos/include -O3 -ggdb -Wall -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/people/tacyas/Eos/util/X86LINUX64/lib -Wl,-R/home/people/tacyas/Eos/util/X86LINUX64/lib -L/usr/lib -Wl,-R/usr/lib -L/home/people/tacyas/Eos/lib/X86LINUX64 -Wl,-R/home/people/tacyas/Eos/lib/X86LINUX64 -L/home/people/tacyas/Eos/util/X86LINUX64/lib -Wl,-R/home/people/tacyas/Eos/util/X86LINUX64/lib -L. -L/home/people/tacyas/Eos/util/X86LINUX64/lib -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/people/tacyas/Eos/util/X86LINUX64/lib -L/home/people/tacyas/Eos/util/X86LINUX64/lib -lruby-static -lpthread -lrt -ldl -lcrypt -lm -lc"
+/home/people/tacyas/Eos/util/X86LINUX64/lib/ruby/1.9.1/mkmf.rb:317: warning: Insecure world writable dir /net/fs08/workFS08 in PATH, mode 040777
checked program was:
/* begin */
1: #include "ruby.h"
2:
-3: int main() {return 0;}
+3: int main(int argc, char **argv)
+4: {
+5: return 0;
+6: }
/* end */
-"gcc -o conftest -I/Users/tacyas/Eos/util/X86MAC64/include/ruby-1.9.1/x86_64-darwin13.2.0 -I/Users/tacyas/Eos/util/X86MAC64/include/ruby-1.9.1/ruby/backward -I/Users/tacyas/Eos/util/X86MAC64/include/ruby-1.9.1 -I. -I/Users/tacyas/Eos/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -pipe conftest.c -L. -L/Users/tacyas/Eos/util/X86MAC64/lib -L/usr/lib -L/Users/tacyas/Eos/lib/X86MAC64 -L/Users/tacyas/Eos/util/X86MAC64/lib -L. -L/usr/local/lib -lruby-static -lGL -lpthread -ldl -lobjc "
-ld: library not found for -lGL
-clang: error: linker command failed with exit code 1 (use -v to see invocation)
+"gcc -o conftest -I/home/people/tacyas/Eos/util/X86LINUX64/include/ruby-1.9.1/x86_64-linux -I/home/people/tacyas/Eos/util/X86LINUX64/include/ruby-1.9.1/ruby/backward -I/home/people/tacyas/Eos/util/X86LINUX64/include/ruby-1.9.1 -I. -I/home/people/tacyas/Eos/include -O3 -ggdb -Wall -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/people/tacyas/Eos/util/X86LINUX64/lib -Wl,-R/home/people/tacyas/Eos/util/X86LINUX64/lib -L/usr/lib -Wl,-R/usr/lib -L/home/people/tacyas/Eos/lib/X86LINUX64 -Wl,-R/home/people/tacyas/Eos/lib/X86LINUX64 -L/home/people/tacyas/Eos/util/X86LINUX64/lib -Wl,-R/home/people/tacyas/Eos/util/X86LINUX64/lib -L. -L/home/people/tacyas/Eos/util/X86LINUX64/lib -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/people/tacyas/Eos/util/X86LINUX64/lib -L/home/people/tacyas/Eos/util/X86LINUX64/lib -lruby-static -lGL -lpthread -lrt -ldl -lcrypt -lm -lc"
+conftest.c: In function ‘t’:
+conftest.c:4: error: ‘main’ undeclared (first use in this function)
+conftest.c:4: error: (Each undeclared identifier is reported only once
+conftest.c:4: error: for each function it appears in.)
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; }
+ 1: #include "ruby.h"
+ 2:
+ 3: /*top*/
+ 4: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
+ 5: int main(int argc, char **argv)
+ 6: {
+ 7: if (argc > 1000000) {
+ 8: printf("%p", &t);
+ 9: }
+10:
+11: return 0;
+12: }
/* end */
-<<<<<<< HEAD
-"gcc -o conftest -I/home/people/tacyas/Eos/util/X86LINUX64/include/ruby-1.9.1/x86_64-linux -I/home/people/tacyas/Eos/util/X86LINUX64/include/ruby-1.9.1/ruby/backward -I/home/people/tacyas/Eos/util/X86LINUX64/include/ruby-1.9.1 -I. -I/home/people/tacyas/Eos/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long conftest.c -L. -L/home/people/tacyas/Eos/util/X86LINUX64/lib -Wl,-R/home/people/tacyas/Eos/util/X86LINUX64/lib -L/usr/lib -Wl,-R/usr/lib -L/home/people/tacyas/Eos/lib/X86LINUX64 -Wl,-R/home/people/tacyas/Eos/lib/X86LINUX64 -L/home/people/tacyas/Eos/util/X86LINUX64/lib -Wl,-R/home/people/tacyas/Eos/util/X86LINUX64/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/people/tacyas/Eos/util/X86LINUX64/lib -L/home/people/tacyas/Eos/util/X86LINUX64/lib -lruby-static -lGL -lpthread -lrt -ldl -lcrypt -lm -lc"
+"gcc -o conftest -I/home/people/tacyas/Eos/util/X86LINUX64/include/ruby-1.9.1/x86_64-linux -I/home/people/tacyas/Eos/util/X86LINUX64/include/ruby-1.9.1/ruby/backward -I/home/people/tacyas/Eos/util/X86LINUX64/include/ruby-1.9.1 -I. -I/home/people/tacyas/Eos/include -O3 -ggdb -Wall -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/people/tacyas/Eos/util/X86LINUX64/lib -Wl,-R/home/people/tacyas/Eos/util/X86LINUX64/lib -L/usr/lib -Wl,-R/usr/lib -L/home/people/tacyas/Eos/lib/X86LINUX64 -Wl,-R/home/people/tacyas/Eos/lib/X86LINUX64 -L/home/people/tacyas/Eos/util/X86LINUX64/lib -Wl,-R/home/people/tacyas/Eos/util/X86LINUX64/lib -L. -L/home/people/tacyas/Eos/util/X86LINUX64/lib -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/people/tacyas/Eos/util/X86LINUX64/lib -L/home/people/tacyas/Eos/util/X86LINUX64/lib -lruby-static -lGL -lpthread -lrt -ldl -lcrypt -lm -lc"
+conftest.c: In function ‘t’:
+conftest.c:4: 警告: implicit declaration of function ‘main’
+conftest.c:7: 警告: ‘argc’ is used uninitialized in this function
+conftest.c:4: note: ‘argc’ was declared here
/usr/bin/ld: cannot find -lGL
collect2: ld はステータス 1 で終了しました
-=======
-"gcc -o conftest -I/Users/tacyas/Eos/util/X86MAC64/include/ruby-1.9.1/x86_64-darwin13.2.0 -I/Users/tacyas/Eos/util/X86MAC64/include/ruby-1.9.1/ruby/backward -I/Users/tacyas/Eos/util/X86MAC64/include/ruby-1.9.1 -I. -I/Users/tacyas/Eos/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -pipe conftest.c -L. -L/Users/tacyas/Eos/util/X86MAC64/lib -L/usr/lib -L/Users/tacyas/Eos/lib/X86MAC64 -L/Users/tacyas/Eos/util/X86MAC64/lib -L. -L/usr/local/lib -lruby-static -lGL -lpthread -ldl -lobjc "
-ld: library not found for -lGL
-clang: error: linker command failed with exit code 1 (use -v to see invocation)
->>>>>>> FETCH_HEAD
checked program was:
/* begin */
-1: #include "ruby.h"
-2:
-3: /*top*/
-4: int main() {return 0;}
-5: int t() { main(); return 0; }
+ 1: #include "ruby.h"
+ 2:
+ 3: /*top*/
+ 4: int t() { main(); return 0; }
+ 5: int main(int argc, char **argv)
+ 6: {
+ 7: if (argc > 1000000) {
+ 8: printf("%p", &t);
+ 9: }
+10:
+11: return 0;
+12: }
/* end */
--------------------