Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- agnieszka@aga:~$ sudo apt-get install git cmake libusb-1.0-0.dev build-essentialReading package lists... Done
- Building dependency tree
- Reading state information... Done
- Note, selecting 'libusb-1.0-0-dev' for regex 'libusb-1.0-0.dev'
- build-essential is already the newest version (12.4ubuntu1).
- libusb-1.0-0-dev is already the newest version (2:1.0.21-2).
- cmake is already the newest version (3.10.2-1ubuntu2.18.04.1).
- git is already the newest version (1:2.17.1-1ubuntu0.5).
- The following package was automatically installed and is no longer required:
- linux-modules-5.0.0-36-generic
- Use 'sudo apt autoremove' to remove it.
- 0 upgraded, 0 newly installed, 0 to remove and 133 not upgraded.
- agnieszka@aga:~$ ls
- Desktop examples.desktop ns-allinone-3.30.1.tar.bz2 Templates
- Documents Music Pictures Videos
- Downloads ns-allinone-3.30.1 Public
- agnieszka@aga:~$ cd Desktop/
- agnieszka@aga:~/Desktop$ ls
- AgnieszkaRoś_Set5_Task3.pdf
- libiio-0.18
- librtlsdr-0.7.0
- PLUTO-odpalanie.odt
- pluto.png
- scratch
- 'Screenshot from 2019-10-20 14-06-23.png'
- 'Screenshot from 2019-10-20 18-39-15.png'
- 'Screenshot from 2019-10-20 19-22-11.png'
- 'Screenshot from 2019-10-20 19-22-52.png'
- 'Screenshot from 2019-10-20 19-46-18.png'
- 'Screenshot from 2019-10-20 19-47-50.png'
- 'Screenshot from 2019-10-20 19-52-29.png'
- 'Screenshot from 2019-11-03 21-31-02.png'
- 'Screenshot from 2019-11-03 22-30-54.png'
- 'Screenshot from 2019-11-03 22-32-58.png'
- 'Screenshot from 2019-11-21 13-30-51.png'
- 'Screenshot from 2019-11-21 14-36-11.png'
- 'Screenshot from 2019-11-28 21-29-12.png'
- 'Screenshot from 2019-11-28 21-29-42.png'
- 'Screenshot from 2019-11-28 21-56-36.png'
- 'swiatlowody w3.odt'
- 'swiatlowody w3.pdf'
- agnieszka@aga:~/Desktop$ cd librtlsdr-0.7.0/
- agnieszka@aga:~/Desktop/librtlsdr-0.7.0$ ls
- AUTHORS debian m4 rtl-sdr.rules
- cmake Doxyfile.in Makefile.am src
- CMakeLists.txt git-version-gen README.md win32-qtcreator
- configure.ac include README.rtlfm_cmdfile
- COPYING librtlsdr.pc.in README.rtlsdr_rpc
- agnieszka@aga:~/Desktop/librtlsdr-0.7.0$ cmake .
- -- The C compiler identification is GNU 7.4.0
- -- Check for working C compiler: /usr/bin/cc
- -- Check for working C compiler: /usr/bin/cc -- works
- -- Detecting C compiler ABI info
- -- Detecting C compiler ABI info - done
- -- Detecting C compile features
- -- Detecting C compile features - done
- -- Build type not specified: defaulting to release.
- -- Extracting version information from git describe...
- fatal: not a git repository (or any of the parent directories): .git
- -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
- -- Checking for module 'libusb-1.0'
- -- Found libusb-1.0, version 1.0.21
- -- Looking for libusb_handle_events_timeout_completed
- -- Looking for libusb_handle_events_timeout_completed - found
- -- Looking for libusb_error_name
- -- Looking for libusb_error_name - found
- -- Found libusb-1.0: /usr/include/libusb-1.0, /usr/lib/x86_64-linux-gnu/libusb-1.0.so
- -- Looking for include file pthread.h
- -- Looking for include file pthread.h - found
- -- Looking for pthread_create in pthreads
- -- Looking for pthread_create in pthreads - not found
- -- Looking for pthread_create in pthread
- -- Looking for pthread_create in pthread - found
- -- Found Threads: TRUE
- -- Udev rules not being installed, install them with -DINSTALL_UDEV_RULES=ON
- -- Building with kernel driver detaching disabled, use -DDETACH_KERNEL_DRIVER=ON to enable
- -- Building for version: / 0.7git
- -- Using install prefix: /usr/local
- -- Configuring done
- -- Generating done
- -- Build files have been written to: /home/agnieszka/Desktop/librtlsdr-0.7.0
- agnieszka@aga:~/Desktop/librtlsdr-0.7.0$ make
- Scanning dependencies of target convenience_static
- [ 2%] Building C object src/CMakeFiles/convenience_static.dir/convenience/convenience.c.o
- /home/agnieszka/Desktop/librtlsdr-0.7.0/src/convenience/convenience.c: In function ‘atofs’:
- /home/agnieszka/Desktop/librtlsdr-0.7.0/src/convenience/convenience.c:55:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
- suff *= 1e3;
- ~~~~~^~~~~~
- /home/agnieszka/Desktop/librtlsdr-0.7.0/src/convenience/convenience.c:56:3: note: here
- case 'm':
- ^~~~
- /home/agnieszka/Desktop/librtlsdr-0.7.0/src/convenience/convenience.c:58:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
- suff *= 1e3;
- ~~~~~^~~~~~
- /home/agnieszka/Desktop/librtlsdr-0.7.0/src/convenience/convenience.c:59:3: note: here
- case 'k':
- ^~~~
- /home/agnieszka/Desktop/librtlsdr-0.7.0/src/convenience/convenience.c: In function ‘atoft’:
- /home/agnieszka/Desktop/librtlsdr-0.7.0/src/convenience/convenience.c:82:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
- suff *= 60;
- ~~~~~^~~~~
- /home/agnieszka/Desktop/librtlsdr-0.7.0/src/convenience/convenience.c:83:3: note: here
- case 'm':
- ^~~~
- /home/agnieszka/Desktop/librtlsdr-0.7.0/src/convenience/convenience.c:85:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
- suff *= 60;
- ~~~~~^~~~~
- /home/agnieszka/Desktop/librtlsdr-0.7.0/src/convenience/convenience.c:86:3: note: here
- case 's':
- ^~~~
- [ 5%] Linking C static library libconvenience_static.a
- [ 5%] Built target convenience_static
- Scanning dependencies of target rtlsdr_shared
- [ 7%] Building C object src/CMakeFiles/rtlsdr_shared.dir/librtlsdr.c.o
- /home/agnieszka/Desktop/librtlsdr-0.7.0/src/librtlsdr.c: In function ‘rtlsdr_open’:
- /home/agnieszka/Desktop/librtlsdr-0.7.0/src/librtlsdr.c:1957:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
- dev->tun_xtal = R828D_XTAL_FREQ;
- /home/agnieszka/Desktop/librtlsdr-0.7.0/src/librtlsdr.c:1958:2: note: here
- case RTLSDR_TUNER_R820T:
- ^~~~
- [ 10%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_e4k.c.o
- [ 12%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_fc0012.c.o
- [ 15%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_fc0013.c.o
- [ 17%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_fc2580.c.o
- [ 20%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_r82xx.c.o
- [ 23%] Building C object src/CMakeFiles/rtlsdr_shared.dir/rtlsdr_rpc.c.o
- [ 25%] Building C object src/CMakeFiles/rtlsdr_shared.dir/rtlsdr_rpc_msg.c.o
- [ 28%] Linking C shared library librtlsdr.so
- [ 28%] Built target rtlsdr_shared
- Scanning dependencies of target rtl_test
- [ 30%] Building C object src/CMakeFiles/rtl_test.dir/rtl_test.c.o
- [ 33%] Linking C executable rtl_test
- [ 33%] Built target rtl_test
- Scanning dependencies of target rtl_tcp
- [ 35%] Building C object src/CMakeFiles/rtl_tcp.dir/rtl_tcp.c.o
- [ 38%] Linking C executable rtl_tcp
- [ 38%] Built target rtl_tcp
- Scanning dependencies of target rtlsdr_static
- [ 41%] Building C object src/CMakeFiles/rtlsdr_static.dir/librtlsdr.c.o
- /home/agnieszka/Desktop/librtlsdr-0.7.0/src/librtlsdr.c: In function ‘rtlsdr_open’:
- /home/agnieszka/Desktop/librtlsdr-0.7.0/src/librtlsdr.c:1957:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
- dev->tun_xtal = R828D_XTAL_FREQ;
- /home/agnieszka/Desktop/librtlsdr-0.7.0/src/librtlsdr.c:1958:2: note: here
- case RTLSDR_TUNER_R820T:
- ^~~~
- [ 43%] Building C object src/CMakeFiles/rtlsdr_static.dir/tuner_e4k.c.o
- [ 46%] Building C object src/CMakeFiles/rtlsdr_static.dir/tuner_fc0012.c.o
- [ 48%] Building C object src/CMakeFiles/rtlsdr_static.dir/tuner_fc0013.c.o
- [ 51%] Building C object src/CMakeFiles/rtlsdr_static.dir/tuner_fc2580.c.o
- [ 53%] Building C object src/CMakeFiles/rtlsdr_static.dir/tuner_r82xx.c.o
- [ 56%] Building C object src/CMakeFiles/rtlsdr_static.dir/rtlsdr_rpc.c.o
- [ 58%] Building C object src/CMakeFiles/rtlsdr_static.dir/rtlsdr_rpc_msg.c.o
- [ 61%] Linking C static library librtlsdr.a
- [ 61%] Built target rtlsdr_static
- Scanning dependencies of target rtl_eeprom
- [ 64%] Building C object src/CMakeFiles/rtl_eeprom.dir/rtl_eeprom.c.o
- /home/agnieszka/Desktop/librtlsdr-0.7.0/src/rtl_eeprom.c: In function ‘main’:
- /home/agnieszka/Desktop/librtlsdr-0.7.0/src/rtl_eeprom.c:305:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
- change = 1;
- ~~~~~~~^~~
- /home/agnieszka/Desktop/librtlsdr-0.7.0/src/rtl_eeprom.c:306:3: note: here
- case 'r':
- ^~~~
- [ 66%] Linking C executable rtl_eeprom
- [ 66%] Built target rtl_eeprom
- Scanning dependencies of target rtl_fm
- [ 69%] Building C object src/CMakeFiles/rtl_fm.dir/rtl_fm.c.o
- /home/agnieszka/Desktop/librtlsdr-0.7.0/src/rtl_fm.c: In function ‘rtlsdr_callback’:
- /home/agnieszka/Desktop/librtlsdr-0.7.0/src/rtl_fm.c:1303:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- while ( len >= 16384 * step )
- ^~
- [ 71%] Linking C executable rtl_fm
- [ 71%] Built target rtl_fm
- Scanning dependencies of target rtl_ir
- [ 74%] Building C object src/CMakeFiles/rtl_ir.dir/rtl_ir.c.o
- [ 76%] Linking C executable rtl_ir
- [ 76%] Built target rtl_ir
- Scanning dependencies of target rtl_adsb
- [ 79%] Building C object src/CMakeFiles/rtl_adsb.dir/rtl_adsb.c.o
- [ 82%] Linking C executable rtl_adsb
- [ 82%] Built target rtl_adsb
- Scanning dependencies of target rtl_power
- [ 84%] Building C object src/CMakeFiles/rtl_power.dir/rtl_power.c.o
- [ 87%] Linking C executable rtl_power
- [ 87%] Built target rtl_power
- Scanning dependencies of target rtl_rpcd
- [ 89%] Building C object src/CMakeFiles/rtl_rpcd.dir/rtl_rpcd.c.o
- [ 92%] Building C object src/CMakeFiles/rtl_rpcd.dir/rtlsdr_rpc_msg.c.o
- [ 94%] Linking C executable rtl_rpcd
- [ 94%] Built target rtl_rpcd
- Scanning dependencies of target rtl_sdr
- [ 97%] Building C object src/CMakeFiles/rtl_sdr.dir/rtl_sdr.c.o
- [100%] Linking C executable rtl_sdr
- [100%] Built target rtl_sdr
- agnieszka@aga:~/Desktop/librtlsdr-0.7.0$ sudo make install
- [ 5%] Built target convenience_static
- [ 28%] Built target rtlsdr_shared
- [ 33%] Built target rtl_test
- [ 38%] Built target rtl_tcp
- [ 61%] Built target rtlsdr_static
- [ 66%] Built target rtl_eeprom
- [ 71%] Built target rtl_fm
- [ 76%] Built target rtl_ir
- [ 82%] Built target rtl_adsb
- [ 87%] Built target rtl_power
- [ 94%] Built target rtl_rpcd
- [100%] Built target rtl_sdr
- Install the project...
- -- Install configuration: "Release"
- -- Installing: /usr/local/lib/pkgconfig/librtlsdr.pc
- -- Installing: /usr/local/include/rtl-sdr.h
- -- Installing: /usr/local/include/rtl_tcp.h
- -- Installing: /usr/local/include/rtl-sdr_export.h
- -- Installing: /usr/local/lib/librtlsdr.so.0.7git
- -- Installing: /usr/local/lib/librtlsdr.so.0
- -- Installing: /usr/local/lib/librtlsdr.so
- -- Installing: /usr/local/lib/librtlsdr.a
- -- Installing: /usr/local/bin/rtl_sdr
- -- Set runtime path of "/usr/local/bin/rtl_sdr" to ""
- -- Installing: /usr/local/bin/rtl_tcp
- -- Set runtime path of "/usr/local/bin/rtl_tcp" to ""
- -- Installing: /usr/local/bin/rtl_test
- -- Set runtime path of "/usr/local/bin/rtl_test" to ""
- -- Installing: /usr/local/bin/rtl_fm
- -- Set runtime path of "/usr/local/bin/rtl_fm" to ""
- -- Installing: /usr/local/bin/rtl_ir
- -- Set runtime path of "/usr/local/bin/rtl_ir" to ""
- -- Installing: /usr/local/bin/rtl_eeprom
- -- Set runtime path of "/usr/local/bin/rtl_eeprom" to ""
- -- Installing: /usr/local/bin/rtl_adsb
- -- Set runtime path of "/usr/local/bin/rtl_adsb" to ""
- -- Installing: /usr/local/bin/rtl_power
- -- Set runtime path of "/usr/local/bin/rtl_power" to ""
- -- Installing: /usr/local/bin/rtl_rpcd
- -- Set runtime path of "/usr/local/bin/rtl_rpcd" to ""
- agnieszka@aga:~/Desktop/librtlsdr-0.7.0$ sudo ldconfig
- agnieszka@aga:~/Desktop/librtlsdr-0.7.0$ cd Desktop/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement