Advertisement
Guest User

Untitled

a guest
Jan 2nd, 2019
557
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 85.59 KB | None | 0 0
  1. login as: pi
  2. pi@192.168.1.217's password:
  3. Linux raspberrypi 4.14.79+ #1159 Sun Nov 4 17:28:08 GMT 2018 armv6l
  4.  
  5. The programs included with the Debian GNU/Linux system are free software;
  6. the exact distribution terms for each program are described in the
  7. individual files in /usr/share/doc/*/copyright.
  8.  
  9. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
  10. permitted by applicable law.
  11. Last login: Wed Jan 2 14:05:41 2019
  12.  
  13. SSH is enabled and the default password for the 'pi' user has not been changed.
  14. This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
  15.  
  16. pi@raspberrypi:~ $ sudo apt install git automake libtool python3-pip
  17. Reading package lists... Done
  18. Building dependency tree
  19. Reading state information... Done
  20. git is already the newest version (1:2.11.0-3+deb9u4).
  21. python3-pip is already the newest version (9.0.1-2+rpt2).
  22. The following additional packages will be installed:
  23. autoconf autotools-dev libltdl-dev libsigsegv2 m4
  24. Suggested packages:
  25. autoconf-archive gnu-standards autoconf-doc gettext libtool-doc gfortran
  26. | fortran95-compiler gcj-jdk m4-doc
  27. The following NEW packages will be installed:
  28. autoconf automake autotools-dev libltdl-dev libsigsegv2 libtool m4
  29. 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
  30. Need to get 2,062 kB of archives.
  31. After this operation, 6,362 kB of additional disk space will be used.
  32. Do you want to continue? [Y/n] Y
  33. Get:1 http://raspbian.mirror.uk.sargasso.net/raspbian stretch/main armhf libsigs egv2 armhf 2.10-5 [28.4 kB]
  34. Get:2 http://raspbian.mirror.uk.sargasso.net/raspbian stretch/main armhf m4 armh f 1.4.18-1 [185 kB]
  35. Get:3 http://raspbian.mirror.uk.sargasso.net/raspbian stretch/main armhf autocon f all 2.69-10 [338 kB]
  36. Get:4 http://raspbian.mirror.uk.sargasso.net/raspbian stretch/main armhf autotoo ls-dev all 20161112.1 [73.4 kB]
  37. Get:5 http://raspbian.mirror.uk.sargasso.net/raspbian stretch/main armhf automak e all 1:1.15-6 [733 kB]
  38. Get:6 http://raspbian.mirror.uk.sargasso.net/raspbian stretch/main armhf libltdl -dev armhf 2.4.6-2 [159 kB]
  39. Get:7 http://raspbian.mirror.uk.sargasso.net/raspbian stretch/main armhf libtool all 2.4.6-2 [545 kB]
  40. Fetched 2,062 kB in 1s (1,784 kB/s)
  41. Selecting previously unselected package libsigsegv2:armhf.
  42. (Reading database ... 80756 files and directories currently installed.)
  43. Preparing to unpack .../0-libsigsegv2_2.10-5_armhf.deb ...
  44. Unpacking libsigsegv2:armhf (2.10-5) ...
  45. Selecting previously unselected package m4.
  46. Preparing to unpack .../1-m4_1.4.18-1_armhf.deb ...
  47. Unpacking m4 (1.4.18-1) ...
  48. Selecting previously unselected package autoconf.
  49. Preparing to unpack .../2-autoconf_2.69-10_all.deb ...
  50. Unpacking autoconf (2.69-10) ...
  51. Selecting previously unselected package autotools-dev.
  52. Preparing to unpack .../3-autotools-dev_20161112.1_all.deb ...
  53. Unpacking autotools-dev (20161112.1) ...
  54. Selecting previously unselected package automake.
  55. Preparing to unpack .../4-automake_1%3a1.15-6_all.deb ...
  56. Unpacking automake (1:1.15-6) ...
  57. Selecting previously unselected package libltdl-dev:armhf.
  58. Preparing to unpack .../5-libltdl-dev_2.4.6-2_armhf.deb ...
  59. Unpacking libltdl-dev:armhf (2.4.6-2) ...
  60. Selecting previously unselected package libtool.
  61. Preparing to unpack .../6-libtool_2.4.6-2_all.deb ...
  62. Unpacking libtool (2.4.6-2) ...
  63. Setting up libltdl-dev:armhf (2.4.6-2) ...
  64. Setting up libsigsegv2:armhf (2.10-5) ...
  65. Processing triggers for install-info (6.3.0.dfsg.1-1+b1) ...
  66. Setting up m4 (1.4.18-1) ...
  67. Processing triggers for libc-bin (2.24-11+deb9u3) ...
  68. Setting up autotools-dev (20161112.1) ...
  69. Processing triggers for man-db (2.7.6.1-2) ...
  70. Setting up libtool (2.4.6-2) ...
  71. Setting up autoconf (2.69-10) ...
  72. Setting up automake (1:1.15-6) ...
  73. update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode
  74. pi@raspberrypi:~ $ git clone --depth 1 --recursive -b dtls https://github.com/home-assistant/libcoap.git
  75. Cloning into 'libcoap'...
  76. remote: Enumerating objects: 138, done.
  77. remote: Counting objects: 100% (138/138), done.
  78. remote: Compressing objects: 100% (120/120), done.
  79. remote: Total 138 (delta 9), reused 58 (delta 9), pack-reused 0
  80. Receiving objects: 100% (138/138), 235.93 KiB | 0 bytes/s, done.
  81. Resolving deltas: 100% (9/9), done.
  82. Submodule 'ext/tinydtls' (https://git.eclipse.org/r/tinydtls/org.eclipse.tinydtls) registered for path 'ext/tinydtls'
  83. Cloning into '/home/pi/libcoap/ext/tinydtls'...
  84. remote: Total 551 (delta 0), reused 551 (delta 0) B/s
  85. Receiving objects: 100% (551/551), 599.42 KiB | 855.00 KiB/s, done.
  86. Resolving deltas: 100% (235/235), done.
  87. Submodule path 'ext/tinydtls': checked out 'cc5863fa0e438ba1fa46c05f2a27cd8dd3d85b96'
  88. pi@raspberrypi:~ $ cd libcoap
  89. pi@raspberrypi:~/libcoap $ ./autogen.sh
  90.  
  91. [HINT] You can run 'autogen.sh --clean' to remove all generated files by the autotools.
  92.  
  93. Found 'autoconf'.
  94. Found 'aclocal'.
  95.  
  96. Couldn't find 'libtool'!
  97. Found 'libtoolize'.
  98.  
  99. ---> Found all needed tools! That's fine.
  100.  
  101. Generating needed autotools files for libcoap by running autoreconf ...
  102. autoreconf: Entering directory `.'
  103. autoreconf: configure.ac: not using Gettext
  104. autoreconf: running: aclocal --force ${ACLOCAL_FLAGS} -I m4
  105. autoreconf: configure.ac: tracing
  106. autoreconf: configure.ac: adding subdirectory ext/tinydtls to autoreconf
  107. autoreconf: Entering directory `ext/tinydtls'
  108. autoreconf: running: aclocal --force
  109. autoreconf: configure.ac: not using Libtool
  110. autoreconf: running: /usr/bin/autoconf --force
  111. autoreconf: running: /usr/bin/autoheader --force
  112. autoreconf: configure.ac: not using Automake
  113. autoreconf: Leaving directory `ext/tinydtls'
  114. autoreconf: running: libtoolize --copy --force
  115. libtoolize: putting auxiliary files in '.'.
  116. libtoolize: copying file './ltmain.sh'
  117. libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
  118. libtoolize: copying file 'm4/libtool.m4'
  119. libtoolize: copying file 'm4/ltoptions.m4'
  120. libtoolize: copying file 'm4/ltsugar.m4'
  121. libtoolize: copying file 'm4/ltversion.m4'
  122. libtoolize: copying file 'm4/lt~obsolete.m4'
  123. autoreconf: running: automake --add-missing --copy --force-missing
  124. configure.ac:29: installing './ar-lib'
  125. configure.ac:25: installing './compile'
  126. configure.ac:33: installing './config.guess'
  127. configure.ac:33: installing './config.sub'
  128. configure.ac:18: installing './install-sh'
  129. configure.ac:18: installing './missing'
  130. Makefile.am: installing './INSTALL'
  131. Makefile.am: installing './depcomp'
  132. autoreconf: Leaving directory `.'
  133.  
  134. You can now run 'configure --help' to see possible configuration options.
  135. Otherwise process the configure script to create the makefiles and generated helper files.
  136.  
  137. pi@raspberrypi:~/libcoap $ ./configure --disable-documentation --disable-shared --without-debug CFLAGS="-D COAP_DEBUG_FD=stderr"
  138. checking for a BSD-compatible install... /usr/bin/install -c
  139. checking whether build environment is sane... yes
  140. checking for a thread-safe mkdir -p... /bin/mkdir -p
  141. checking for gawk... no
  142. checking for mawk... mawk
  143. checking whether make sets $(MAKE)... yes
  144. checking whether make supports nested variables... yes
  145. checking for gcc... gcc
  146. checking whether the C compiler works... yes
  147. checking for C compiler default output file name... a.out
  148. checking for suffix of executables...
  149. checking whether we are cross compiling... no
  150. checking for suffix of object files... o
  151. checking whether we are using the GNU C compiler... yes
  152. checking whether gcc accepts -g... yes
  153. checking for gcc option to accept ISO C89... none needed
  154. checking whether gcc understands -c and -o together... yes
  155. checking for style of include used by make... GNU
  156. checking dependency style of gcc... gcc3
  157. checking for ar... ar
  158. checking the archiver (ar) interface... ar
  159. checking build system type... armv6l-unknown-linux-gnueabihf
  160. checking host system type... armv6l-unknown-linux-gnueabihf
  161. checking how to print strings... printf
  162. checking for a sed that does not truncate output... /bin/sed
  163. checking for grep that handles long lines and -e... /bin/grep
  164. checking for egrep... /bin/grep -E
  165. checking for fgrep... /bin/grep -F
  166. checking for ld used by gcc... /usr/bin/ld
  167. checking if the linker (/usr/bin/ld) is GNU ld... yes
  168. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  169. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  170. checking whether ln -s works... yes
  171. checking the maximum length of command line arguments... 1572864
  172. checking how to convert armv6l-unknown-linux-gnueabihf file names to armv6l-unknown-linux-gnueabihf format... func_convert_file_noop
  173. checking how to convert armv6l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
  174. checking for /usr/bin/ld option to reload object files... -r
  175. checking for objdump... objdump
  176. checking how to recognize dependent libraries... pass_all
  177. checking for dlltool... no
  178. checking how to associate runtime and link libraries... printf %s\n
  179. checking for archiver @FILE support... @
  180. checking for strip... strip
  181. checking for ranlib... ranlib
  182. checking command to parse /usr/bin/nm -B output from gcc object... ok
  183. checking for sysroot... no
  184. checking for a working dd... /bin/dd
  185. checking how to truncate binary pipes... /bin/dd bs=4096 count=1
  186. checking for mt... mt
  187. checking if mt is a manifest tool... no
  188. checking how to run the C preprocessor... gcc -E
  189. checking for ANSI C header files... yes
  190. checking for sys/types.h... yes
  191. checking for sys/stat.h... yes
  192. checking for stdlib.h... yes
  193. checking for string.h... yes
  194. checking for memory.h... yes
  195. checking for strings.h... yes
  196. checking for inttypes.h... yes
  197. checking for stdint.h... yes
  198. checking for unistd.h... yes
  199. checking for dlfcn.h... yes
  200. checking for objdir... .libs
  201. checking if gcc supports -fno-rtti -fno-exceptions... no
  202. checking for gcc option to produce PIC... -fPIC -DPIC
  203. checking if gcc PIC flag -fPIC -DPIC works... yes
  204. checking if gcc static flag -static works... yes
  205. checking if gcc supports -c -o file.o... yes
  206. checking if gcc supports -c -o file.o... (cached) yes
  207. checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
  208. checking dynamic linker characteristics... GNU/Linux ld.so
  209. checking how to hardcode library paths into programs... immediate
  210. checking whether stripping libraries is possible... yes
  211. checking if libtool supports shared libraries... yes
  212. checking whether to build shared libraries... no
  213. checking whether to build static libraries... yes
  214. checking whether C compiler accepts -Wlogical-op... yes
  215. checking whether C compiler accepts -fdiagnostics-color... yes
  216. checking whether the linker accepts -Wl,--version-script=./libcoap-1.map... yes
  217. checking for ctags... no
  218. configure: ==> Note: 'ctags' command not found!
  219. configure: WARNING: ==> Without ctags you will be unable to run the target 'update-map-file'!
  220. configure: WARNING: ==> This is no problem if you just want to build the library libcoap.
  221. configure: ==> Note: your ctags does not support '--c-kinds'!
  222. configure: ==> Most likely, you are using the GNU Emacs ctag and not exuberant ctag
  223. configure: WARNING: ==> This option is required for target 'update-map-file'
  224. configure: WARNING: ==> which is not a problem if you just want to build the library libcoap.
  225. checking assert.h usability... yes
  226. checking assert.h presence... yes
  227. checking for assert.h... yes
  228. checking arpa/inet.h usability... yes
  229. checking arpa/inet.h presence... yes
  230. checking for arpa/inet.h... yes
  231. checking limits.h usability... yes
  232. checking limits.h presence... yes
  233. checking for limits.h... yes
  234. checking netdb.h usability... yes
  235. checking netdb.h presence... yes
  236. checking for netdb.h... yes
  237. checking netinet/in.h usability... yes
  238. checking netinet/in.h presence... yes
  239. checking for netinet/in.h... yes
  240. checking for stdlib.h... (cached) yes
  241. checking for string.h... (cached) yes
  242. checking for strings.h... (cached) yes
  243. checking sys/socket.h usability... yes
  244. checking sys/socket.h presence... yes
  245. checking for sys/socket.h... yes
  246. checking sys/time.h usability... yes
  247. checking sys/time.h presence... yes
  248. checking for sys/time.h... yes
  249. checking time.h usability... yes
  250. checking time.h presence... yes
  251. checking for time.h... yes
  252. checking for unistd.h... (cached) yes
  253. checking sys/unistd.h usability... yes
  254. checking sys/unistd.h presence... yes
  255. checking for sys/unistd.h... yes
  256. checking syslog.h usability... yes
  257. checking syslog.h presence... yes
  258. checking for syslog.h... yes
  259. checking sys/select.h usability... yes
  260. checking sys/select.h presence... yes
  261. checking for sys/select.h... yes
  262. checking for size_t... yes
  263. checking for ssize_t... yes
  264. checking for memset... yes
  265. checking for select... yes
  266. checking for socket... yes
  267. checking for strcasecmp... yes
  268. checking for strrchr... yes
  269. checking for getaddrinfo... yes
  270. checking for strnlen... yes
  271. checking for malloc... yes
  272. checking for library containing socket... none required
  273. checking for library containing inet_ntop... none required
  274. checking for library containing clock_gettime... none required
  275. checking operating system... Linux
  276. checking that generated files are newer than configure... done
  277. configure: creating ./config.status
  278. config.status: creating Makefile
  279. config.status: creating doc/Makefile
  280. config.status: creating examples/Makefile
  281. config.status: creating examples/coap-client.txt
  282. config.status: creating examples/coap-server.txt
  283. config.status: creating examples/coap-rd.txt
  284. config.status: creating include/coap/coap.h
  285. config.status: creating tests/Makefile
  286. config.status: creating libcoap-1.pc
  287. config.status: creating coap_config.h
  288. config.status: executing depfiles commands
  289. config.status: executing libtool commands
  290. === configuring in ext/tinydtls (/home/pi/libcoap/ext/tinydtls)
  291. configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' '--disable-documentation' '--disable-shared' '--without-debug' 'CFLAGS=-D COAP_DEBUG_FD=stderr' --cache-file=/dev/null --srcdir=.
  292. checking for doxygen... :
  293. checking for etags... /bin/false
  294. checking whether make sets $(MAKE)... yes
  295. checking for gcc... gcc
  296. checking whether the C compiler works... yes
  297. checking for C compiler default output file name... a.out
  298. checking for suffix of executables...
  299. checking whether we are cross compiling... no
  300. checking for suffix of object files... o
  301. checking whether we are using the GNU C compiler... yes
  302. checking whether gcc accepts -g... yes
  303. checking for gcc option to accept ISO C89... none needed
  304. checking for ranlib... ranlib
  305. checking for ar... ar
  306. checking the archiver (ar) interface... ar
  307. checking how to run the C preprocessor... gcc -E
  308. checking for grep that handles long lines and -e... /bin/grep
  309. checking for egrep... /bin/grep -E
  310. checking for ANSI C header files... yes
  311. checking for sys/types.h... yes
  312. checking for sys/stat.h... yes
  313. checking for stdlib.h... yes
  314. checking for string.h... yes
  315. checking for memory.h... yes
  316. checking for strings.h... yes
  317. checking for inttypes.h... yes
  318. checking for stdint.h... yes
  319. checking for unistd.h... yes
  320. checking whether byte ordering is bigendian... no
  321. checking for library containing gethostbyname... none required
  322. checking for library containing socket... none required
  323. checking assert.h usability... yes
  324. checking assert.h presence... yes
  325. checking for assert.h... yes
  326. checking arpa/inet.h usability... yes
  327. checking arpa/inet.h presence... yes
  328. checking for arpa/inet.h... yes
  329. checking fcntl.h usability... yes
  330. checking fcntl.h presence... yes
  331. checking for fcntl.h... yes
  332. checking for inttypes.h... (cached) yes
  333. checking netdb.h usability... yes
  334. checking netdb.h presence... yes
  335. checking for netdb.h... yes
  336. checking netinet/in.h usability... yes
  337. checking netinet/in.h presence... yes
  338. checking for netinet/in.h... yes
  339. checking stddef.h usability... yes
  340. checking stddef.h presence... yes
  341. checking for stddef.h... yes
  342. checking for stdint.h... (cached) yes
  343. checking for stdlib.h... (cached) yes
  344. checking for string.h... (cached) yes
  345. checking for strings.h... (cached) yes
  346. checking sys/param.h usability... yes
  347. checking sys/param.h presence... yes
  348. checking for sys/param.h... yes
  349. checking sys/socket.h usability... yes
  350. checking sys/socket.h presence... yes
  351. checking for sys/socket.h... yes
  352. checking for unistd.h... (cached) yes
  353. checking sys/time.h usability... yes
  354. checking sys/time.h presence... yes
  355. checking for sys/time.h... yes
  356. checking time.h usability... yes
  357. checking time.h presence... yes
  358. checking for time.h... yes
  359. checking for sys/types.h... (cached) yes
  360. checking for sys/stat.h... (cached) yes
  361. checking for inline... inline
  362. checking for size_t... yes
  363. checking for struct sockaddr_in6.sin6_len... no
  364. checking for memset... yes
  365. checking for select... yes
  366. checking for socket... yes
  367. checking for strdup... yes
  368. checking for strerror... yes
  369. checking for strnlen... yes
  370. checking for fls... no
  371. checking for vprintf... yes
  372. configure: creating ./config.status
  373. config.status: creating Makefile
  374. config.status: creating doc/Makefile
  375. config.status: creating doc/Doxyfile
  376. config.status: creating tests/Makefile
  377. config.status: creating platform-specific/Makefile
  378. config.status: creating sha2/Makefile
  379. config.status: creating aes/Makefile
  380. config.status: creating ecc/Makefile
  381. config.status: creating dtls_config.h
  382.  
  383. libcoap configuration summary:
  384. libcoap package version : "4.1.2"
  385. libcoap library version : "0.0.0"
  386. libcoap API version : "1"
  387. host system : "armv6l-unknown-linux-gnueabihf"
  388. build documentation : "no"
  389. build unit test binary : "no"
  390. build examples : "yes"
  391. --> use a2x : "no"
  392. build with DTLS support : "yes"
  393. pi@raspberrypi:~/libcoap $ make
  394. make all-recursive
  395. make[1]: Entering directory '/home/pi/libcoap'
  396. Making all in ext/tinydtls
  397. make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls'
  398. gcc -Wall -pedantic -std=c99 -D COAP_DEBUG_FD=stderr -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -DNDEBUG -DDTLSv12 -DWITH_SHA256 -DDTLS_CHECK_CONTENTTYPE -I. -c -o dtls.o dtls.c
  399. In file included from dtls.c:49:0:
  400. dtls_debug.h: In function ‘hexdump’:
  401. dtls_debug.h:95:49: warning: unused parameter ‘packet’ [-Wunused-parameter]
  402. static inline void hexdump(const unsigned char *packet, int length)
  403. ^~~~~~
  404. dtls_debug.h:95:61: warning: unused parameter ‘length’ [-Wunused-parameter]
  405. static inline void hexdump(const unsigned char *packet, int length)
  406. ^~~~~~
  407. dtls_debug.h: In function ‘dump’:
  408. dtls_debug.h:98:40: warning: unused parameter ‘buf’ [-Wunused-parameter]
  409. static inline void dump(unsigned char *buf, size_t len)
  410. ^~~
  411. dtls_debug.h:98:52: warning: unused parameter ‘len’ [-Wunused-parameter]
  412. static inline void dump(unsigned char *buf, size_t len)
  413. ^~~
  414. dtls_debug.h: In function ‘dtls_dsrv_hexdump_log’:
  415. dtls_debug.h:102:29: warning: unused parameter ‘level’ [-Wunused-parameter]
  416. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  417. ^~~~~
  418. dtls_debug.h:102:48: warning: unused parameter ‘name’ [-Wunused-parameter]
  419. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  420. ^~~~
  421. dtls_debug.h:102:75: warning: unused parameter ‘buf’ [-Wunused-parameter]
  422. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  423. ^~~
  424. dtls_debug.h:102:87: warning: unused parameter ‘length’ [-Wunused-parameter]
  425. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  426. ^~~~~~
  427. dtls_debug.h:102:99: warning: unused parameter ‘extend’ [-Wunused-parameter]
  428. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  429. ^~~~~~
  430. dtls_debug.h: In function ‘dtls_dsrv_log_addr’:
  431. dtls_debug.h:106:26: warning: unused parameter ‘level’ [-Wunused-parameter]
  432. dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
  433. ^~~~~
  434. dtls_debug.h:106:45: warning: unused parameter ‘name’ [-Wunused-parameter]
  435. dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
  436. ^~~~
  437. dtls_debug.h:106:68: warning: unused parameter ‘addr’ [-Wunused-parameter]
  438. dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
  439. ^~~~
  440. dtls.c: In function ‘check_client_certificate_verify’:
  441. dtls.c:1771:49: warning: unused parameter ‘ctx’ [-Wunused-parameter]
  442. check_client_certificate_verify(dtls_context_t *ctx,
  443. ^~~
  444. dtls.c: In function ‘check_server_key_exchange_ecdsa’:
  445. dtls.c:2698:49: warning: unused parameter ‘ctx’ [-Wunused-parameter]
  446. check_server_key_exchange_ecdsa(dtls_context_t *ctx,
  447. ^~~
  448. gcc -Wall -pedantic -std=c99 -D COAP_DEBUG_FD=stderr -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -DNDEBUG -DDTLSv12 -DWITH_SHA256 -DDTLS_CHECK_CONTENTTYPE -I. -c -o crypto.o crypto.c
  449. In file included from crypto.c:29:0:
  450. dtls_debug.h: In function ‘hexdump’:
  451. dtls_debug.h:95:49: warning: unused parameter ‘packet’ [-Wunused-parameter]
  452. static inline void hexdump(const unsigned char *packet, int length)
  453. ^~~~~~
  454. dtls_debug.h:95:61: warning: unused parameter ‘length’ [-Wunused-parameter]
  455. static inline void hexdump(const unsigned char *packet, int length)
  456. ^~~~~~
  457. dtls_debug.h: In function ‘dump’:
  458. dtls_debug.h:98:40: warning: unused parameter ‘buf’ [-Wunused-parameter]
  459. static inline void dump(unsigned char *buf, size_t len)
  460. ^~~
  461. dtls_debug.h:98:52: warning: unused parameter ‘len’ [-Wunused-parameter]
  462. static inline void dump(unsigned char *buf, size_t len)
  463. ^~~
  464. dtls_debug.h: In function ‘dtls_dsrv_hexdump_log’:
  465. dtls_debug.h:102:29: warning: unused parameter ‘level’ [-Wunused-parameter]
  466. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  467. ^~~~~
  468. dtls_debug.h:102:48: warning: unused parameter ‘name’ [-Wunused-parameter]
  469. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  470. ^~~~
  471. dtls_debug.h:102:75: warning: unused parameter ‘buf’ [-Wunused-parameter]
  472. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  473. ^~~
  474. dtls_debug.h:102:87: warning: unused parameter ‘length’ [-Wunused-parameter]
  475. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  476. ^~~~~~
  477. dtls_debug.h:102:99: warning: unused parameter ‘extend’ [-Wunused-parameter]
  478. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  479. ^~~~~~
  480. dtls_debug.h: In function ‘dtls_dsrv_log_addr’:
  481. dtls_debug.h:106:26: warning: unused parameter ‘level’ [-Wunused-parameter]
  482. dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
  483. ^~~~~
  484. dtls_debug.h:106:45: warning: unused parameter ‘name’ [-Wunused-parameter]
  485. dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
  486. ^~~~
  487. dtls_debug.h:106:68: warning: unused parameter ‘addr’ [-Wunused-parameter]
  488. dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
  489. ^~~~
  490. gcc -Wall -pedantic -std=c99 -D COAP_DEBUG_FD=stderr -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -DNDEBUG -DDTLSv12 -DWITH_SHA256 -DDTLS_CHECK_CONTENTTYPE -I. -c -o ccm.o ccm.c
  491. gcc -Wall -pedantic -std=c99 -D COAP_DEBUG_FD=stderr -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -DNDEBUG -DDTLSv12 -DWITH_SHA256 -DDTLS_CHECK_CONTENTTYPE -I. -c -o hmac.o hmac.c
  492. In file included from hmac.c:28:0:
  493. dtls_debug.h: In function ‘hexdump’:
  494. dtls_debug.h:95:49: warning: unused parameter ‘packet’ [-Wunused-parameter]
  495. static inline void hexdump(const unsigned char *packet, int length)
  496. ^~~~~~
  497. dtls_debug.h:95:61: warning: unused parameter ‘length’ [-Wunused-parameter]
  498. static inline void hexdump(const unsigned char *packet, int length)
  499. ^~~~~~
  500. dtls_debug.h: In function ‘dump’:
  501. dtls_debug.h:98:40: warning: unused parameter ‘buf’ [-Wunused-parameter]
  502. static inline void dump(unsigned char *buf, size_t len)
  503. ^~~
  504. dtls_debug.h:98:52: warning: unused parameter ‘len’ [-Wunused-parameter]
  505. static inline void dump(unsigned char *buf, size_t len)
  506. ^~~
  507. dtls_debug.h: In function ‘dtls_dsrv_hexdump_log’:
  508. dtls_debug.h:102:29: warning: unused parameter ‘level’ [-Wunused-parameter]
  509. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  510. ^~~~~
  511. dtls_debug.h:102:48: warning: unused parameter ‘name’ [-Wunused-parameter]
  512. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  513. ^~~~
  514. dtls_debug.h:102:75: warning: unused parameter ‘buf’ [-Wunused-parameter]
  515. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  516. ^~~
  517. dtls_debug.h:102:87: warning: unused parameter ‘length’ [-Wunused-parameter]
  518. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  519. ^~~~~~
  520. dtls_debug.h:102:99: warning: unused parameter ‘extend’ [-Wunused-parameter]
  521. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  522. ^~~~~~
  523. dtls_debug.h: In function ‘dtls_dsrv_log_addr’:
  524. dtls_debug.h:106:26: warning: unused parameter ‘level’ [-Wunused-parameter]
  525. dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
  526. ^~~~~
  527. dtls_debug.h:106:45: warning: unused parameter ‘name’ [-Wunused-parameter]
  528. dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
  529. ^~~~
  530. dtls_debug.h:106:68: warning: unused parameter ‘addr’ [-Wunused-parameter]
  531. dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
  532. ^~~~
  533. gcc -Wall -pedantic -std=c99 -D COAP_DEBUG_FD=stderr -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -DNDEBUG -DDTLSv12 -DWITH_SHA256 -DDTLS_CHECK_CONTENTTYPE -I. -c -o netq.o netq.c
  534. In file included from netq.c:18:0:
  535. dtls_debug.h: In function ‘hexdump’:
  536. dtls_debug.h:95:49: warning: unused parameter ‘packet’ [-Wunused-parameter]
  537. static inline void hexdump(const unsigned char *packet, int length)
  538. ^~~~~~
  539. dtls_debug.h:95:61: warning: unused parameter ‘length’ [-Wunused-parameter]
  540. static inline void hexdump(const unsigned char *packet, int length)
  541. ^~~~~~
  542. dtls_debug.h: In function ‘dump’:
  543. dtls_debug.h:98:40: warning: unused parameter ‘buf’ [-Wunused-parameter]
  544. static inline void dump(unsigned char *buf, size_t len)
  545. ^~~
  546. dtls_debug.h:98:52: warning: unused parameter ‘len’ [-Wunused-parameter]
  547. static inline void dump(unsigned char *buf, size_t len)
  548. ^~~
  549. dtls_debug.h: In function ‘dtls_dsrv_hexdump_log’:
  550. dtls_debug.h:102:29: warning: unused parameter ‘level’ [-Wunused-parameter]
  551. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  552. ^~~~~
  553. dtls_debug.h:102:48: warning: unused parameter ‘name’ [-Wunused-parameter]
  554. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  555. ^~~~
  556. dtls_debug.h:102:75: warning: unused parameter ‘buf’ [-Wunused-parameter]
  557. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  558. ^~~
  559. dtls_debug.h:102:87: warning: unused parameter ‘length’ [-Wunused-parameter]
  560. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  561. ^~~~~~
  562. dtls_debug.h:102:99: warning: unused parameter ‘extend’ [-Wunused-parameter]
  563. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  564. ^~~~~~
  565. dtls_debug.h: In function ‘dtls_dsrv_log_addr’:
  566. dtls_debug.h:106:26: warning: unused parameter ‘level’ [-Wunused-parameter]
  567. dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
  568. ^~~~~
  569. dtls_debug.h:106:45: warning: unused parameter ‘name’ [-Wunused-parameter]
  570. dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
  571. ^~~~
  572. dtls_debug.h:106:68: warning: unused parameter ‘addr’ [-Wunused-parameter]
  573. dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
  574. ^~~~
  575. gcc -Wall -pedantic -std=c99 -D COAP_DEBUG_FD=stderr -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -DNDEBUG -DDTLSv12 -DWITH_SHA256 -DDTLS_CHECK_CONTENTTYPE -I. -c -o peer.o peer.c
  576. In file included from peer.c:20:0:
  577. dtls_debug.h: In function ‘hexdump’:
  578. dtls_debug.h:95:49: warning: unused parameter ‘packet’ [-Wunused-parameter]
  579. static inline void hexdump(const unsigned char *packet, int length)
  580. ^~~~~~
  581. dtls_debug.h:95:61: warning: unused parameter ‘length’ [-Wunused-parameter]
  582. static inline void hexdump(const unsigned char *packet, int length)
  583. ^~~~~~
  584. dtls_debug.h: In function ‘dump’:
  585. dtls_debug.h:98:40: warning: unused parameter ‘buf’ [-Wunused-parameter]
  586. static inline void dump(unsigned char *buf, size_t len)
  587. ^~~
  588. dtls_debug.h:98:52: warning: unused parameter ‘len’ [-Wunused-parameter]
  589. static inline void dump(unsigned char *buf, size_t len)
  590. ^~~
  591. dtls_debug.h: In function ‘dtls_dsrv_hexdump_log’:
  592. dtls_debug.h:102:29: warning: unused parameter ‘level’ [-Wunused-parameter]
  593. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  594. ^~~~~
  595. dtls_debug.h:102:48: warning: unused parameter ‘name’ [-Wunused-parameter]
  596. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  597. ^~~~
  598. dtls_debug.h:102:75: warning: unused parameter ‘buf’ [-Wunused-parameter]
  599. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  600. ^~~
  601. dtls_debug.h:102:87: warning: unused parameter ‘length’ [-Wunused-parameter]
  602. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  603. ^~~~~~
  604. dtls_debug.h:102:99: warning: unused parameter ‘extend’ [-Wunused-parameter]
  605. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  606. ^~~~~~
  607. dtls_debug.h: In function ‘dtls_dsrv_log_addr’:
  608. dtls_debug.h:106:26: warning: unused parameter ‘level’ [-Wunused-parameter]
  609. dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
  610. ^~~~~
  611. dtls_debug.h:106:45: warning: unused parameter ‘name’ [-Wunused-parameter]
  612. dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
  613. ^~~~
  614. dtls_debug.h:106:68: warning: unused parameter ‘addr’ [-Wunused-parameter]
  615. dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
  616. ^~~~
  617. gcc -Wall -pedantic -std=c99 -D COAP_DEBUG_FD=stderr -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -DNDEBUG -DDTLSv12 -DWITH_SHA256 -DDTLS_CHECK_CONTENTTYPE -I. -c -o dtls_time.o dtls_time.c
  618. gcc -Wall -pedantic -std=c99 -D COAP_DEBUG_FD=stderr -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -DNDEBUG -DDTLSv12 -DWITH_SHA256 -DDTLS_CHECK_CONTENTTYPE -I. -c -o session.o session.c
  619. gcc -Wall -pedantic -std=c99 -D COAP_DEBUG_FD=stderr -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -DNDEBUG -DDTLSv12 -DWITH_SHA256 -DDTLS_CHECK_CONTENTTYPE -I. -c -o dtls_debug.o dtls_debug.c
  620. In file included from dtls_debug.c:36:0:
  621. dtls_debug.h: In function ‘hexdump’:
  622. dtls_debug.h:95:49: warning: unused parameter ‘packet’ [-Wunused-parameter]
  623. static inline void hexdump(const unsigned char *packet, int length)
  624. ^~~~~~
  625. dtls_debug.h:95:61: warning: unused parameter ‘length’ [-Wunused-parameter]
  626. static inline void hexdump(const unsigned char *packet, int length)
  627. ^~~~~~
  628. dtls_debug.h: In function ‘dump’:
  629. dtls_debug.h:98:40: warning: unused parameter ‘buf’ [-Wunused-parameter]
  630. static inline void dump(unsigned char *buf, size_t len)
  631. ^~~
  632. dtls_debug.h:98:52: warning: unused parameter ‘len’ [-Wunused-parameter]
  633. static inline void dump(unsigned char *buf, size_t len)
  634. ^~~
  635. dtls_debug.h: In function ‘dtls_dsrv_hexdump_log’:
  636. dtls_debug.h:102:29: warning: unused parameter ‘level’ [-Wunused-parameter]
  637. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  638. ^~~~~
  639. dtls_debug.h:102:48: warning: unused parameter ‘name’ [-Wunused-parameter]
  640. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  641. ^~~~
  642. dtls_debug.h:102:75: warning: unused parameter ‘buf’ [-Wunused-parameter]
  643. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  644. ^~~
  645. dtls_debug.h:102:87: warning: unused parameter ‘length’ [-Wunused-parameter]
  646. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  647. ^~~~~~
  648. dtls_debug.h:102:99: warning: unused parameter ‘extend’ [-Wunused-parameter]
  649. dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
  650. ^~~~~~
  651. dtls_debug.h: In function ‘dtls_dsrv_log_addr’:
  652. dtls_debug.h:106:26: warning: unused parameter ‘level’ [-Wunused-parameter]
  653. dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
  654. ^~~~~
  655. dtls_debug.h:106:45: warning: unused parameter ‘name’ [-Wunused-parameter]
  656. dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
  657. ^~~~
  658. dtls_debug.h:106:68: warning: unused parameter ‘addr’ [-Wunused-parameter]
  659. dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
  660. ^~~~
  661. make -C aes rijndael.o
  662. make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/aes'
  663. gcc -Wall -std=c99 -pedantic -D COAP_DEBUG_FD=stderr -DNDEBUG -DDTLSv12 -DWITH_SHA256 -c -o rijndael.o rijndael.c
  664. make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/aes'
  665. make -C ecc ecc.o
  666. make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/ecc'
  667. gcc -Wall -std=c99 -pedantic -D COAP_DEBUG_FD=stderr -DTEST_INCLUDE -DNDEBUG -DDTLSv12 -DWITH_SHA256 -c -o ecc.o ecc.c
  668. make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/ecc'
  669. make -C sha2 sha2.o
  670. make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/sha2'
  671. gcc -Wall -std=c99 -pedantic -D COAP_DEBUG_FD=stderr -DNDEBUG -DDTLSv12 -DWITH_SHA256 -I.. -c -o sha2.o sha2.c
  672. make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/sha2'
  673. ar cru libtinydtls.a dtls.o crypto.o ccm.o hmac.o netq.o peer.o dtls_time.o session.o dtls_debug.o aes/rijndael.o ecc/ecc.o sha2/sha2.o
  674. ar: `u' modifier ignored since `D' is the default (see `U')
  675. ranlib libtinydtls.a
  676. make -C doc
  677. make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/doc'
  678. : Doxyfile >./doxygen.out 2>&1
  679. make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/doc'
  680. for dir in tests doc platform-specific sha2 aes ecc; do \
  681. make -C $dir ; \
  682. done
  683. make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/tests'
  684. gcc -Wall -D COAP_DEBUG_FD=stderr -I.. -DNDEBUG -DDTLSv12 -DWITH_SHA256 -L.. dtls-server.c -ltinydtls -o dtls-server
  685. gcc -Wall -D COAP_DEBUG_FD=stderr -I.. -DNDEBUG -DDTLSv12 -DWITH_SHA256 -L.. ccm-test.c -ltinydtls -o ccm-test
  686. gcc -Wall -D COAP_DEBUG_FD=stderr -I.. -DNDEBUG -DDTLSv12 -DWITH_SHA256 -L.. prf-test.c -ltinydtls -o prf-test
  687. gcc -Wall -D COAP_DEBUG_FD=stderr -I.. -DNDEBUG -DDTLSv12 -DWITH_SHA256 -L.. dtls-client.c -ltinydtls -o dtls-client
  688. make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/tests'
  689. make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/doc'
  690. : Doxyfile >./doxygen.out 2>&1
  691. make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/doc'
  692. make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/platform-specific'
  693. make[3]: Nothing to be done for 'clean'.
  694. make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/platform-specific'
  695. make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/sha2'
  696. make[3]: Nothing to be done for 'all'.
  697. make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/sha2'
  698. make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/aes'
  699. make[3]: Nothing to be done for 'all'.
  700. make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/aes'
  701. make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/ecc'
  702. gcc -Wall -std=c99 -pedantic -D COAP_DEBUG_FD=stderr -DTEST_INCLUDE -DNDEBUG -DDTLSv12 -DWITH_SHA256 -c -o ecc_test.o ecc.c
  703. gcc -Wall -std=c99 -pedantic -D COAP_DEBUG_FD=stderr -DTEST_INCLUDE -DNDEBUG -DDTLSv12 -DWITH_SHA256 -c -o test_helper.o test_helper.c
  704. gcc -Wall -std=c99 -pedantic -D COAP_DEBUG_FD=stderr -DTEST_INCLUDE -DNDEBUG -DDTLSv12 -DWITH_SHA256 testecc.c ecc_test.o test_helper.o -o testecc
  705. testecc.c:116:23: warning: ‘ecdsaTestresultS2’ defined but not used [-Wunused-const-variable=]
  706. static const uint32_t ecdsaTestresultS2[] = { 0x433AAB6F, 0x808250B1, 0xE46F90F4, 0xB342E972, 0x18B2F7E4, 0x2DB981A2, 0x6A288FA4, 0x41CF59DB};
  707. ^~~~~~~~~~~~~~~~~
  708. testecc.c:115:23: warning: ‘ecdsaTestresultR2’ defined but not used [-Wunused-const-variable=]
  709. static const uint32_t ecdsaTestresultR2[] = { 0x14146C91, 0xE878724D, 0xCD4FF928, 0xCC24BC04, 0xAC403390, 0x650C0060, 0x4A30B3F1, 0x9C69B726};
  710. ^~~~~~~~~~~~~~~~~
  711. testecc.c:112:23: warning: ‘ecdsaTestresultS1’ defined but not used [-Wunused-const-variable=]
  712. static const uint32_t ecdsaTestresultS1[] = { 0x5366B1AB, 0x0F1DBF46, 0xB0C8D3C4, 0xDB755B6F, 0xB9BF9243, 0xE644A8BE, 0x55159A59, 0x6F9E52A6};
  713. ^~~~~~~~~~~~~~~~~
  714. testecc.c:111:23: warning: ‘ecdsaTestresultR1’ defined but not used [-Wunused-const-variable=]
  715. static const uint32_t ecdsaTestresultR1[] = { 0xC3B4035F, 0x515AD0A6, 0xBF375DCA, 0x0CC1E997, 0x7F54FDCD, 0x04D3FECA, 0xB9E396B9, 0x515C3D6E};
  716. ^~~~~~~~~~~~~~~~~
  717. gcc -Wall -std=c99 -pedantic -D COAP_DEBUG_FD=stderr -DTEST_INCLUDE -DNDEBUG -DDTLSv12 -DWITH_SHA256 testfield.c ecc_test.o test_helper.o -o testfield
  718. testfield.c:99:23: warning: ‘orderResultDoubleMod’ defined but not used [-Wunused-const-variable=]
  719. static const uint32_t orderResultDoubleMod[8] = {0xFC63254F, 0xF3B9CAC2, 0xA7179E84, 0xBCE6FAAD, 0xFFFFFFFF, 0xFFFFFFFF, 0x00000000, 0xFFFFFFFF};
  720. ^~~~~~~~~~~~~~~~~~~~
  721. make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/ecc'
  722. make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls'
  723. Making all in .
  724. make[2]: Entering directory '/home/pi/libcoap'
  725. /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-address.lo -MD -MP -MF src/.deps/libcoap_1_la-address.Tpo -c -o src/libcoap_1_la-address.lo `test -f 'src/address.c' || echo './'`src/address.c
  726. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-address.lo -MD -MP -MF src/.deps/libcoap_1_la-address.Tpo -c src/address.c -fPIE -o src/libcoap_1_la-address.o
  727. mv -f src/.deps/libcoap_1_la-address.Tpo src/.deps/libcoap_1_la-address.Plo
  728. /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-async.lo -MD -MP -MF src/.deps/libcoap_1_la-async.Tpo -c -o src/libcoap_1_la-async.lo `test -f 'src/async.c' || echo './'`src/async.c
  729. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-async.lo -MD -MP -MF src/.deps/libcoap_1_la-async.Tpo -c src/async.c -fPIE -o src/libcoap_1_la-async.o
  730. mv -f src/.deps/libcoap_1_la-async.Tpo src/.deps/libcoap_1_la-async.Plo
  731. /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-block.lo -MD -MP -MF src/.deps/libcoap_1_la-block.Tpo -c -o src/libcoap_1_la-block.lo `test -f 'src/block.c' || echo './'`src/block.c
  732. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-block.lo -MD -MP -MF src/.deps/libcoap_1_la-block.Tpo -c src/block.c -fPIE -o src/libcoap_1_la-block.o
  733. mv -f src/.deps/libcoap_1_la-block.Tpo src/.deps/libcoap_1_la-block.Plo
  734. /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-coap_dtls.lo -MD -MP -MF src/.deps/libcoap_1_la-coap_dtls.Tpo -c -o src/libcoap_1_la-coap_dtls.lo `test -f 'src/coap_dtls.c' || echo './'`src/coap_dtls.c
  735. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-coap_dtls.lo -MD -MP -MF src/.deps/libcoap_1_la-coap_dtls.Tpo -c src/coap_dtls.c -fPIE -o src/libcoap_1_la-coap_dtls.o
  736. In file included from ./ext/tinydtls/tinydtls.h:28:0,
  737. from src/coap_dtls.c:26:
  738. ./ext/tinydtls/dtls_config.h:98:0: warning: "PACKAGE_BUGREPORT" redefined
  739. #define PACKAGE_BUGREPORT ""
  740.  
  741. In file included from src/coap_dtls.c:10:0:
  742. ./coap_config.h:104:0: note: this is the location of the previous definition
  743. #define PACKAGE_BUGREPORT "libcoap-developers@lists.sourceforge.net"
  744.  
  745. In file included from ./ext/tinydtls/tinydtls.h:28:0,
  746. from src/coap_dtls.c:26:
  747. ./ext/tinydtls/dtls_config.h:101:0: warning: "PACKAGE_NAME" redefined
  748. #define PACKAGE_NAME "tinydtls"
  749.  
  750. In file included from src/coap_dtls.c:10:0:
  751. ./coap_config.h:107:0: note: this is the location of the previous definition
  752. #define PACKAGE_NAME "libcoap"
  753.  
  754. In file included from ./ext/tinydtls/tinydtls.h:28:0,
  755. from src/coap_dtls.c:26:
  756. ./ext/tinydtls/dtls_config.h:104:0: warning: "PACKAGE_STRING" redefined
  757. #define PACKAGE_STRING "tinydtls 0.8.6"
  758.  
  759. In file included from src/coap_dtls.c:10:0:
  760. ./coap_config.h:110:0: note: this is the location of the previous definition
  761. #define PACKAGE_STRING "libcoap 4.1.2"
  762.  
  763. In file included from ./ext/tinydtls/tinydtls.h:28:0,
  764. from src/coap_dtls.c:26:
  765. ./ext/tinydtls/dtls_config.h:107:0: warning: "PACKAGE_TARNAME" redefined
  766. #define PACKAGE_TARNAME "tinydtls"
  767.  
  768. In file included from src/coap_dtls.c:10:0:
  769. ./coap_config.h:113:0: note: this is the location of the previous definition
  770. #define PACKAGE_TARNAME "libcoap"
  771.  
  772. In file included from ./ext/tinydtls/tinydtls.h:28:0,
  773. from src/coap_dtls.c:26:
  774. ./ext/tinydtls/dtls_config.h:110:0: warning: "PACKAGE_URL" redefined
  775. #define PACKAGE_URL ""
  776.  
  777. In file included from src/coap_dtls.c:10:0:
  778. ./coap_config.h:116:0: note: this is the location of the previous definition
  779. #define PACKAGE_URL "https://libcoap.net/"
  780.  
  781. In file included from ./ext/tinydtls/tinydtls.h:28:0,
  782. from src/coap_dtls.c:26:
  783. ./ext/tinydtls/dtls_config.h:113:0: warning: "PACKAGE_VERSION" redefined
  784. #define PACKAGE_VERSION "0.8.6"
  785.  
  786. In file included from src/coap_dtls.c:10:0:
  787. ./coap_config.h:119:0: note: this is the location of the previous definition
  788. #define PACKAGE_VERSION "4.1.2"
  789.  
  790. mv -f src/.deps/libcoap_1_la-coap_dtls.Tpo src/.deps/libcoap_1_la-coap_dtls.Plo
  791. /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-coap_event.lo -MD -MP -MF src/.deps/libcoap_1_la-coap_event.Tpo -c -o src/libcoap_1_la-coap_event.lo `test -f 'src/coap_event.c' || echo './'`src/coap_event.c
  792. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-coap_event.lo -MD -MP -MF src/.deps/libcoap_1_la-coap_event.Tpo -c src/coap_event.c -fPIE -o src/libcoap_1_la-coap_event.o
  793. mv -f src/.deps/libcoap_1_la-coap_event.Tpo src/.deps/libcoap_1_la-coap_event.Plo
  794. /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-coap_keystore.lo -MD -MP -MF src/.deps/libcoap_1_la-coap_keystore.Tpo -c -o src/libcoap_1_la-coap_keystore.lo `test -f 'src/coap_keystore.c' || echo './'`src/coap_keystore.c
  795. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-coap_keystore.lo -MD -MP -MF src/.deps/libcoap_1_la-coap_keystore.Tpo -c src/coap_keystore.c -fPIE -o src/libcoap_1_la-coap_keystore.o
  796. mv -f src/.deps/libcoap_1_la-coap_keystore.Tpo src/.deps/libcoap_1_la-coap_keystore.Plo
  797. /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-coap_time.lo -MD -MP -MF src/.deps/libcoap_1_la-coap_time.Tpo -c -o src/libcoap_1_la-coap_time.lo `test -f 'src/coap_time.c' || echo './'`src/coap_time.c
  798. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-coap_time.lo -MD -MP -MF src/.deps/libcoap_1_la-coap_time.Tpo -c src/coap_time.c -fPIE -o src/libcoap_1_la-coap_time.o
  799. mv -f src/.deps/libcoap_1_la-coap_time.Tpo src/.deps/libcoap_1_la-coap_time.Plo
  800. /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-debug.lo -MD -MP -MF src/.deps/libcoap_1_la-debug.Tpo -c -o src/libcoap_1_la-debug.lo `test -f 'src/debug.c' || echo './'`src/debug.c
  801. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-debug.lo -MD -MP -MF src/.deps/libcoap_1_la-debug.Tpo -c src/debug.c -fPIE -o src/libcoap_1_la-debug.o
  802. mv -f src/.deps/libcoap_1_la-debug.Tpo src/.deps/libcoap_1_la-debug.Plo
  803. /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-encode.lo -MD -MP -MF src/.deps/libcoap_1_la-encode.Tpo -c -o src/libcoap_1_la-encode.lo `test -f 'src/encode.c' || echo './'`src/encode.c
  804. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-encode.lo -MD -MP -MF src/.deps/libcoap_1_la-encode.Tpo -c src/encode.c -fPIE -o src/libcoap_1_la-encode.o
  805. mv -f src/.deps/libcoap_1_la-encode.Tpo src/.deps/libcoap_1_la-encode.Plo
  806. /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-hashkey.lo -MD -MP -MF src/.deps/libcoap_1_la-hashkey.Tpo -c -o src/libcoap_1_la-hashkey.lo `test -f 'src/hashkey.c' || echo './'`src/hashkey.c
  807. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-hashkey.lo -MD -MP -MF src/.deps/libcoap_1_la-hashkey.Tpo -c src/hashkey.c -fPIE -o src/libcoap_1_la-hashkey.o
  808. mv -f src/.deps/libcoap_1_la-hashkey.Tpo src/.deps/libcoap_1_la-hashkey.Plo
  809. /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-mem.lo -MD -MP -MF src/.deps/libcoap_1_la-mem.Tpo -c -o src/libcoap_1_la-mem.lo `test -f 'src/mem.c' || echo './'`src/mem.c
  810. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-mem.lo -MD -MP -MF src/.deps/libcoap_1_la-mem.Tpo -c src/mem.c -fPIE -o src/libcoap_1_la-mem.o
  811. mv -f src/.deps/libcoap_1_la-mem.Tpo src/.deps/libcoap_1_la-mem.Plo
  812. /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-net.lo -MD -MP -MF src/.deps/libcoap_1_la-net.Tpo -c -o src/libcoap_1_la-net.lo `test -f 'src/net.c' || echo './'`src/net.c
  813. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-net.lo -MD -MP -MF src/.deps/libcoap_1_la-net.Tpo -c src/net.c -fPIE -o src/libcoap_1_la-net.o
  814. mv -f src/.deps/libcoap_1_la-net.Tpo src/.deps/libcoap_1_la-net.Plo
  815. /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-option.lo -MD -MP -MF src/.deps/libcoap_1_la-option.Tpo -c -o src/libcoap_1_la-option.lo `test -f 'src/option.c' || echo './'`src/option.c
  816. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-option.lo -MD -MP -MF src/.deps/libcoap_1_la-option.Tpo -c src/option.c -fPIE -o src/libcoap_1_la-option.o
  817. mv -f src/.deps/libcoap_1_la-option.Tpo src/.deps/libcoap_1_la-option.Plo
  818. /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-pdu.lo -MD -MP -MF src/.deps/libcoap_1_la-pdu.Tpo -c -o src/libcoap_1_la-pdu.lo `test -f 'src/pdu.c' || echo './'`src/pdu.c
  819. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-pdu.lo -MD -MP -MF src/.deps/libcoap_1_la-pdu.Tpo -c src/pdu.c -fPIE -o src/libcoap_1_la-pdu.o
  820. mv -f src/.deps/libcoap_1_la-pdu.Tpo src/.deps/libcoap_1_la-pdu.Plo
  821. /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-resource.lo -MD -MP -MF src/.deps/libcoap_1_la-resource.Tpo -c -o src/libcoap_1_la-resource.lo `test -f 'src/resource.c' || echo './'`src/resource.c
  822. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-resource.lo -MD -MP -MF src/.deps/libcoap_1_la-resource.Tpo -c src/resource.c -fPIE -o src/libcoap_1_la-resource.o
  823. mv -f src/.deps/libcoap_1_la-resource.Tpo src/.deps/libcoap_1_la-resource.Plo
  824. /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-str.lo -MD -MP -MF src/.deps/libcoap_1_la-str.Tpo -c -o src/libcoap_1_la-str.lo `test -f 'src/str.c' || echo './'`src/str.c
  825. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-str.lo -MD -MP -MF src/.deps/libcoap_1_la-str.Tpo -c src/str.c -fPIE -o src/libcoap_1_la-str.o
  826. mv -f src/.deps/libcoap_1_la-str.Tpo src/.deps/libcoap_1_la-str.Plo
  827. /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-subscribe.lo -MD -MP -MF src/.deps/libcoap_1_la-subscribe.Tpo -c -o src/libcoap_1_la-subscribe.lo `test -f 'src/subscribe.c' || echo './'`src/subscribe.c
  828. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-subscribe.lo -MD -MP -MF src/.deps/libcoap_1_la-subscribe.Tpo -c src/subscribe.c -fPIE -o src/libcoap_1_la-subscribe.o
  829. mv -f src/.deps/libcoap_1_la-subscribe.Tpo src/.deps/libcoap_1_la-subscribe.Plo
  830. /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-uri.lo -MD -MP -MF src/.deps/libcoap_1_la-uri.Tpo -c -o src/libcoap_1_la-uri.lo `test -f 'src/uri.c' || echo './'`src/uri.c
  831. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-uri.lo -MD -MP -MF src/.deps/libcoap_1_la-uri.Tpo -c src/uri.c -fPIE -o src/libcoap_1_la-uri.o
  832. mv -f src/.deps/libcoap_1_la-uri.Tpo src/.deps/libcoap_1_la-uri.Plo
  833. /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/platform/posix/libcoap_1_la-coap_io.lo -MD -MP -MF src/platform/posix/.deps/libcoap_1_la-coap_io.Tpo -c -o src/platform/posix/libcoap_1_la-coap_io.lo `test -f 'src/platform/posix/coap_io.c' || echo './'`src/platform/posix/coap_io.c
  834. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/platform/posix/libcoap_1_la-coap_io.lo -MD -MP -MF src/platform/posix/.deps/libcoap_1_la-coap_io.Tpo -c src/platform/posix/coap_io.c -fPIE -o src/platform/posix/libcoap_1_la-coap_io.o
  835. mv -f src/platform/posix/.deps/libcoap_1_la-coap_io.Tpo src/platform/posix/.deps/libcoap_1_la-coap_io.Plo
  836. /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/platform/posix/libcoap_1_la-prng.lo -MD -MP -MF src/platform/posix/.deps/libcoap_1_la-prng.Tpo -c -o src/platform/posix/libcoap_1_la-prng.lo `test -f 'src/platform/posix/prng.c' || echo './'`src/platform/posix/prng.c
  837. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/platform/posix/libcoap_1_la-prng.lo -MD -MP -MF src/platform/posix/.deps/libcoap_1_la-prng.Tpo -c src/platform/posix/prng.c -fPIE -o src/platform/posix/libcoap_1_la-prng.o
  838. src/platform/posix/prng.c:16:1: warning: no previous prototype for ‘coap_prng’ [-Wmissing-prototypes]
  839. coap_prng(unsigned char *buf, size_t len) {
  840. ^~~~~~~~~
  841. src/platform/posix/prng.c:23:1: warning: no previous prototype for ‘coap_prng_init’ [-Wmissing-prototypes]
  842. coap_prng_init(void *value) {
  843. ^~~~~~~~~~~~~~
  844. mv -f src/platform/posix/.deps/libcoap_1_la-prng.Tpo src/platform/posix/.deps/libcoap_1_la-prng.Plo
  845. /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/platform/posix/libcoap_1_la-run.lo -MD -MP -MF src/platform/posix/.deps/libcoap_1_la-run.Tpo -c -o src/platform/posix/libcoap_1_la-run.lo `test -f 'src/platform/posix/run.c' || echo './'`src/platform/posix/run.c
  846. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/platform/posix/libcoap_1_la-run.lo -MD -MP -MF src/platform/posix/.deps/libcoap_1_la-run.Tpo -c src/platform/posix/run.c -fPIE -o src/platform/posix/libcoap_1_la-run.o
  847. mv -f src/platform/posix/.deps/libcoap_1_la-run.Tpo src/platform/posix/.deps/libcoap_1_la-run.Plo
  848. /bin/bash ./libtool --tag=CC --mode=link gcc -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -version-info 0:0:0 -Wl,--version-script=./libcoap-1.map -pie -L./ext/tinydtls -ltinydtls -o libcoap-1.la -rpath /usr/local/lib src/libcoap_1_la-address.lo src/libcoap_1_la-async.lo src/libcoap_1_la-block.lo src/libcoap_1_la-coap_dtls.lo src/libcoap_1_la-coap_event.lo src/libcoap_1_la-coap_keystore.lo src/libcoap_1_la-coap_time.lo src/libcoap_1_la-debug.lo src/libcoap_1_la-encode.lo src/libcoap_1_la-hashkey.lo src/libcoap_1_la-mem.lo src/libcoap_1_la-net.lo src/libcoap_1_la-option.lo src/libcoap_1_la-pdu.lo src/libcoap_1_la-resource.lo src/libcoap_1_la-str.lo src/libcoap_1_la-subscribe.lo src/libcoap_1_la-uri.lo src/platform/posix/libcoap_1_la-coap_io.lo src/platform/posix/libcoap_1_la-prng.lo src/platform/posix/libcoap_1_la-run.lo
  849. libtool: link: ar cru .libs/libcoap-1.a src/libcoap_1_la-address.o src/libcoap_1_la-async.o src/libcoap_1_la-block.o src/libcoap_1_la-coap_dtls.o src/libcoap_1_la-coap_event.o src/libcoap_1_la-coap_keystore.o src/libcoap_1_la-coap_time.o src/libcoap_1_la-debug.o src/libcoap_1_la-encode.o src/libcoap_1_la-hashkey.o src/libcoap_1_la-mem.o src/libcoap_1_la-net.o src/libcoap_1_la-option.o src/libcoap_1_la-pdu.o src/libcoap_1_la-resource.o src/libcoap_1_la-str.o src/libcoap_1_la-subscribe.o src/libcoap_1_la-uri.o src/platform/posix/libcoap_1_la-coap_io.o src/platform/posix/libcoap_1_la-prng.o src/platform/posix/libcoap_1_la-run.o
  850. ar: `u' modifier ignored since `D' is the default (see `U')
  851. libtool: link: ranlib .libs/libcoap-1.a
  852. libtool: link: ( cd ".libs" && rm -f "libcoap-1.la" && ln -s "../libcoap-1.la" "libcoap-1.la" )
  853. make[2]: Leaving directory '/home/pi/libcoap'
  854. Making all in tests
  855. make[2]: Entering directory '/home/pi/libcoap/tests'
  856. make[2]: Nothing to be done for 'all'.
  857. make[2]: Leaving directory '/home/pi/libcoap/tests'
  858. Making all in examples
  859. make[2]: Entering directory '/home/pi/libcoap/examples'
  860. gcc -DHAVE_CONFIG_H -I. -I.. -I ../ext/tinydtls -isystem../include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT client.o -MD -MP -MF .deps/client.Tpo -c -o client.o client.c
  861. mv -f .deps/client.Tpo .deps/client.Po
  862. gcc -DHAVE_CONFIG_H -I. -I.. -I ../ext/tinydtls -isystem../include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT coap_list.o -MD -MP -MF .deps/coap_list.Tpo -c -o coap_list.o coap_list.c
  863. mv -f .deps/coap_list.Tpo .deps/coap_list.Po
  864. /bin/bash ../libtool --tag=CC --mode=link gcc -isystem../include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -L../ext/tinydtls -ltinydtls -o coap-client client.o coap_list.o ../.libs/libcoap-1.la
  865. libtool: link: gcc -isystem../include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -o coap-client client.o coap_list.o -L../ext/tinydtls ../.libs/libcoap-1.a -L./ext/tinydtls -ltinydtls
  866. gcc -DHAVE_CONFIG_H -I. -I.. -I ../ext/tinydtls -isystem../include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT coap-server.o -MD -MP -MF .deps/coap-server.Tpo -c -o coap-server.o coap-server.c
  867. mv -f .deps/coap-server.Tpo .deps/coap-server.Po
  868. /bin/bash ../libtool --tag=CC --mode=link gcc -isystem../include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -L../ext/tinydtls -ltinydtls -o coap-server coap-server.o ../.libs/libcoap-1.la
  869. libtool: link: gcc -isystem../include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -o coap-server coap-server.o -L../ext/tinydtls ../.libs/libcoap-1.a -L./ext/tinydtls -ltinydtls
  870. gcc -DHAVE_CONFIG_H -I. -I.. -I ../ext/tinydtls -isystem../include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT coap-rd.o -MD -MP -MF .deps/coap-rd.Tpo -c -o coap-rd.o coap-rd.c
  871. mv -f .deps/coap-rd.Tpo .deps/coap-rd.Po
  872. /bin/bash ../libtool --tag=CC --mode=link gcc -isystem../include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -L../ext/tinydtls -ltinydtls -o coap-rd coap-rd.o ../.libs/libcoap-1.la
  873. libtool: link: gcc -isystem../include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -o coap-rd coap-rd.o -L../ext/tinydtls ../.libs/libcoap-1.a -L./ext/tinydtls -ltinydtls
  874. make[2]: Leaving directory '/home/pi/libcoap/examples'
  875. make[1]: Leaving directory '/home/pi/libcoap'
  876. pi@raspberrypi:~/libcoap $ sudo make install
  877. Making install in ext/tinydtls
  878. make[1]: Entering directory '/home/pi/libcoap/ext/tinydtls'
  879. make -C aes rijndael.o
  880. make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/aes'
  881. make[2]: 'rijndael.o' is up to date.
  882. make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/aes'
  883. make -C ecc ecc.o
  884. make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/ecc'
  885. make[2]: 'ecc.o' is up to date.
  886. make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/ecc'
  887. make -C sha2 sha2.o
  888. make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/sha2'
  889. make[2]: 'sha2.o' is up to date.
  890. make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/sha2'
  891. make -C doc
  892. make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/doc'
  893. : Doxyfile >./doxygen.out 2>&1
  894. make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/doc'
  895. test -d /usr/local/lib || mkdir -p /usr/local/lib
  896. test -d /usr/local/include/tinydtls || mkdir -p /usr/local/include/tinydtls
  897. cp libtinydtls.a /usr/local/lib/
  898. cp dtls.h hmac.h dtls_debug.h dtls_config.h uthash.h numeric.h crypto.h global.h ccm.h netq.h alert.h utlist.h prng.h peer.h state.h dtls_time.h session.h tinydtls.h /usr/local/include/tinydtls/
  899. for dir in tests doc platform-specific sha2 aes ecc; do \
  900. make -C $dir install="cp" includedir=/usr/local/include/tinydtls install; \
  901. done
  902. make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/tests'
  903. :
  904. make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/tests'
  905. make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/doc'
  906. make[2]: *** No rule to make target 'html', needed by 'install'. Stop.
  907. make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/doc'
  908. make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/platform-specific'
  909. :
  910. make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/platform-specific'
  911. make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/sha2'
  912. test -d /usr/local/include/tinydtls/sha2 || mkdir -p /usr/local/include/tinydtls/sha2
  913. cp sha2.h /usr/local/include/tinydtls/sha2
  914. make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/sha2'
  915. make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/aes'
  916. test -d /usr/local/include/tinydtls/aes || mkdir -p /usr/local/include/tinydtls/aes
  917. cp rijndael.h /usr/local/include/tinydtls/aes
  918. make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/aes'
  919. make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/ecc'
  920. test -d /usr/local/include/tinydtls/ecc || mkdir -p /usr/local/include/tinydtls/ecc
  921. cp ecc.h test_helper.h /usr/local/include/tinydtls/ecc
  922. make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/ecc'
  923. make[1]: Leaving directory '/home/pi/libcoap/ext/tinydtls'
  924. Making install in .
  925. make[1]: Entering directory '/home/pi/libcoap'
  926. make[2]: Entering directory '/home/pi/libcoap'
  927. /bin/mkdir -p '/usr/local/lib'
  928. /bin/bash ./libtool --mode=install /usr/bin/install -c libcoap-1.la '/usr/local/lib'
  929. libtool: install: /usr/bin/install -c .libs/libcoap-1.lai /usr/local/lib/libcoap-1.la
  930. libtool: install: /usr/bin/install -c .libs/libcoap-1.a /usr/local/lib/libcoap-1.a
  931. libtool: install: chmod 644 /usr/local/lib/libcoap-1.a
  932. libtool: install: ranlib /usr/local/lib/libcoap-1.a
  933. libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
  934. ----------------------------------------------------------------------
  935. Libraries have been installed in:
  936. /usr/local/lib
  937.  
  938. If you ever happen to want to link against installed libraries
  939. in a given directory, LIBDIR, you must either use libtool, and
  940. specify the full pathname of the library, or use the '-LLIBDIR'
  941. flag during linking and do at least one of the following:
  942. - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
  943. during execution
  944. - add LIBDIR to the 'LD_RUN_PATH' environment variable
  945. during linking
  946. - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
  947. - have your system administrator add LIBDIR to '/etc/ld.so.conf'
  948.  
  949. See any operating system documentation about shared libraries for
  950. more information, such as the ld(1) and ld.so(8) manual pages.
  951. ----------------------------------------------------------------------
  952. /bin/mkdir -p '/usr/local/include/coap/'
  953. /usr/bin/install -c -m 644 include/coap/address.h include/coap/async.h include/coap/bits.h include/coap/block.h include/coap/coap.h include/coap/coap_dtls.h include/coap/coap_event.h include/coap/coap_keystore.h include/coap/coap_io.h include/coap/coap_time.h include/coap/debug.h include/coap/encode.h include/coap/hashkey.h include/coap/libcoap.h include/coap/mem.h include/coap/net.h include/coap/option.h include/coap/pdu.h include/coap/prng.h include/coap/resource.h include/coap/run.h include/coap/str.h include/coap/subscribe.h include/coap/uri.h include/coap/uthash.h include/coap/utlist.h '/usr/local/include/coap/'
  954. /bin/mkdir -p '/usr/local/lib/pkgconfig'
  955. /usr/bin/install -c -m 644 libcoap-1.pc '/usr/local/lib/pkgconfig'
  956. make[2]: Leaving directory '/home/pi/libcoap'
  957. make[1]: Leaving directory '/home/pi/libcoap'
  958. Making install in tests
  959. make[1]: Entering directory '/home/pi/libcoap/tests'
  960. make[2]: Entering directory '/home/pi/libcoap/tests'
  961. make[2]: Nothing to be done for 'install-exec-am'.
  962. make[2]: Nothing to be done for 'install-data-am'.
  963. make[2]: Leaving directory '/home/pi/libcoap/tests'
  964. make[1]: Leaving directory '/home/pi/libcoap/tests'
  965. Making install in examples
  966. make[1]: Entering directory '/home/pi/libcoap/examples'
  967. make[2]: Entering directory '/home/pi/libcoap/examples'
  968. /bin/mkdir -p '/usr/local/bin'
  969. /bin/bash ../libtool --mode=install /usr/bin/install -c coap-client coap-server coap-rd '/usr/local/bin'
  970. libtool: install: /usr/bin/install -c coap-client /usr/local/bin/coap-client
  971. libtool: install: /usr/bin/install -c coap-server /usr/local/bin/coap-server
  972. libtool: install: /usr/bin/install -c coap-rd /usr/local/bin/coap-rd
  973. make[2]: Leaving directory '/home/pi/libcoap/examples'
  974. make[1]: Leaving directory '/home/pi/libcoap/examples'
  975. pi@raspberrypi:~/libcoap $ pip3 install pytradfri
  976. Collecting pytradfri
  977. Downloading https://www.piwheels.org/simple/pytradfri/pytradfri-6.0.1-py3-none-any.whl
  978. Installing collected packages: pytradfri
  979. Successfully installed pytradfri-6.0.1
  980. pi@raspberrypi:~/libcoap $ python3 -i -m pytradfri 192.169.1.217
  981. DEBUG:pytradfri.util:JSON file not found: tradfri_standalone_psk.conf
  982. Please provide the 'Security Code' on the back of your Tradfri gateway: e0nrip3jIUlaaaHI
  983. DEBUG:pytradfri.util:JSON file not found: tradfri_standalone_psk.conf
  984. DEBUG:pytradfri.api.libcoap_api:Executing 192.169.1.217 post ['15011', '9063']: {'9090': '881a06b16acf46ad92e2fcd326bde6b3'}
  985. Traceback (most recent call last):
  986. File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
  987. "__main__", mod_spec)
  988. File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
  989. exec(code, run_globals)
  990. File "/home/pi/.local/lib/python3.5/site-packages/pytradfri/__main__.py", line 48, in <module>
  991. psk = api_factory.generate_psk(args.key)
  992. File "/home/pi/.local/lib/python3.5/site-packages/pytradfri/api/libcoap_api.py", line 164, in generate_psk
  993. self._psk = self.request(Gateway().generate_psk(existing_psk_id))
  994. File "/home/pi/.local/lib/python3.5/site-packages/pytradfri/api/libcoap_api.py", line 96, in request
  995. return self._execute(api_commands, timeout=timeout)
  996. File "/home/pi/.local/lib/python3.5/site-packages/pytradfri/api/libcoap_api.py", line 85, in _execute
  997. raise RequestTimeout() from None
  998. pytradfri.error.RequestTimeout
  999. >>> lights
  1000. Traceback (most recent call last):
  1001. File "<stdin>", line 1, in <module>
  1002. NameError: name 'lights' is not defined
  1003. >>>
  1004. pi@raspberrypi:~/libcoap $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement