Project

General

Profile

mkmf.log

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

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

    
3
"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"
4
checked program was:
5
/* begin */
6
1: #include "ruby.h"
7
2: 
8
3: int main(void) {return 0;}
9
/* end */
10

    
11
"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"
12
/usr/bin/ld: cannot find -lfail
13
collect2: error: ld returned 1 exit status
14
checked program was:
15
/* begin */
16
1: #include "ruby.h"
17
2: 
18
3: /*top*/
19
4: int main(void) {return 0;}
20
5: extern int t(void);
21
6: int t(void) { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
22
/* end */
23

    
24
"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"
25
/usr/bin/ld: cannot find -lfail
26
collect2: error: ld returned 1 exit status
27
checked program was:
28
/* begin */
29
1: #include "ruby.h"
30
2: 
31
3: /*top*/
32
4: int main(void) {return 0;}
33
5: extern int t(void);
34
6: int t(void) { main(); return 0; }
35
/* end */
36

    
37
"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"
38
/home/steved/Documents/workspace/ruby-native-extension-bug/lib/libfail.so: undefined reference to `rb_define_module'
39
collect2: error: ld returned 1 exit status
40
checked program was:
41
/* begin */
42
1: #include "ruby.h"
43
2: 
44
3: /*top*/
45
4: int main(void) {return 0;}
46
5: extern int t(void);
47
6: int t(void) { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
48
/* end */
49

    
50
"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"
51
/home/steved/Documents/workspace/ruby-native-extension-bug/lib/libfail.so: undefined reference to `rb_define_module'
52
collect2: error: ld returned 1 exit status
53
checked program was:
54
/* begin */
55
1: #include "ruby.h"
56
2: 
57
3: /*top*/
58
4: int main(void) {return 0;}
59
5: extern int t(void);
60
6: int t(void) { main(); return 0; }
61
/* end */
62

    
63
--------------------
64