Advertisement
Guest User

Untitled

a guest
Nov 13th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. gcc -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.FI7fiGoW/test /tmp/ffconf.FI7fiGoW/test.o
  2. /usr/bin/ld: /tmp/ffconf.FI7fiGoW/test.o: in function `foo':
  3. test.c:(.text+0xa8): undefined reference to `cexp'
  4. collect2: error: ld returned 1 exit status
  5. require chromaprint chromaprint.h chromaprint_get_version -lchromaprint
  6. check_lib chromaprint chromaprint.h chromaprint_get_version -lchromaprint
  7. check_func_headers chromaprint.h chromaprint_get_version -lchromaprint
  8. test_ld cc -lchromaprint
  9. test_cc
  10. BEGIN /tmp/ffconf.FI7fiGoW/test.c
  11. 1 #include <chromaprint.h>
  12. 2 #include <stdint.h>
  13. 3 long check_chromaprint_get_version(void) { return (long) chromaprint_get_version; }
  14. 4 int main(void) { int ret = 0;
  15. 5 ret |= ((intptr_t)check_chromaprint_get_version) & 0xFFFF;
  16. 6 return ret; }
  17. END /tmp/ffconf.FI7fiGoW/test.c
  18. gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -std=c11 -fomit-frame-pointer -fPIC -I/usr/local/include -pthread -c -o /tmp/ffconf.FI7fiGoW/test.o /tmp/ffconf.FI7fiGoW/test.c
  19. gcc -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.FI7fiGoW/test /tmp/ffconf.FI7fiGoW/test.o -lchromaprint
  20. /usr/bin/ld: warning: libcodec2.so.0.7, needed by //usr/local/lib/libavcodec.so.58, not found (try using -rpath or -rpath-link)
  21. /usr/bin/ld: //usr/local/lib/libavcodec.so.58: undefined reference to `codec2_bits_per_frame'
  22. /usr/bin/ld: //usr/local/lib/libavcodec.so.58: undefined reference to `codec2_encode'
  23. /usr/bin/ld: //usr/local/lib/libavcodec.so.58: undefined reference to `codec2_destroy'
  24. /usr/bin/ld: //usr/local/lib/libavcodec.so.58: undefined reference to `codec2_decode'
  25. /usr/bin/ld: //usr/local/lib/libavcodec.so.58: undefined reference to `codec2_samples_per_frame'
  26. /usr/bin/ld: //usr/local/lib/libavcodec.so.58: undefined reference to `codec2_create'
  27. /usr/bin/ld: //usr/local/lib/libavcodec.so.58: undefined reference to `codec2_set_natural_or_gray'
  28. collect2: error: ld returned 1 exit status
  29. ERROR: chromaprint not found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement