Advertisement
Guest User

Untitled

a guest
Jun 14th, 2018
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.09 KB | None | 0 0
  1. gcc -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.wIRvwFTx/test /tmp/ffconf.wIRvwFTx/test.o
  2. /tmp/ffconf.wIRvwFTx/test.o: In function `foo':
  3. test.c:(.text+0xcf): undefined reference to `cexp'
  4. collect2: error: ld returned 1 exit status
  5. require_pkg_config libopus opus opus_multistream.h opus_multistream_decoder_create
  6. check_pkg_config libopus opus opus_multistream.h opus_multistream_decoder_create
  7. test_pkg_config libopus opus opus_multistream.h opus_multistream_decoder_create
  8. pkg-config --exists --print-errors opus
  9. check_func_headers opus_multistream.h opus_multistream_decoder_create -I/usr/include/opus -lopus
  10. test_ld cc -I/usr/include/opus -lopus
  11. test_cc -I/usr/include/opus
  12. BEGIN /tmp/ffconf.wIRvwFTx/test.c
  13. 1 #include <opus_multistream.h>
  14. 2 #include <stdint.h>
  15. 3 long check_opus_multistream_decoder_create(void) { return (long) opus_multistream_decoder_create; }
  16. 4 int main(void) { int ret = 0;
  17. 5 ret |= ((intptr_t)check_opus_multistream_decoder_create) & 0xFFFF;
  18. 6 return ret; }
  19. END /tmp/ffconf.wIRvwFTx/test.c
  20. gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c11 -fomit-frame-pointer -pthread -I/usr/include/opus -c -o /tmp/ffconf.wIRvwFTx/test.o /tmp/ffconf.wIRvwFTx/test.c
  21. gcc -Wl,--as-needed -Wl,-z,noexecstack -I/usr/include/opus -o /tmp/ffconf.wIRvwFTx/test /tmp/ffconf.wIRvwFTx/test.o -lopus
  22. require_pkg_config libopus opus opus_multistream.h opus_multistream_surround_encoder_create
  23. check_pkg_config libopus opus opus_multistream.h opus_multistream_surround_encoder_create
  24. test_pkg_config libopus opus opus_multistream.h opus_multistream_surround_encoder_create
  25. pkg-config --exists --print-errors opus
  26. check_func_headers opus_multistream.h opus_multistream_surround_encoder_create -I/usr/include/opus -lopus
  27. test_ld cc -I/usr/include/opus -lopus
  28. test_cc -I/usr/include/opus
  29. BEGIN /tmp/ffconf.wIRvwFTx/test.c
  30. 1 #include <opus_multistream.h>
  31. 2 #include <stdint.h>
  32. 3 long check_opus_multistream_surround_encoder_create(void) { return (long) opus_multistream_surround_encoder_create; }
  33. 4 int main(void) { int ret = 0;
  34. 5 ret |= ((intptr_t)check_opus_multistream_surround_encoder_create) & 0xFFFF;
  35. 6 return ret; }
  36. END /tmp/ffconf.wIRvwFTx/test.c
  37. gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -std=c11 -fomit-frame-pointer -pthread -I/usr/include/opus -I/usr/include/opus -c -o /tmp/ffconf.wIRvwFTx/test.o /tmp/ffconf.wIRvwFTx/test.c
  38. /tmp/ffconf.wIRvwFTx/test.c: In function 'check_opus_multistream_surround_encoder_create':
  39. /tmp/ffconf.wIRvwFTx/test.c:3:75: error: 'opus_multistream_surround_encoder_create' undeclared (first use in this function)
  40. long check_opus_multistream_surround_encoder_create(void) { return (long) opus_multistream_surround_encoder_create; }
  41. ^
  42. /tmp/ffconf.wIRvwFTx/test.c:3:75: note: each undeclared identifier is reported only once for each function it appears in
  43. ERROR: opus not found using pkg-config
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement