Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- have_library: checking for -lgnurx... -------------------- no
- "gcc -o conftest -I/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/include/ruby-2.4.0/x86_64-linux -I/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/include/ruby-2.4.0/ruby/backward -I/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/include/ruby-2.4.0 -I. -I/opt/local/include -I/usr/local/include -I/usr/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -fPIC conftest.c -L. -L/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/lib -Wl,-rpath,/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/lib -L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/lib -Wl,-rpath,/usr/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/lib -L/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/lib -lruby -lpthread -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 */
- "gcc -o conftest -I/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/include/ruby-2.4.0/x86_64-linux -I/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/include/ruby-2.4.0/ruby/backward -I/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/include/ruby-2.4.0 -I. -I/opt/local/include -I/usr/local/include -I/usr/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -fPIC conftest.c -L. -L/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/lib -Wl,-rpath,/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/lib -L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/lib -Wl,-rpath,/usr/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/lib -L/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/lib -lruby -lgnurx -lpthread -ldl -lcrypt -lm -lc"
- /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/ld: cannot find -lgnurx
- collect2: error: ld returned 1 exit status
- checked program was:
- /* begin */
- 1: #include "ruby.h"
- 2:
- 3: /*top*/
- 4: extern int t(void);
- 5: int main(int argc, char **argv)
- 6: {
- 7: if (argc > 1000000) {
- 8: printf("%p", &t);
- 9: }
- 10:
- 11: return 0;
- 12: }
- 13:
- 14: int t(void) { ; return 0; }
- /* end */
- --------------------
- have_library: checking for magic_open() in -lmagic... -------------------- no
- "gcc -o conftest -I/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/include/ruby-2.4.0/x86_64-linux -I/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/include/ruby-2.4.0/ruby/backward -I/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/include/ruby-2.4.0 -I. -I/opt/local/include -I/usr/local/include -I/usr/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -fPIC conftest.c -L. -L/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/lib -Wl,-rpath,/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/lib -L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/lib -Wl,-rpath,/usr/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/lib -L/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/lib -lruby -lmagic -lpthread -ldl -lcrypt -lm -lc"
- conftest.c: In function 't':
- conftest.c:13:57: error: 'magic_open' undeclared (first use in this function); did you mean 'rb_file_open'?
- int t(void) { void ((*volatile p)()); p = (void ((*)()))magic_open; return !p; }
- ^~~~~~~~~~
- rb_file_open
- conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in
- conftest.c: At top level:
- cc1: warning: unrecognized command line option '-Wno-self-assign'
- cc1: warning: unrecognized command line option '-Wno-constant-logical-operand'
- cc1: warning: unrecognized command line option '-Wno-parentheses-equality'
- checked program was:
- /* begin */
- 1: #include "ruby.h"
- 2:
- 3: /*top*/
- 4: extern int t(void);
- 5: int main(int argc, char **argv)
- 6: {
- 7: if (argc > 1000000) {
- 8: printf("%p", &t);
- 9: }
- 10:
- 11: return 0;
- 12: }
- 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))magic_open; return !p; }
- /* end */
- "gcc -o conftest -I/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/include/ruby-2.4.0/x86_64-linux -I/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/include/ruby-2.4.0/ruby/backward -I/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/include/ruby-2.4.0 -I. -I/opt/local/include -I/usr/local/include -I/usr/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -fPIC conftest.c -L. -L/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/lib -Wl,-rpath,/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/lib -L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/lib -Wl,-rpath,/usr/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/lib -L/nix/store/x932mdkafx2c4dzqznj7cwa6974lywr0-ruby-2.4.4/lib -lruby -lmagic -lpthread -ldl -lcrypt -lm -lc"
- /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/ld: cannot find -lmagic
- collect2: error: ld returned 1 exit status
- checked program was:
- /* begin */
- 1: #include "ruby.h"
- 2:
- 3: /*top*/
- 4: extern int t(void);
- 5: int main(int argc, char **argv)
- 6: {
- 7: if (argc > 1000000) {
- 8: printf("%p", &t);
- 9: }
- 10:
- 11: return 0;
- 12: }
- 13: extern void magic_open();
- 14: int t(void) { magic_open(); return 0; }
- /* end */
- --------------------
Advertisement
Add Comment
Please, Sign In to add comment