Project

General

Profile

Bug #8455 ยป mkmf.log

steved (Steve Dierker), 05/28/2013 01:40 AM

 
find_library: checking for main()... -------------------- -lfail

"gcc -o conftest -I/home/steved/.rbenv/versions/2.0.0-p0/include/ruby-2.0.0/x86_64-linux -I/home/steved/.rbenv/versions/2.0.0-p0/include/ruby-2.0.0/ruby/backward -I/home/steved/.rbenv/versions/2.0.0-p0/include/ruby-2.0.0 -I../../../../ext/good -I'/home/steved/.rbenv/versions/2.0.0-p0/include' conftest.c -L. -L/home/steved/.rbenv/versions/2.0.0-p0/lib -Wl,-R/home/steved/.rbenv/versions/2.0.0-p0/lib -L. -L'/home/steved/.rbenv/versions/2.0.0-p0/lib' -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/steved/.rbenv/versions/2.0.0-p0/lib -L/home/steved/.rbenv/versions/2.0.0-p0/lib -lruby-static -lpthread -lrt -ldl -lcrypt -lm -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(void) {return 0;}
/* end */

"gcc -o conftest -I/home/steved/.rbenv/versions/2.0.0-p0/include/ruby-2.0.0/x86_64-linux -I/home/steved/.rbenv/versions/2.0.0-p0/include/ruby-2.0.0/ruby/backward -I/home/steved/.rbenv/versions/2.0.0-p0/include/ruby-2.0.0 -I../../../../ext/good -I'/home/steved/.rbenv/versions/2.0.0-p0/include' conftest.c -L. -L/home/steved/.rbenv/versions/2.0.0-p0/lib -Wl,-R/home/steved/.rbenv/versions/2.0.0-p0/lib -L. -L'/home/steved/.rbenv/versions/2.0.0-p0/lib' -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/steved/.rbenv/versions/2.0.0-p0/lib -L/home/steved/.rbenv/versions/2.0.0-p0/lib -lruby-static -lfail -lpthread -lrt -ldl -lcrypt -lm -lc"
/usr/bin/ld: cannot find -lfail
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: int main(void) {return 0;}
5: extern int t(void);
6: int t(void) { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */

"gcc -o conftest -I/home/steved/.rbenv/versions/2.0.0-p0/include/ruby-2.0.0/x86_64-linux -I/home/steved/.rbenv/versions/2.0.0-p0/include/ruby-2.0.0/ruby/backward -I/home/steved/.rbenv/versions/2.0.0-p0/include/ruby-2.0.0 -I../../../../ext/good -I'/home/steved/.rbenv/versions/2.0.0-p0/include' conftest.c -L. -L/home/steved/.rbenv/versions/2.0.0-p0/lib -Wl,-R/home/steved/.rbenv/versions/2.0.0-p0/lib -L. -L'/home/steved/.rbenv/versions/2.0.0-p0/lib' -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/steved/.rbenv/versions/2.0.0-p0/lib -L/home/steved/.rbenv/versions/2.0.0-p0/lib -lruby-static -lfail -lpthread -lrt -ldl -lcrypt -lm -lc"
/usr/bin/ld: cannot find -lfail
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: int main(void) {return 0;}
5: extern int t(void);
6: int t(void) { main(); return 0; }
/* end */

"gcc -o conftest -I/home/steved/.rbenv/versions/2.0.0-p0/include/ruby-2.0.0/x86_64-linux -I/home/steved/.rbenv/versions/2.0.0-p0/include/ruby-2.0.0/ruby/backward -I/home/steved/.rbenv/versions/2.0.0-p0/include/ruby-2.0.0 -I../../../../ext/good -I'/home/steved/.rbenv/versions/2.0.0-p0/include' conftest.c -L. -L/home/steved/.rbenv/versions/2.0.0-p0/lib -Wl,-R/home/steved/.rbenv/versions/2.0.0-p0/lib -L/home/steved/Documents/workspace/ruby-native-extension-bug/lib -Wl,-R/home/steved/Documents/workspace/ruby-native-extension-bug/lib -L. -L'/home/steved/.rbenv/versions/2.0.0-p0/lib' -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/steved/.rbenv/versions/2.0.0-p0/lib -L/home/steved/.rbenv/versions/2.0.0-p0/lib -lruby-static -lfail -lpthread -lrt -ldl -lcrypt -lm -lc"
/home/steved/Documents/workspace/ruby-native-extension-bug/lib/libfail.so: undefined reference to `rb_define_module'
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: int main(void) {return 0;}
5: extern int t(void);
6: int t(void) { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */

"gcc -o conftest -I/home/steved/.rbenv/versions/2.0.0-p0/include/ruby-2.0.0/x86_64-linux -I/home/steved/.rbenv/versions/2.0.0-p0/include/ruby-2.0.0/ruby/backward -I/home/steved/.rbenv/versions/2.0.0-p0/include/ruby-2.0.0 -I../../../../ext/good -I'/home/steved/.rbenv/versions/2.0.0-p0/include' conftest.c -L. -L/home/steved/.rbenv/versions/2.0.0-p0/lib -Wl,-R/home/steved/.rbenv/versions/2.0.0-p0/lib -L/home/steved/Documents/workspace/ruby-native-extension-bug/lib -Wl,-R/home/steved/Documents/workspace/ruby-native-extension-bug/lib -L. -L'/home/steved/.rbenv/versions/2.0.0-p0/lib' -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/steved/.rbenv/versions/2.0.0-p0/lib -L/home/steved/.rbenv/versions/2.0.0-p0/lib -lruby-static -lfail -lpthread -lrt -ldl -lcrypt -lm -lc"
/home/steved/Documents/workspace/ruby-native-extension-bug/lib/libfail.so: undefined reference to `rb_define_module'
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: int main(void) {return 0;}
5: extern int t(void);
6: int t(void) { main(); return 0; }
/* end */

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

    (1-1/1)