Advertisement
Guest User

Untitled

a guest
Jan 20th, 2020
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.47 KB | None | 0 0
  1. agnieszka@aga:~$ sudo apt-get install git cmake libusb-1.0-0.dev build-essentialReading package lists... Done
  2. Building dependency tree
  3. Reading state information... Done
  4. Note, selecting 'libusb-1.0-0-dev' for regex 'libusb-1.0-0.dev'
  5. build-essential is already the newest version (12.4ubuntu1).
  6. libusb-1.0-0-dev is already the newest version (2:1.0.21-2).
  7. cmake is already the newest version (3.10.2-1ubuntu2.18.04.1).
  8. git is already the newest version (1:2.17.1-1ubuntu0.5).
  9. The following package was automatically installed and is no longer required:
  10. linux-modules-5.0.0-36-generic
  11. Use 'sudo apt autoremove' to remove it.
  12. 0 upgraded, 0 newly installed, 0 to remove and 133 not upgraded.
  13. agnieszka@aga:~$ ls
  14. Desktop examples.desktop ns-allinone-3.30.1.tar.bz2 Templates
  15. Documents Music Pictures Videos
  16. Downloads ns-allinone-3.30.1 Public
  17. agnieszka@aga:~$ cd Desktop/
  18. agnieszka@aga:~/Desktop$ ls
  19. AgnieszkaRoś_Set5_Task3.pdf
  20. libiio-0.18
  21. librtlsdr-0.7.0
  22. PLUTO-odpalanie.odt
  23. pluto.png
  24. scratch
  25. 'Screenshot from 2019-10-20 14-06-23.png'
  26. 'Screenshot from 2019-10-20 18-39-15.png'
  27. 'Screenshot from 2019-10-20 19-22-11.png'
  28. 'Screenshot from 2019-10-20 19-22-52.png'
  29. 'Screenshot from 2019-10-20 19-46-18.png'
  30. 'Screenshot from 2019-10-20 19-47-50.png'
  31. 'Screenshot from 2019-10-20 19-52-29.png'
  32. 'Screenshot from 2019-11-03 21-31-02.png'
  33. 'Screenshot from 2019-11-03 22-30-54.png'
  34. 'Screenshot from 2019-11-03 22-32-58.png'
  35. 'Screenshot from 2019-11-21 13-30-51.png'
  36. 'Screenshot from 2019-11-21 14-36-11.png'
  37. 'Screenshot from 2019-11-28 21-29-12.png'
  38. 'Screenshot from 2019-11-28 21-29-42.png'
  39. 'Screenshot from 2019-11-28 21-56-36.png'
  40. 'swiatlowody w3.odt'
  41. 'swiatlowody w3.pdf'
  42. agnieszka@aga:~/Desktop$ cd librtlsdr-0.7.0/
  43. agnieszka@aga:~/Desktop/librtlsdr-0.7.0$ ls
  44. AUTHORS debian m4 rtl-sdr.rules
  45. cmake Doxyfile.in Makefile.am src
  46. CMakeLists.txt git-version-gen README.md win32-qtcreator
  47. configure.ac include README.rtlfm_cmdfile
  48. COPYING librtlsdr.pc.in README.rtlsdr_rpc
  49. agnieszka@aga:~/Desktop/librtlsdr-0.7.0$ cmake .
  50. -- The C compiler identification is GNU 7.4.0
  51. -- Check for working C compiler: /usr/bin/cc
  52. -- Check for working C compiler: /usr/bin/cc -- works
  53. -- Detecting C compiler ABI info
  54. -- Detecting C compiler ABI info - done
  55. -- Detecting C compile features
  56. -- Detecting C compile features - done
  57. -- Build type not specified: defaulting to release.
  58. -- Extracting version information from git describe...
  59. fatal: not a git repository (or any of the parent directories): .git
  60. -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
  61. -- Checking for module 'libusb-1.0'
  62. -- Found libusb-1.0, version 1.0.21
  63. -- Looking for libusb_handle_events_timeout_completed
  64. -- Looking for libusb_handle_events_timeout_completed - found
  65. -- Looking for libusb_error_name
  66. -- Looking for libusb_error_name - found
  67. -- Found libusb-1.0: /usr/include/libusb-1.0, /usr/lib/x86_64-linux-gnu/libusb-1.0.so
  68. -- Looking for include file pthread.h
  69. -- Looking for include file pthread.h - found
  70. -- Looking for pthread_create in pthreads
  71. -- Looking for pthread_create in pthreads - not found
  72. -- Looking for pthread_create in pthread
  73. -- Looking for pthread_create in pthread - found
  74. -- Found Threads: TRUE
  75. -- Udev rules not being installed, install them with -DINSTALL_UDEV_RULES=ON
  76. -- Building with kernel driver detaching disabled, use -DDETACH_KERNEL_DRIVER=ON to enable
  77. -- Building for version: / 0.7git
  78. -- Using install prefix: /usr/local
  79. -- Configuring done
  80. -- Generating done
  81. -- Build files have been written to: /home/agnieszka/Desktop/librtlsdr-0.7.0
  82. agnieszka@aga:~/Desktop/librtlsdr-0.7.0$ make
  83. Scanning dependencies of target convenience_static
  84. [ 2%] Building C object src/CMakeFiles/convenience_static.dir/convenience/convenience.c.o
  85. /home/agnieszka/Desktop/librtlsdr-0.7.0/src/convenience/convenience.c: In function ‘atofs’:
  86. /home/agnieszka/Desktop/librtlsdr-0.7.0/src/convenience/convenience.c:55:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
  87. suff *= 1e3;
  88. ~~~~~^~~~~~
  89. /home/agnieszka/Desktop/librtlsdr-0.7.0/src/convenience/convenience.c:56:3: note: here
  90. case 'm':
  91. ^~~~
  92. /home/agnieszka/Desktop/librtlsdr-0.7.0/src/convenience/convenience.c:58:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
  93. suff *= 1e3;
  94. ~~~~~^~~~~~
  95. /home/agnieszka/Desktop/librtlsdr-0.7.0/src/convenience/convenience.c:59:3: note: here
  96. case 'k':
  97. ^~~~
  98. /home/agnieszka/Desktop/librtlsdr-0.7.0/src/convenience/convenience.c: In function ‘atoft’:
  99. /home/agnieszka/Desktop/librtlsdr-0.7.0/src/convenience/convenience.c:82:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
  100. suff *= 60;
  101. ~~~~~^~~~~
  102. /home/agnieszka/Desktop/librtlsdr-0.7.0/src/convenience/convenience.c:83:3: note: here
  103. case 'm':
  104. ^~~~
  105. /home/agnieszka/Desktop/librtlsdr-0.7.0/src/convenience/convenience.c:85:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
  106. suff *= 60;
  107. ~~~~~^~~~~
  108. /home/agnieszka/Desktop/librtlsdr-0.7.0/src/convenience/convenience.c:86:3: note: here
  109. case 's':
  110. ^~~~
  111. [ 5%] Linking C static library libconvenience_static.a
  112. [ 5%] Built target convenience_static
  113. Scanning dependencies of target rtlsdr_shared
  114. [ 7%] Building C object src/CMakeFiles/rtlsdr_shared.dir/librtlsdr.c.o
  115. /home/agnieszka/Desktop/librtlsdr-0.7.0/src/librtlsdr.c: In function ‘rtlsdr_open’:
  116. /home/agnieszka/Desktop/librtlsdr-0.7.0/src/librtlsdr.c:1957:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
  117. dev->tun_xtal = R828D_XTAL_FREQ;
  118. /home/agnieszka/Desktop/librtlsdr-0.7.0/src/librtlsdr.c:1958:2: note: here
  119. case RTLSDR_TUNER_R820T:
  120. ^~~~
  121. [ 10%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_e4k.c.o
  122. [ 12%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_fc0012.c.o
  123. [ 15%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_fc0013.c.o
  124. [ 17%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_fc2580.c.o
  125. [ 20%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_r82xx.c.o
  126. [ 23%] Building C object src/CMakeFiles/rtlsdr_shared.dir/rtlsdr_rpc.c.o
  127. [ 25%] Building C object src/CMakeFiles/rtlsdr_shared.dir/rtlsdr_rpc_msg.c.o
  128. [ 28%] Linking C shared library librtlsdr.so
  129. [ 28%] Built target rtlsdr_shared
  130. Scanning dependencies of target rtl_test
  131. [ 30%] Building C object src/CMakeFiles/rtl_test.dir/rtl_test.c.o
  132. [ 33%] Linking C executable rtl_test
  133. [ 33%] Built target rtl_test
  134. Scanning dependencies of target rtl_tcp
  135. [ 35%] Building C object src/CMakeFiles/rtl_tcp.dir/rtl_tcp.c.o
  136. [ 38%] Linking C executable rtl_tcp
  137. [ 38%] Built target rtl_tcp
  138. Scanning dependencies of target rtlsdr_static
  139. [ 41%] Building C object src/CMakeFiles/rtlsdr_static.dir/librtlsdr.c.o
  140. /home/agnieszka/Desktop/librtlsdr-0.7.0/src/librtlsdr.c: In function ‘rtlsdr_open’:
  141. /home/agnieszka/Desktop/librtlsdr-0.7.0/src/librtlsdr.c:1957:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
  142. dev->tun_xtal = R828D_XTAL_FREQ;
  143. /home/agnieszka/Desktop/librtlsdr-0.7.0/src/librtlsdr.c:1958:2: note: here
  144. case RTLSDR_TUNER_R820T:
  145. ^~~~
  146. [ 43%] Building C object src/CMakeFiles/rtlsdr_static.dir/tuner_e4k.c.o
  147. [ 46%] Building C object src/CMakeFiles/rtlsdr_static.dir/tuner_fc0012.c.o
  148. [ 48%] Building C object src/CMakeFiles/rtlsdr_static.dir/tuner_fc0013.c.o
  149. [ 51%] Building C object src/CMakeFiles/rtlsdr_static.dir/tuner_fc2580.c.o
  150. [ 53%] Building C object src/CMakeFiles/rtlsdr_static.dir/tuner_r82xx.c.o
  151. [ 56%] Building C object src/CMakeFiles/rtlsdr_static.dir/rtlsdr_rpc.c.o
  152. [ 58%] Building C object src/CMakeFiles/rtlsdr_static.dir/rtlsdr_rpc_msg.c.o
  153. [ 61%] Linking C static library librtlsdr.a
  154. [ 61%] Built target rtlsdr_static
  155. Scanning dependencies of target rtl_eeprom
  156. [ 64%] Building C object src/CMakeFiles/rtl_eeprom.dir/rtl_eeprom.c.o
  157. /home/agnieszka/Desktop/librtlsdr-0.7.0/src/rtl_eeprom.c: In function ‘main’:
  158. /home/agnieszka/Desktop/librtlsdr-0.7.0/src/rtl_eeprom.c:305:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
  159. change = 1;
  160. ~~~~~~~^~~
  161. /home/agnieszka/Desktop/librtlsdr-0.7.0/src/rtl_eeprom.c:306:3: note: here
  162. case 'r':
  163. ^~~~
  164. [ 66%] Linking C executable rtl_eeprom
  165. [ 66%] Built target rtl_eeprom
  166. Scanning dependencies of target rtl_fm
  167. [ 69%] Building C object src/CMakeFiles/rtl_fm.dir/rtl_fm.c.o
  168. /home/agnieszka/Desktop/librtlsdr-0.7.0/src/rtl_fm.c: In function ‘rtlsdr_callback’:
  169. /home/agnieszka/Desktop/librtlsdr-0.7.0/src/rtl_fm.c:1303:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  170. while ( len >= 16384 * step )
  171. ^~
  172. [ 71%] Linking C executable rtl_fm
  173. [ 71%] Built target rtl_fm
  174. Scanning dependencies of target rtl_ir
  175. [ 74%] Building C object src/CMakeFiles/rtl_ir.dir/rtl_ir.c.o
  176. [ 76%] Linking C executable rtl_ir
  177. [ 76%] Built target rtl_ir
  178. Scanning dependencies of target rtl_adsb
  179. [ 79%] Building C object src/CMakeFiles/rtl_adsb.dir/rtl_adsb.c.o
  180. [ 82%] Linking C executable rtl_adsb
  181. [ 82%] Built target rtl_adsb
  182. Scanning dependencies of target rtl_power
  183. [ 84%] Building C object src/CMakeFiles/rtl_power.dir/rtl_power.c.o
  184. [ 87%] Linking C executable rtl_power
  185. [ 87%] Built target rtl_power
  186. Scanning dependencies of target rtl_rpcd
  187. [ 89%] Building C object src/CMakeFiles/rtl_rpcd.dir/rtl_rpcd.c.o
  188. [ 92%] Building C object src/CMakeFiles/rtl_rpcd.dir/rtlsdr_rpc_msg.c.o
  189. [ 94%] Linking C executable rtl_rpcd
  190. [ 94%] Built target rtl_rpcd
  191. Scanning dependencies of target rtl_sdr
  192. [ 97%] Building C object src/CMakeFiles/rtl_sdr.dir/rtl_sdr.c.o
  193. [100%] Linking C executable rtl_sdr
  194. [100%] Built target rtl_sdr
  195. agnieszka@aga:~/Desktop/librtlsdr-0.7.0$ sudo make install
  196. [ 5%] Built target convenience_static
  197. [ 28%] Built target rtlsdr_shared
  198. [ 33%] Built target rtl_test
  199. [ 38%] Built target rtl_tcp
  200. [ 61%] Built target rtlsdr_static
  201. [ 66%] Built target rtl_eeprom
  202. [ 71%] Built target rtl_fm
  203. [ 76%] Built target rtl_ir
  204. [ 82%] Built target rtl_adsb
  205. [ 87%] Built target rtl_power
  206. [ 94%] Built target rtl_rpcd
  207. [100%] Built target rtl_sdr
  208. Install the project...
  209. -- Install configuration: "Release"
  210. -- Installing: /usr/local/lib/pkgconfig/librtlsdr.pc
  211. -- Installing: /usr/local/include/rtl-sdr.h
  212. -- Installing: /usr/local/include/rtl_tcp.h
  213. -- Installing: /usr/local/include/rtl-sdr_export.h
  214. -- Installing: /usr/local/lib/librtlsdr.so.0.7git
  215. -- Installing: /usr/local/lib/librtlsdr.so.0
  216. -- Installing: /usr/local/lib/librtlsdr.so
  217. -- Installing: /usr/local/lib/librtlsdr.a
  218. -- Installing: /usr/local/bin/rtl_sdr
  219. -- Set runtime path of "/usr/local/bin/rtl_sdr" to ""
  220. -- Installing: /usr/local/bin/rtl_tcp
  221. -- Set runtime path of "/usr/local/bin/rtl_tcp" to ""
  222. -- Installing: /usr/local/bin/rtl_test
  223. -- Set runtime path of "/usr/local/bin/rtl_test" to ""
  224. -- Installing: /usr/local/bin/rtl_fm
  225. -- Set runtime path of "/usr/local/bin/rtl_fm" to ""
  226. -- Installing: /usr/local/bin/rtl_ir
  227. -- Set runtime path of "/usr/local/bin/rtl_ir" to ""
  228. -- Installing: /usr/local/bin/rtl_eeprom
  229. -- Set runtime path of "/usr/local/bin/rtl_eeprom" to ""
  230. -- Installing: /usr/local/bin/rtl_adsb
  231. -- Set runtime path of "/usr/local/bin/rtl_adsb" to ""
  232. -- Installing: /usr/local/bin/rtl_power
  233. -- Set runtime path of "/usr/local/bin/rtl_power" to ""
  234. -- Installing: /usr/local/bin/rtl_rpcd
  235. -- Set runtime path of "/usr/local/bin/rtl_rpcd" to ""
  236. agnieszka@aga:~/Desktop/librtlsdr-0.7.0$ sudo ldconfig
  237. agnieszka@aga:~/Desktop/librtlsdr-0.7.0$ cd Desktop/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement