Created
November 6, 2013 22:56
-
-
Save dstrctrng/7345721 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
have_func: checking for rb_str_set_len() in ruby.h... -------------------- no | |
"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl -I/opt/br/br-admin/pkg/include/db4 -I/usr/include -I/opt/br/br-admin/pkg/include -I/opt/br/br-admin/pkg/include/db4 -I/usr/include -I/opt/br/br-admin/pkg/include -O2 -Wno-error -pthread -I/opt/br/br-admin/pkg/include/db4 -I/usr/include -I/opt/br/br-admin/pkg/include -fPIC conftest.c -L. -L../.. -L. -L/opt/br/br-admin/pkg/lib -Wl,-R/opt/br/br-admin/pkg/lib -pthread -rdynamic -Wl,-export-dynamic -L/usr/lib64 -lssl -lcrypto -Wl,-R -Wl,/opt/br/br-admin/pkg/lib -L/opt/br/br-admin/pkg/lib -lruby193-static -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lpthread -lrt -lc" | |
../../libruby193-static.a(string.o): In function `rb_str_crypt': | |
string.c:(.text+0xa510): undefined reference to `crypt' | |
collect2: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <ruby.h> | |
4: | |
5: /*top*/ | |
6: int main(int argc, char **argv) | |
7: { | |
8: return 0; | |
9: } | |
10: extern int t(void); | |
11: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_str_set_len; return 0; } | |
/* end */ | |
"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl -I/opt/br/br-admin/pkg/include/db4 -I/usr/include -I/opt/br/br-admin/pkg/include -I/opt/br/br-admin/pkg/include/db4 -I/usr/include -I/opt/br/br-admin/pkg/include -O2 -Wno-error -pthread -I/opt/br/br-admin/pkg/include/db4 -I/usr/include -I/opt/br/br-admin/pkg/include -fPIC conftest.c -L. -L../.. -L. -L/opt/br/br-admin/pkg/lib -Wl,-R/opt/br/br-admin/pkg/lib -pthread -rdynamic -Wl,-export-dynamic -L/usr/lib64 -lssl -lcrypto -Wl,-R -Wl,/opt/br/br-admin/pkg/lib -L/opt/br/br-admin/pkg/lib -lruby193-static -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lpthread -lrt -lc" | |
conftest.c: In function 't': | |
conftest.c:11:1: error: too few arguments to function 'rb_str_set_len' | |
../.././include/ruby/intern.h:700:6: note: declared here | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <ruby.h> | |
4: | |
5: /*top*/ | |
6: int main(int argc, char **argv) | |
7: { | |
8: return 0; | |
9: } | |
10: extern int t(void); | |
11: int t(void) { rb_str_set_len(); return 0; } | |
/* end */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment