Advertisement
Guest User

Untitled

a guest
Jan 24th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.46 KB | None | 0 0
  1. Mrhoades-Desktop:dump1090 mrhoades$ sudo make
  2. make: pkg-config: Command not found
  3. cc -O2 -g -Wall -W  -c dump1090.c
  4. dump1090.c:1784:17: warning: absolute value function 'abs' given an argument of
  5.       type 'long long' but has parameter of type 'int' which may cause
  6.       truncation of value [-Wabsolute-value]
  7.             if (abs(a->even_cprtime - a->odd_cprtime) <= 10000) {
  8.                 ^
  9. dump1090.c:1784:17: note: use function 'llabs' instead
  10.             if (abs(a->even_cprtime - a->odd_cprtime) <= 10000) {
  11.                 ^~~
  12.                 llabs
  13. 1 warning generated.
  14. make: pkg-config: Command not found
  15. cc -O2 -g -Wall -W  -c anet.c
  16. make: pkg-config: Command not found
  17. cc -g -o dump1090 dump1090.o anet.o   -lpthread -lm
  18. Undefined symbols for architecture x86_64:
  19.   "_rtlsdr_close", referenced from:
  20.       _main in dump1090.o
  21.   "_rtlsdr_get_device_count", referenced from:
  22.       _modesInitRTLSDR in dump1090.o
  23.   "_rtlsdr_get_device_usb_strings", referenced from:
  24.       _modesInitRTLSDR in dump1090.o
  25.   "_rtlsdr_get_tuner_gain", referenced from:
  26.       _modesInitRTLSDR in dump1090.o
  27.   "_rtlsdr_get_tuner_gains", referenced from:
  28.       _modesInitRTLSDR in dump1090.o
  29.   "_rtlsdr_open", referenced from:
  30.       _modesInitRTLSDR in dump1090.o
  31.   "_rtlsdr_read_async", referenced from:
  32.       _readerThreadEntryPoint in dump1090.o
  33.   "_rtlsdr_reset_buffer", referenced from:
  34.       _modesInitRTLSDR in dump1090.o
  35.   "_rtlsdr_set_agc_mode", referenced from:
  36.       _modesInitRTLSDR in dump1090.o
  37.   "_rtlsdr_set_center_freq", referenced from:
  38.       _modesInitRTLSDR in dump1090.o
  39.   "_rtlsdr_set_freq_correction", referenced from:
  40.       _modesInitRTLSDR in dump1090.o
  41.   "_rtlsdr_set_sample_rate", referenced from:
  42.       _modesInitRTLSDR in dump1090.o
  43.   "_rtlsdr_set_tuner_gain", referenced from:
  44.       _modesInitRTLSDR in dump1090.o
  45.   "_rtlsdr_set_tuner_gain_mode", referenced from:
  46.       _modesInitRTLSDR in dump1090.o
  47. ld: symbol(s) not found for architecture x86_64
  48. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  49. make: *** [dump1090] Error 1
  50. Mrhoades-Desktop:dump1090 mrhoades$ /dump1090 –interactive –net
  51. -bash: /dump1090: No such file or directory
  52. Mrhoades-Desktop:dump1090 mrhoades$ sudo ./dump1090 –interactive –net
  53. sudo: ./dump1090: command not found
  54. Mrhoades-Desktop:dump1090 mrhoades$ ls
  55. Makefile    anet.c      dump1090.c  testfiles
  56. README.md   anet.h      dump1090.o  tools
  57. TODO        anet.o      gmap.html
  58. Mrhoades-Desktop:dump1090 mrhoades$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement