Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- login as: pi
- [email protected]'s password:
- Linux raspberrypi 4.14.79+ #1159 Sun Nov 4 17:28:08 GMT 2018 armv6l
- The programs included with the Debian GNU/Linux system are free software;
- the exact distribution terms for each program are described in the
- individual files in /usr/share/doc/*/copyright.
- Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
- permitted by applicable law.
- Last login: Wed Jan 2 14:05:41 2019
- SSH is enabled and the default password for the 'pi' user has not been changed.
- This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
- pi@raspberrypi:~ $ sudo apt install git automake libtool python3-pip
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- git is already the newest version (1:2.11.0-3+deb9u4).
- python3-pip is already the newest version (9.0.1-2+rpt2).
- The following additional packages will be installed:
- autoconf autotools-dev libltdl-dev libsigsegv2 m4
- Suggested packages:
- autoconf-archive gnu-standards autoconf-doc gettext libtool-doc gfortran
- | fortran95-compiler gcj-jdk m4-doc
- The following NEW packages will be installed:
- autoconf automake autotools-dev libltdl-dev libsigsegv2 libtool m4
- 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
- Need to get 2,062 kB of archives.
- After this operation, 6,362 kB of additional disk space will be used.
- Do you want to continue? [Y/n] Y
- Get:1 http://raspbian.mirror.uk.sargasso.net/raspbian stretch/main armhf libsigs egv2 armhf 2.10-5 [28.4 kB]
- Get:2 http://raspbian.mirror.uk.sargasso.net/raspbian stretch/main armhf m4 armh f 1.4.18-1 [185 kB]
- Get:3 http://raspbian.mirror.uk.sargasso.net/raspbian stretch/main armhf autocon f all 2.69-10 [338 kB]
- Get:4 http://raspbian.mirror.uk.sargasso.net/raspbian stretch/main armhf autotoo ls-dev all 20161112.1 [73.4 kB]
- Get:5 http://raspbian.mirror.uk.sargasso.net/raspbian stretch/main armhf automak e all 1:1.15-6 [733 kB]
- Get:6 http://raspbian.mirror.uk.sargasso.net/raspbian stretch/main armhf libltdl -dev armhf 2.4.6-2 [159 kB]
- Get:7 http://raspbian.mirror.uk.sargasso.net/raspbian stretch/main armhf libtool all 2.4.6-2 [545 kB]
- Fetched 2,062 kB in 1s (1,784 kB/s)
- Selecting previously unselected package libsigsegv2:armhf.
- (Reading database ... 80756 files and directories currently installed.)
- Preparing to unpack .../0-libsigsegv2_2.10-5_armhf.deb ...
- Unpacking libsigsegv2:armhf (2.10-5) ...
- Selecting previously unselected package m4.
- Preparing to unpack .../1-m4_1.4.18-1_armhf.deb ...
- Unpacking m4 (1.4.18-1) ...
- Selecting previously unselected package autoconf.
- Preparing to unpack .../2-autoconf_2.69-10_all.deb ...
- Unpacking autoconf (2.69-10) ...
- Selecting previously unselected package autotools-dev.
- Preparing to unpack .../3-autotools-dev_20161112.1_all.deb ...
- Unpacking autotools-dev (20161112.1) ...
- Selecting previously unselected package automake.
- Preparing to unpack .../4-automake_1%3a1.15-6_all.deb ...
- Unpacking automake (1:1.15-6) ...
- Selecting previously unselected package libltdl-dev:armhf.
- Preparing to unpack .../5-libltdl-dev_2.4.6-2_armhf.deb ...
- Unpacking libltdl-dev:armhf (2.4.6-2) ...
- Selecting previously unselected package libtool.
- Preparing to unpack .../6-libtool_2.4.6-2_all.deb ...
- Unpacking libtool (2.4.6-2) ...
- Setting up libltdl-dev:armhf (2.4.6-2) ...
- Setting up libsigsegv2:armhf (2.10-5) ...
- Processing triggers for install-info (6.3.0.dfsg.1-1+b1) ...
- Setting up m4 (1.4.18-1) ...
- Processing triggers for libc-bin (2.24-11+deb9u3) ...
- Setting up autotools-dev (20161112.1) ...
- Processing triggers for man-db (2.7.6.1-2) ...
- Setting up libtool (2.4.6-2) ...
- Setting up autoconf (2.69-10) ...
- Setting up automake (1:1.15-6) ...
- update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode
- pi@raspberrypi:~ $ git clone --depth 1 --recursive -b dtls https://github.com/home-assistant/libcoap.git
- Cloning into 'libcoap'...
- remote: Enumerating objects: 138, done.
- remote: Counting objects: 100% (138/138), done.
- remote: Compressing objects: 100% (120/120), done.
- remote: Total 138 (delta 9), reused 58 (delta 9), pack-reused 0
- Receiving objects: 100% (138/138), 235.93 KiB | 0 bytes/s, done.
- Resolving deltas: 100% (9/9), done.
- Submodule 'ext/tinydtls' (https://git.eclipse.org/r/tinydtls/org.eclipse.tinydtls) registered for path 'ext/tinydtls'
- Cloning into '/home/pi/libcoap/ext/tinydtls'...
- remote: Total 551 (delta 0), reused 551 (delta 0) B/s
- Receiving objects: 100% (551/551), 599.42 KiB | 855.00 KiB/s, done.
- Resolving deltas: 100% (235/235), done.
- Submodule path 'ext/tinydtls': checked out 'cc5863fa0e438ba1fa46c05f2a27cd8dd3d85b96'
- pi@raspberrypi:~ $ cd libcoap
- pi@raspberrypi:~/libcoap $ ./autogen.sh
- [HINT] You can run 'autogen.sh --clean' to remove all generated files by the autotools.
- Found 'autoconf'.
- Found 'aclocal'.
- Couldn't find 'libtool'!
- Found 'libtoolize'.
- ---> Found all needed tools! That's fine.
- Generating needed autotools files for libcoap by running autoreconf ...
- autoreconf: Entering directory `.'
- autoreconf: configure.ac: not using Gettext
- autoreconf: running: aclocal --force ${ACLOCAL_FLAGS} -I m4
- autoreconf: configure.ac: tracing
- autoreconf: configure.ac: adding subdirectory ext/tinydtls to autoreconf
- autoreconf: Entering directory `ext/tinydtls'
- autoreconf: running: aclocal --force
- autoreconf: configure.ac: not using Libtool
- autoreconf: running: /usr/bin/autoconf --force
- autoreconf: running: /usr/bin/autoheader --force
- autoreconf: configure.ac: not using Automake
- autoreconf: Leaving directory `ext/tinydtls'
- autoreconf: running: libtoolize --copy --force
- libtoolize: putting auxiliary files in '.'.
- libtoolize: copying file './ltmain.sh'
- libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
- libtoolize: copying file 'm4/libtool.m4'
- libtoolize: copying file 'm4/ltoptions.m4'
- libtoolize: copying file 'm4/ltsugar.m4'
- libtoolize: copying file 'm4/ltversion.m4'
- libtoolize: copying file 'm4/lt~obsolete.m4'
- autoreconf: running: automake --add-missing --copy --force-missing
- configure.ac:29: installing './ar-lib'
- configure.ac:25: installing './compile'
- configure.ac:33: installing './config.guess'
- configure.ac:33: installing './config.sub'
- configure.ac:18: installing './install-sh'
- configure.ac:18: installing './missing'
- Makefile.am: installing './INSTALL'
- Makefile.am: installing './depcomp'
- autoreconf: Leaving directory `.'
- You can now run 'configure --help' to see possible configuration options.
- Otherwise process the configure script to create the makefiles and generated helper files.
- pi@raspberrypi:~/libcoap $ ./configure --disable-documentation --disable-shared --without-debug CFLAGS="-D COAP_DEBUG_FD=stderr"
- checking for a BSD-compatible install... /usr/bin/install -c
- checking whether build environment is sane... yes
- checking for a thread-safe mkdir -p... /bin/mkdir -p
- checking for gawk... no
- checking for mawk... mawk
- checking whether make sets $(MAKE)... yes
- checking whether make supports nested variables... yes
- checking for gcc... gcc
- checking whether the C compiler works... yes
- checking for C compiler default output file name... a.out
- checking for suffix of executables...
- checking whether we are cross compiling... no
- checking for suffix of object files... o
- checking whether we are using the GNU C compiler... yes
- checking whether gcc accepts -g... yes
- checking for gcc option to accept ISO C89... none needed
- checking whether gcc understands -c and -o together... yes
- checking for style of include used by make... GNU
- checking dependency style of gcc... gcc3
- checking for ar... ar
- checking the archiver (ar) interface... ar
- checking build system type... armv6l-unknown-linux-gnueabihf
- checking host system type... armv6l-unknown-linux-gnueabihf
- checking how to print strings... printf
- checking for a sed that does not truncate output... /bin/sed
- checking for grep that handles long lines and -e... /bin/grep
- checking for egrep... /bin/grep -E
- checking for fgrep... /bin/grep -F
- checking for ld used by gcc... /usr/bin/ld
- checking if the linker (/usr/bin/ld) is GNU ld... yes
- checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
- checking the name lister (/usr/bin/nm -B) interface... BSD nm
- checking whether ln -s works... yes
- checking the maximum length of command line arguments... 1572864
- checking how to convert armv6l-unknown-linux-gnueabihf file names to armv6l-unknown-linux-gnueabihf format... func_convert_file_noop
- checking how to convert armv6l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
- checking for /usr/bin/ld option to reload object files... -r
- checking for objdump... objdump
- checking how to recognize dependent libraries... pass_all
- checking for dlltool... no
- checking how to associate runtime and link libraries... printf %s\n
- checking for archiver @FILE support... @
- checking for strip... strip
- checking for ranlib... ranlib
- checking command to parse /usr/bin/nm -B output from gcc object... ok
- checking for sysroot... no
- checking for a working dd... /bin/dd
- checking how to truncate binary pipes... /bin/dd bs=4096 count=1
- checking for mt... mt
- checking if mt is a manifest tool... no
- checking how to run the C preprocessor... gcc -E
- checking for ANSI C header files... yes
- checking for sys/types.h... yes
- checking for sys/stat.h... yes
- checking for stdlib.h... yes
- checking for string.h... yes
- checking for memory.h... yes
- checking for strings.h... yes
- checking for inttypes.h... yes
- checking for stdint.h... yes
- checking for unistd.h... yes
- checking for dlfcn.h... yes
- checking for objdir... .libs
- checking if gcc supports -fno-rtti -fno-exceptions... no
- checking for gcc option to produce PIC... -fPIC -DPIC
- checking if gcc PIC flag -fPIC -DPIC works... yes
- checking if gcc static flag -static works... yes
- checking if gcc supports -c -o file.o... yes
- checking if gcc supports -c -o file.o... (cached) yes
- checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
- checking dynamic linker characteristics... GNU/Linux ld.so
- checking how to hardcode library paths into programs... immediate
- checking whether stripping libraries is possible... yes
- checking if libtool supports shared libraries... yes
- checking whether to build shared libraries... no
- checking whether to build static libraries... yes
- checking whether C compiler accepts -Wlogical-op... yes
- checking whether C compiler accepts -fdiagnostics-color... yes
- checking whether the linker accepts -Wl,--version-script=./libcoap-1.map... yes
- checking for ctags... no
- configure: ==> Note: 'ctags' command not found!
- configure: WARNING: ==> Without ctags you will be unable to run the target 'update-map-file'!
- configure: WARNING: ==> This is no problem if you just want to build the library libcoap.
- configure: ==> Note: your ctags does not support '--c-kinds'!
- configure: ==> Most likely, you are using the GNU Emacs ctag and not exuberant ctag
- configure: WARNING: ==> This option is required for target 'update-map-file'
- configure: WARNING: ==> which is not a problem if you just want to build the library libcoap.
- checking assert.h usability... yes
- checking assert.h presence... yes
- checking for assert.h... yes
- checking arpa/inet.h usability... yes
- checking arpa/inet.h presence... yes
- checking for arpa/inet.h... yes
- checking limits.h usability... yes
- checking limits.h presence... yes
- checking for limits.h... yes
- checking netdb.h usability... yes
- checking netdb.h presence... yes
- checking for netdb.h... yes
- checking netinet/in.h usability... yes
- checking netinet/in.h presence... yes
- checking for netinet/in.h... yes
- checking for stdlib.h... (cached) yes
- checking for string.h... (cached) yes
- checking for strings.h... (cached) yes
- checking sys/socket.h usability... yes
- checking sys/socket.h presence... yes
- checking for sys/socket.h... yes
- checking sys/time.h usability... yes
- checking sys/time.h presence... yes
- checking for sys/time.h... yes
- checking time.h usability... yes
- checking time.h presence... yes
- checking for time.h... yes
- checking for unistd.h... (cached) yes
- checking sys/unistd.h usability... yes
- checking sys/unistd.h presence... yes
- checking for sys/unistd.h... yes
- checking syslog.h usability... yes
- checking syslog.h presence... yes
- checking for syslog.h... yes
- checking sys/select.h usability... yes
- checking sys/select.h presence... yes
- checking for sys/select.h... yes
- checking for size_t... yes
- checking for ssize_t... yes
- checking for memset... yes
- checking for select... yes
- checking for socket... yes
- checking for strcasecmp... yes
- checking for strrchr... yes
- checking for getaddrinfo... yes
- checking for strnlen... yes
- checking for malloc... yes
- checking for library containing socket... none required
- checking for library containing inet_ntop... none required
- checking for library containing clock_gettime... none required
- checking operating system... Linux
- checking that generated files are newer than configure... done
- configure: creating ./config.status
- config.status: creating Makefile
- config.status: creating doc/Makefile
- config.status: creating examples/Makefile
- config.status: creating examples/coap-client.txt
- config.status: creating examples/coap-server.txt
- config.status: creating examples/coap-rd.txt
- config.status: creating include/coap/coap.h
- config.status: creating tests/Makefile
- config.status: creating libcoap-1.pc
- config.status: creating coap_config.h
- config.status: executing depfiles commands
- config.status: executing libtool commands
- === configuring in ext/tinydtls (/home/pi/libcoap/ext/tinydtls)
- 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=.
- checking for doxygen... :
- checking for etags... /bin/false
- checking whether make sets $(MAKE)... yes
- checking for gcc... gcc
- checking whether the C compiler works... yes
- checking for C compiler default output file name... a.out
- checking for suffix of executables...
- checking whether we are cross compiling... no
- checking for suffix of object files... o
- checking whether we are using the GNU C compiler... yes
- checking whether gcc accepts -g... yes
- checking for gcc option to accept ISO C89... none needed
- checking for ranlib... ranlib
- checking for ar... ar
- checking the archiver (ar) interface... ar
- checking how to run the C preprocessor... gcc -E
- checking for grep that handles long lines and -e... /bin/grep
- checking for egrep... /bin/grep -E
- checking for ANSI C header files... yes
- checking for sys/types.h... yes
- checking for sys/stat.h... yes
- checking for stdlib.h... yes
- checking for string.h... yes
- checking for memory.h... yes
- checking for strings.h... yes
- checking for inttypes.h... yes
- checking for stdint.h... yes
- checking for unistd.h... yes
- checking whether byte ordering is bigendian... no
- checking for library containing gethostbyname... none required
- checking for library containing socket... none required
- checking assert.h usability... yes
- checking assert.h presence... yes
- checking for assert.h... yes
- checking arpa/inet.h usability... yes
- checking arpa/inet.h presence... yes
- checking for arpa/inet.h... yes
- checking fcntl.h usability... yes
- checking fcntl.h presence... yes
- checking for fcntl.h... yes
- checking for inttypes.h... (cached) yes
- checking netdb.h usability... yes
- checking netdb.h presence... yes
- checking for netdb.h... yes
- checking netinet/in.h usability... yes
- checking netinet/in.h presence... yes
- checking for netinet/in.h... yes
- checking stddef.h usability... yes
- checking stddef.h presence... yes
- checking for stddef.h... yes
- checking for stdint.h... (cached) yes
- checking for stdlib.h... (cached) yes
- checking for string.h... (cached) yes
- checking for strings.h... (cached) yes
- checking sys/param.h usability... yes
- checking sys/param.h presence... yes
- checking for sys/param.h... yes
- checking sys/socket.h usability... yes
- checking sys/socket.h presence... yes
- checking for sys/socket.h... yes
- checking for unistd.h... (cached) yes
- checking sys/time.h usability... yes
- checking sys/time.h presence... yes
- checking for sys/time.h... yes
- checking time.h usability... yes
- checking time.h presence... yes
- checking for time.h... yes
- checking for sys/types.h... (cached) yes
- checking for sys/stat.h... (cached) yes
- checking for inline... inline
- checking for size_t... yes
- checking for struct sockaddr_in6.sin6_len... no
- checking for memset... yes
- checking for select... yes
- checking for socket... yes
- checking for strdup... yes
- checking for strerror... yes
- checking for strnlen... yes
- checking for fls... no
- checking for vprintf... yes
- configure: creating ./config.status
- config.status: creating Makefile
- config.status: creating doc/Makefile
- config.status: creating doc/Doxyfile
- config.status: creating tests/Makefile
- config.status: creating platform-specific/Makefile
- config.status: creating sha2/Makefile
- config.status: creating aes/Makefile
- config.status: creating ecc/Makefile
- config.status: creating dtls_config.h
- libcoap configuration summary:
- libcoap package version : "4.1.2"
- libcoap library version : "0.0.0"
- libcoap API version : "1"
- host system : "armv6l-unknown-linux-gnueabihf"
- build documentation : "no"
- build unit test binary : "no"
- build examples : "yes"
- --> use a2x : "no"
- build with DTLS support : "yes"
- pi@raspberrypi:~/libcoap $ make
- make all-recursive
- make[1]: Entering directory '/home/pi/libcoap'
- Making all in ext/tinydtls
- make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls'
- 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
- In file included from dtls.c:49:0:
- dtls_debug.h: In function ‘hexdump’:
- dtls_debug.h:95:49: warning: unused parameter ‘packet’ [-Wunused-parameter]
- static inline void hexdump(const unsigned char *packet, int length)
- ^~~~~~
- dtls_debug.h:95:61: warning: unused parameter ‘length’ [-Wunused-parameter]
- static inline void hexdump(const unsigned char *packet, int length)
- ^~~~~~
- dtls_debug.h: In function ‘dump’:
- dtls_debug.h:98:40: warning: unused parameter ‘buf’ [-Wunused-parameter]
- static inline void dump(unsigned char *buf, size_t len)
- ^~~
- dtls_debug.h:98:52: warning: unused parameter ‘len’ [-Wunused-parameter]
- static inline void dump(unsigned char *buf, size_t len)
- ^~~
- dtls_debug.h: In function ‘dtls_dsrv_hexdump_log’:
- dtls_debug.h:102:29: warning: unused parameter ‘level’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~~
- dtls_debug.h:102:48: warning: unused parameter ‘name’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~
- dtls_debug.h:102:75: warning: unused parameter ‘buf’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~
- dtls_debug.h:102:87: warning: unused parameter ‘length’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~~~
- dtls_debug.h:102:99: warning: unused parameter ‘extend’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~~~
- dtls_debug.h: In function ‘dtls_dsrv_log_addr’:
- dtls_debug.h:106:26: warning: unused parameter ‘level’ [-Wunused-parameter]
- dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
- ^~~~~
- dtls_debug.h:106:45: warning: unused parameter ‘name’ [-Wunused-parameter]
- dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
- ^~~~
- dtls_debug.h:106:68: warning: unused parameter ‘addr’ [-Wunused-parameter]
- dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
- ^~~~
- dtls.c: In function ‘check_client_certificate_verify’:
- dtls.c:1771:49: warning: unused parameter ‘ctx’ [-Wunused-parameter]
- check_client_certificate_verify(dtls_context_t *ctx,
- ^~~
- dtls.c: In function ‘check_server_key_exchange_ecdsa’:
- dtls.c:2698:49: warning: unused parameter ‘ctx’ [-Wunused-parameter]
- check_server_key_exchange_ecdsa(dtls_context_t *ctx,
- ^~~
- 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
- In file included from crypto.c:29:0:
- dtls_debug.h: In function ‘hexdump’:
- dtls_debug.h:95:49: warning: unused parameter ‘packet’ [-Wunused-parameter]
- static inline void hexdump(const unsigned char *packet, int length)
- ^~~~~~
- dtls_debug.h:95:61: warning: unused parameter ‘length’ [-Wunused-parameter]
- static inline void hexdump(const unsigned char *packet, int length)
- ^~~~~~
- dtls_debug.h: In function ‘dump’:
- dtls_debug.h:98:40: warning: unused parameter ‘buf’ [-Wunused-parameter]
- static inline void dump(unsigned char *buf, size_t len)
- ^~~
- dtls_debug.h:98:52: warning: unused parameter ‘len’ [-Wunused-parameter]
- static inline void dump(unsigned char *buf, size_t len)
- ^~~
- dtls_debug.h: In function ‘dtls_dsrv_hexdump_log’:
- dtls_debug.h:102:29: warning: unused parameter ‘level’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~~
- dtls_debug.h:102:48: warning: unused parameter ‘name’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~
- dtls_debug.h:102:75: warning: unused parameter ‘buf’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~
- dtls_debug.h:102:87: warning: unused parameter ‘length’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~~~
- dtls_debug.h:102:99: warning: unused parameter ‘extend’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~~~
- dtls_debug.h: In function ‘dtls_dsrv_log_addr’:
- dtls_debug.h:106:26: warning: unused parameter ‘level’ [-Wunused-parameter]
- dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
- ^~~~~
- dtls_debug.h:106:45: warning: unused parameter ‘name’ [-Wunused-parameter]
- dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
- ^~~~
- dtls_debug.h:106:68: warning: unused parameter ‘addr’ [-Wunused-parameter]
- dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
- ^~~~
- 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
- 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
- In file included from hmac.c:28:0:
- dtls_debug.h: In function ‘hexdump’:
- dtls_debug.h:95:49: warning: unused parameter ‘packet’ [-Wunused-parameter]
- static inline void hexdump(const unsigned char *packet, int length)
- ^~~~~~
- dtls_debug.h:95:61: warning: unused parameter ‘length’ [-Wunused-parameter]
- static inline void hexdump(const unsigned char *packet, int length)
- ^~~~~~
- dtls_debug.h: In function ‘dump’:
- dtls_debug.h:98:40: warning: unused parameter ‘buf’ [-Wunused-parameter]
- static inline void dump(unsigned char *buf, size_t len)
- ^~~
- dtls_debug.h:98:52: warning: unused parameter ‘len’ [-Wunused-parameter]
- static inline void dump(unsigned char *buf, size_t len)
- ^~~
- dtls_debug.h: In function ‘dtls_dsrv_hexdump_log’:
- dtls_debug.h:102:29: warning: unused parameter ‘level’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~~
- dtls_debug.h:102:48: warning: unused parameter ‘name’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~
- dtls_debug.h:102:75: warning: unused parameter ‘buf’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~
- dtls_debug.h:102:87: warning: unused parameter ‘length’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~~~
- dtls_debug.h:102:99: warning: unused parameter ‘extend’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~~~
- dtls_debug.h: In function ‘dtls_dsrv_log_addr’:
- dtls_debug.h:106:26: warning: unused parameter ‘level’ [-Wunused-parameter]
- dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
- ^~~~~
- dtls_debug.h:106:45: warning: unused parameter ‘name’ [-Wunused-parameter]
- dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
- ^~~~
- dtls_debug.h:106:68: warning: unused parameter ‘addr’ [-Wunused-parameter]
- dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
- ^~~~
- 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
- In file included from netq.c:18:0:
- dtls_debug.h: In function ‘hexdump’:
- dtls_debug.h:95:49: warning: unused parameter ‘packet’ [-Wunused-parameter]
- static inline void hexdump(const unsigned char *packet, int length)
- ^~~~~~
- dtls_debug.h:95:61: warning: unused parameter ‘length’ [-Wunused-parameter]
- static inline void hexdump(const unsigned char *packet, int length)
- ^~~~~~
- dtls_debug.h: In function ‘dump’:
- dtls_debug.h:98:40: warning: unused parameter ‘buf’ [-Wunused-parameter]
- static inline void dump(unsigned char *buf, size_t len)
- ^~~
- dtls_debug.h:98:52: warning: unused parameter ‘len’ [-Wunused-parameter]
- static inline void dump(unsigned char *buf, size_t len)
- ^~~
- dtls_debug.h: In function ‘dtls_dsrv_hexdump_log’:
- dtls_debug.h:102:29: warning: unused parameter ‘level’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~~
- dtls_debug.h:102:48: warning: unused parameter ‘name’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~
- dtls_debug.h:102:75: warning: unused parameter ‘buf’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~
- dtls_debug.h:102:87: warning: unused parameter ‘length’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~~~
- dtls_debug.h:102:99: warning: unused parameter ‘extend’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~~~
- dtls_debug.h: In function ‘dtls_dsrv_log_addr’:
- dtls_debug.h:106:26: warning: unused parameter ‘level’ [-Wunused-parameter]
- dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
- ^~~~~
- dtls_debug.h:106:45: warning: unused parameter ‘name’ [-Wunused-parameter]
- dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
- ^~~~
- dtls_debug.h:106:68: warning: unused parameter ‘addr’ [-Wunused-parameter]
- dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
- ^~~~
- 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
- In file included from peer.c:20:0:
- dtls_debug.h: In function ‘hexdump’:
- dtls_debug.h:95:49: warning: unused parameter ‘packet’ [-Wunused-parameter]
- static inline void hexdump(const unsigned char *packet, int length)
- ^~~~~~
- dtls_debug.h:95:61: warning: unused parameter ‘length’ [-Wunused-parameter]
- static inline void hexdump(const unsigned char *packet, int length)
- ^~~~~~
- dtls_debug.h: In function ‘dump’:
- dtls_debug.h:98:40: warning: unused parameter ‘buf’ [-Wunused-parameter]
- static inline void dump(unsigned char *buf, size_t len)
- ^~~
- dtls_debug.h:98:52: warning: unused parameter ‘len’ [-Wunused-parameter]
- static inline void dump(unsigned char *buf, size_t len)
- ^~~
- dtls_debug.h: In function ‘dtls_dsrv_hexdump_log’:
- dtls_debug.h:102:29: warning: unused parameter ‘level’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~~
- dtls_debug.h:102:48: warning: unused parameter ‘name’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~
- dtls_debug.h:102:75: warning: unused parameter ‘buf’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~
- dtls_debug.h:102:87: warning: unused parameter ‘length’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~~~
- dtls_debug.h:102:99: warning: unused parameter ‘extend’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~~~
- dtls_debug.h: In function ‘dtls_dsrv_log_addr’:
- dtls_debug.h:106:26: warning: unused parameter ‘level’ [-Wunused-parameter]
- dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
- ^~~~~
- dtls_debug.h:106:45: warning: unused parameter ‘name’ [-Wunused-parameter]
- dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
- ^~~~
- dtls_debug.h:106:68: warning: unused parameter ‘addr’ [-Wunused-parameter]
- dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
- ^~~~
- 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
- 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
- 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
- In file included from dtls_debug.c:36:0:
- dtls_debug.h: In function ‘hexdump’:
- dtls_debug.h:95:49: warning: unused parameter ‘packet’ [-Wunused-parameter]
- static inline void hexdump(const unsigned char *packet, int length)
- ^~~~~~
- dtls_debug.h:95:61: warning: unused parameter ‘length’ [-Wunused-parameter]
- static inline void hexdump(const unsigned char *packet, int length)
- ^~~~~~
- dtls_debug.h: In function ‘dump’:
- dtls_debug.h:98:40: warning: unused parameter ‘buf’ [-Wunused-parameter]
- static inline void dump(unsigned char *buf, size_t len)
- ^~~
- dtls_debug.h:98:52: warning: unused parameter ‘len’ [-Wunused-parameter]
- static inline void dump(unsigned char *buf, size_t len)
- ^~~
- dtls_debug.h: In function ‘dtls_dsrv_hexdump_log’:
- dtls_debug.h:102:29: warning: unused parameter ‘level’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~~
- dtls_debug.h:102:48: warning: unused parameter ‘name’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~
- dtls_debug.h:102:75: warning: unused parameter ‘buf’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~
- dtls_debug.h:102:87: warning: unused parameter ‘length’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~~~
- dtls_debug.h:102:99: warning: unused parameter ‘extend’ [-Wunused-parameter]
- dtls_dsrv_hexdump_log(log_t level, const char *name, const unsigned char *buf, size_t length, int extend)
- ^~~~~~
- dtls_debug.h: In function ‘dtls_dsrv_log_addr’:
- dtls_debug.h:106:26: warning: unused parameter ‘level’ [-Wunused-parameter]
- dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
- ^~~~~
- dtls_debug.h:106:45: warning: unused parameter ‘name’ [-Wunused-parameter]
- dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
- ^~~~
- dtls_debug.h:106:68: warning: unused parameter ‘addr’ [-Wunused-parameter]
- dtls_dsrv_log_addr(log_t level, const char *name, const session_t *addr)
- ^~~~
- make -C aes rijndael.o
- make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/aes'
- gcc -Wall -std=c99 -pedantic -D COAP_DEBUG_FD=stderr -DNDEBUG -DDTLSv12 -DWITH_SHA256 -c -o rijndael.o rijndael.c
- make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/aes'
- make -C ecc ecc.o
- make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/ecc'
- gcc -Wall -std=c99 -pedantic -D COAP_DEBUG_FD=stderr -DTEST_INCLUDE -DNDEBUG -DDTLSv12 -DWITH_SHA256 -c -o ecc.o ecc.c
- make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/ecc'
- make -C sha2 sha2.o
- make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/sha2'
- gcc -Wall -std=c99 -pedantic -D COAP_DEBUG_FD=stderr -DNDEBUG -DDTLSv12 -DWITH_SHA256 -I.. -c -o sha2.o sha2.c
- make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/sha2'
- 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
- ar: `u' modifier ignored since `D' is the default (see `U')
- ranlib libtinydtls.a
- make -C doc
- make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/doc'
- : Doxyfile >./doxygen.out 2>&1
- make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/doc'
- for dir in tests doc platform-specific sha2 aes ecc; do \
- make -C $dir ; \
- done
- make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/tests'
- gcc -Wall -D COAP_DEBUG_FD=stderr -I.. -DNDEBUG -DDTLSv12 -DWITH_SHA256 -L.. dtls-server.c -ltinydtls -o dtls-server
- gcc -Wall -D COAP_DEBUG_FD=stderr -I.. -DNDEBUG -DDTLSv12 -DWITH_SHA256 -L.. ccm-test.c -ltinydtls -o ccm-test
- gcc -Wall -D COAP_DEBUG_FD=stderr -I.. -DNDEBUG -DDTLSv12 -DWITH_SHA256 -L.. prf-test.c -ltinydtls -o prf-test
- gcc -Wall -D COAP_DEBUG_FD=stderr -I.. -DNDEBUG -DDTLSv12 -DWITH_SHA256 -L.. dtls-client.c -ltinydtls -o dtls-client
- make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/tests'
- make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/doc'
- : Doxyfile >./doxygen.out 2>&1
- make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/doc'
- make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/platform-specific'
- make[3]: Nothing to be done for 'clean'.
- make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/platform-specific'
- make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/sha2'
- make[3]: Nothing to be done for 'all'.
- make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/sha2'
- make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/aes'
- make[3]: Nothing to be done for 'all'.
- make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/aes'
- make[3]: Entering directory '/home/pi/libcoap/ext/tinydtls/ecc'
- gcc -Wall -std=c99 -pedantic -D COAP_DEBUG_FD=stderr -DTEST_INCLUDE -DNDEBUG -DDTLSv12 -DWITH_SHA256 -c -o ecc_test.o ecc.c
- gcc -Wall -std=c99 -pedantic -D COAP_DEBUG_FD=stderr -DTEST_INCLUDE -DNDEBUG -DDTLSv12 -DWITH_SHA256 -c -o test_helper.o test_helper.c
- 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
- testecc.c:116:23: warning: ‘ecdsaTestresultS2’ defined but not used [-Wunused-const-variable=]
- static const uint32_t ecdsaTestresultS2[] = { 0x433AAB6F, 0x808250B1, 0xE46F90F4, 0xB342E972, 0x18B2F7E4, 0x2DB981A2, 0x6A288FA4, 0x41CF59DB};
- ^~~~~~~~~~~~~~~~~
- testecc.c:115:23: warning: ‘ecdsaTestresultR2’ defined but not used [-Wunused-const-variable=]
- static const uint32_t ecdsaTestresultR2[] = { 0x14146C91, 0xE878724D, 0xCD4FF928, 0xCC24BC04, 0xAC403390, 0x650C0060, 0x4A30B3F1, 0x9C69B726};
- ^~~~~~~~~~~~~~~~~
- testecc.c:112:23: warning: ‘ecdsaTestresultS1’ defined but not used [-Wunused-const-variable=]
- static const uint32_t ecdsaTestresultS1[] = { 0x5366B1AB, 0x0F1DBF46, 0xB0C8D3C4, 0xDB755B6F, 0xB9BF9243, 0xE644A8BE, 0x55159A59, 0x6F9E52A6};
- ^~~~~~~~~~~~~~~~~
- testecc.c:111:23: warning: ‘ecdsaTestresultR1’ defined but not used [-Wunused-const-variable=]
- static const uint32_t ecdsaTestresultR1[] = { 0xC3B4035F, 0x515AD0A6, 0xBF375DCA, 0x0CC1E997, 0x7F54FDCD, 0x04D3FECA, 0xB9E396B9, 0x515C3D6E};
- ^~~~~~~~~~~~~~~~~
- 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
- testfield.c:99:23: warning: ‘orderResultDoubleMod’ defined but not used [-Wunused-const-variable=]
- static const uint32_t orderResultDoubleMod[8] = {0xFC63254F, 0xF3B9CAC2, 0xA7179E84, 0xBCE6FAAD, 0xFFFFFFFF, 0xFFFFFFFF, 0x00000000, 0xFFFFFFFF};
- ^~~~~~~~~~~~~~~~~~~~
- make[3]: Leaving directory '/home/pi/libcoap/ext/tinydtls/ecc'
- make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls'
- Making all in .
- make[2]: Entering directory '/home/pi/libcoap'
- /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
- 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
- mv -f src/.deps/libcoap_1_la-address.Tpo src/.deps/libcoap_1_la-address.Plo
- /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
- 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
- mv -f src/.deps/libcoap_1_la-async.Tpo src/.deps/libcoap_1_la-async.Plo
- /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
- 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
- mv -f src/.deps/libcoap_1_la-block.Tpo src/.deps/libcoap_1_la-block.Plo
- /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
- 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
- In file included from ./ext/tinydtls/tinydtls.h:28:0,
- from src/coap_dtls.c:26:
- ./ext/tinydtls/dtls_config.h:98:0: warning: "PACKAGE_BUGREPORT" redefined
- #define PACKAGE_BUGREPORT ""
- In file included from src/coap_dtls.c:10:0:
- ./coap_config.h:104:0: note: this is the location of the previous definition
- #define PACKAGE_BUGREPORT "[email protected]"
- In file included from ./ext/tinydtls/tinydtls.h:28:0,
- from src/coap_dtls.c:26:
- ./ext/tinydtls/dtls_config.h:101:0: warning: "PACKAGE_NAME" redefined
- #define PACKAGE_NAME "tinydtls"
- In file included from src/coap_dtls.c:10:0:
- ./coap_config.h:107:0: note: this is the location of the previous definition
- #define PACKAGE_NAME "libcoap"
- In file included from ./ext/tinydtls/tinydtls.h:28:0,
- from src/coap_dtls.c:26:
- ./ext/tinydtls/dtls_config.h:104:0: warning: "PACKAGE_STRING" redefined
- #define PACKAGE_STRING "tinydtls 0.8.6"
- In file included from src/coap_dtls.c:10:0:
- ./coap_config.h:110:0: note: this is the location of the previous definition
- #define PACKAGE_STRING "libcoap 4.1.2"
- In file included from ./ext/tinydtls/tinydtls.h:28:0,
- from src/coap_dtls.c:26:
- ./ext/tinydtls/dtls_config.h:107:0: warning: "PACKAGE_TARNAME" redefined
- #define PACKAGE_TARNAME "tinydtls"
- In file included from src/coap_dtls.c:10:0:
- ./coap_config.h:113:0: note: this is the location of the previous definition
- #define PACKAGE_TARNAME "libcoap"
- In file included from ./ext/tinydtls/tinydtls.h:28:0,
- from src/coap_dtls.c:26:
- ./ext/tinydtls/dtls_config.h:110:0: warning: "PACKAGE_URL" redefined
- #define PACKAGE_URL ""
- In file included from src/coap_dtls.c:10:0:
- ./coap_config.h:116:0: note: this is the location of the previous definition
- #define PACKAGE_URL "https://libcoap.net/"
- In file included from ./ext/tinydtls/tinydtls.h:28:0,
- from src/coap_dtls.c:26:
- ./ext/tinydtls/dtls_config.h:113:0: warning: "PACKAGE_VERSION" redefined
- #define PACKAGE_VERSION "0.8.6"
- In file included from src/coap_dtls.c:10:0:
- ./coap_config.h:119:0: note: this is the location of the previous definition
- #define PACKAGE_VERSION "4.1.2"
- mv -f src/.deps/libcoap_1_la-coap_dtls.Tpo src/.deps/libcoap_1_la-coap_dtls.Plo
- /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
- 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
- mv -f src/.deps/libcoap_1_la-coap_event.Tpo src/.deps/libcoap_1_la-coap_event.Plo
- /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
- 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
- mv -f src/.deps/libcoap_1_la-coap_keystore.Tpo src/.deps/libcoap_1_la-coap_keystore.Plo
- /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
- 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
- mv -f src/.deps/libcoap_1_la-coap_time.Tpo src/.deps/libcoap_1_la-coap_time.Plo
- /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
- 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
- mv -f src/.deps/libcoap_1_la-debug.Tpo src/.deps/libcoap_1_la-debug.Plo
- /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
- 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
- mv -f src/.deps/libcoap_1_la-encode.Tpo src/.deps/libcoap_1_la-encode.Plo
- /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
- 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
- mv -f src/.deps/libcoap_1_la-hashkey.Tpo src/.deps/libcoap_1_la-hashkey.Plo
- /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
- 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
- mv -f src/.deps/libcoap_1_la-mem.Tpo src/.deps/libcoap_1_la-mem.Plo
- /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
- 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
- mv -f src/.deps/libcoap_1_la-net.Tpo src/.deps/libcoap_1_la-net.Plo
- /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
- 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
- mv -f src/.deps/libcoap_1_la-option.Tpo src/.deps/libcoap_1_la-option.Plo
- /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
- 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
- mv -f src/.deps/libcoap_1_la-pdu.Tpo src/.deps/libcoap_1_la-pdu.Plo
- /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
- 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
- mv -f src/.deps/libcoap_1_la-resource.Tpo src/.deps/libcoap_1_la-resource.Plo
- /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
- 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
- mv -f src/.deps/libcoap_1_la-str.Tpo src/.deps/libcoap_1_la-str.Plo
- /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
- 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
- mv -f src/.deps/libcoap_1_la-subscribe.Tpo src/.deps/libcoap_1_la-subscribe.Plo
- /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
- 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
- mv -f src/.deps/libcoap_1_la-uri.Tpo src/.deps/libcoap_1_la-uri.Plo
- /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
- 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
- mv -f src/platform/posix/.deps/libcoap_1_la-coap_io.Tpo src/platform/posix/.deps/libcoap_1_la-coap_io.Plo
- /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
- 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
- src/platform/posix/prng.c:16:1: warning: no previous prototype for ‘coap_prng’ [-Wmissing-prototypes]
- coap_prng(unsigned char *buf, size_t len) {
- ^~~~~~~~~
- src/platform/posix/prng.c:23:1: warning: no previous prototype for ‘coap_prng_init’ [-Wmissing-prototypes]
- coap_prng_init(void *value) {
- ^~~~~~~~~~~~~~
- mv -f src/platform/posix/.deps/libcoap_1_la-prng.Tpo src/platform/posix/.deps/libcoap_1_la-prng.Plo
- /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
- 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
- mv -f src/platform/posix/.deps/libcoap_1_la-run.Tpo src/platform/posix/.deps/libcoap_1_la-run.Plo
- /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
- 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
- ar: `u' modifier ignored since `D' is the default (see `U')
- libtool: link: ranlib .libs/libcoap-1.a
- libtool: link: ( cd ".libs" && rm -f "libcoap-1.la" && ln -s "../libcoap-1.la" "libcoap-1.la" )
- make[2]: Leaving directory '/home/pi/libcoap'
- Making all in tests
- make[2]: Entering directory '/home/pi/libcoap/tests'
- make[2]: Nothing to be done for 'all'.
- make[2]: Leaving directory '/home/pi/libcoap/tests'
- Making all in examples
- make[2]: Entering directory '/home/pi/libcoap/examples'
- 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
- mv -f .deps/client.Tpo .deps/client.Po
- 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
- mv -f .deps/coap_list.Tpo .deps/coap_list.Po
- /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
- 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
- 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
- mv -f .deps/coap-server.Tpo .deps/coap-server.Po
- /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
- 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
- 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
- mv -f .deps/coap-rd.Tpo .deps/coap-rd.Po
- /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
- 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
- make[2]: Leaving directory '/home/pi/libcoap/examples'
- make[1]: Leaving directory '/home/pi/libcoap'
- pi@raspberrypi:~/libcoap $ sudo make install
- Making install in ext/tinydtls
- make[1]: Entering directory '/home/pi/libcoap/ext/tinydtls'
- make -C aes rijndael.o
- make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/aes'
- make[2]: 'rijndael.o' is up to date.
- make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/aes'
- make -C ecc ecc.o
- make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/ecc'
- make[2]: 'ecc.o' is up to date.
- make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/ecc'
- make -C sha2 sha2.o
- make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/sha2'
- make[2]: 'sha2.o' is up to date.
- make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/sha2'
- make -C doc
- make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/doc'
- : Doxyfile >./doxygen.out 2>&1
- make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/doc'
- test -d /usr/local/lib || mkdir -p /usr/local/lib
- test -d /usr/local/include/tinydtls || mkdir -p /usr/local/include/tinydtls
- cp libtinydtls.a /usr/local/lib/
- 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/
- for dir in tests doc platform-specific sha2 aes ecc; do \
- make -C $dir install="cp" includedir=/usr/local/include/tinydtls install; \
- done
- make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/tests'
- :
- make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/tests'
- make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/doc'
- make[2]: *** No rule to make target 'html', needed by 'install'. Stop.
- make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/doc'
- make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/platform-specific'
- :
- make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/platform-specific'
- make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/sha2'
- test -d /usr/local/include/tinydtls/sha2 || mkdir -p /usr/local/include/tinydtls/sha2
- cp sha2.h /usr/local/include/tinydtls/sha2
- make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/sha2'
- make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/aes'
- test -d /usr/local/include/tinydtls/aes || mkdir -p /usr/local/include/tinydtls/aes
- cp rijndael.h /usr/local/include/tinydtls/aes
- make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/aes'
- make[2]: Entering directory '/home/pi/libcoap/ext/tinydtls/ecc'
- test -d /usr/local/include/tinydtls/ecc || mkdir -p /usr/local/include/tinydtls/ecc
- cp ecc.h test_helper.h /usr/local/include/tinydtls/ecc
- make[2]: Leaving directory '/home/pi/libcoap/ext/tinydtls/ecc'
- make[1]: Leaving directory '/home/pi/libcoap/ext/tinydtls'
- Making install in .
- make[1]: Entering directory '/home/pi/libcoap'
- make[2]: Entering directory '/home/pi/libcoap'
- /bin/mkdir -p '/usr/local/lib'
- /bin/bash ./libtool --mode=install /usr/bin/install -c libcoap-1.la '/usr/local/lib'
- libtool: install: /usr/bin/install -c .libs/libcoap-1.lai /usr/local/lib/libcoap-1.la
- libtool: install: /usr/bin/install -c .libs/libcoap-1.a /usr/local/lib/libcoap-1.a
- libtool: install: chmod 644 /usr/local/lib/libcoap-1.a
- libtool: install: ranlib /usr/local/lib/libcoap-1.a
- libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
- ----------------------------------------------------------------------
- Libraries have been installed in:
- /usr/local/lib
- If you ever happen to want to link against installed libraries
- in a given directory, LIBDIR, you must either use libtool, and
- specify the full pathname of the library, or use the '-LLIBDIR'
- flag during linking and do at least one of the following:
- - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
- during execution
- - add LIBDIR to the 'LD_RUN_PATH' environment variable
- during linking
- - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- - have your system administrator add LIBDIR to '/etc/ld.so.conf'
- See any operating system documentation about shared libraries for
- more information, such as the ld(1) and ld.so(8) manual pages.
- ----------------------------------------------------------------------
- /bin/mkdir -p '/usr/local/include/coap/'
- /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/'
- /bin/mkdir -p '/usr/local/lib/pkgconfig'
- /usr/bin/install -c -m 644 libcoap-1.pc '/usr/local/lib/pkgconfig'
- make[2]: Leaving directory '/home/pi/libcoap'
- make[1]: Leaving directory '/home/pi/libcoap'
- Making install in tests
- make[1]: Entering directory '/home/pi/libcoap/tests'
- make[2]: Entering directory '/home/pi/libcoap/tests'
- make[2]: Nothing to be done for 'install-exec-am'.
- make[2]: Nothing to be done for 'install-data-am'.
- make[2]: Leaving directory '/home/pi/libcoap/tests'
- make[1]: Leaving directory '/home/pi/libcoap/tests'
- Making install in examples
- make[1]: Entering directory '/home/pi/libcoap/examples'
- make[2]: Entering directory '/home/pi/libcoap/examples'
- /bin/mkdir -p '/usr/local/bin'
- /bin/bash ../libtool --mode=install /usr/bin/install -c coap-client coap-server coap-rd '/usr/local/bin'
- libtool: install: /usr/bin/install -c coap-client /usr/local/bin/coap-client
- libtool: install: /usr/bin/install -c coap-server /usr/local/bin/coap-server
- libtool: install: /usr/bin/install -c coap-rd /usr/local/bin/coap-rd
- make[2]: Leaving directory '/home/pi/libcoap/examples'
- make[1]: Leaving directory '/home/pi/libcoap/examples'
- pi@raspberrypi:~/libcoap $ pip3 install pytradfri
- Collecting pytradfri
- Downloading https://www.piwheels.org/simple/pytradfri/pytradfri-6.0.1-py3-none-any.whl
- Installing collected packages: pytradfri
- Successfully installed pytradfri-6.0.1
- pi@raspberrypi:~/libcoap $ python3 -i -m pytradfri 192.169.1.217
- DEBUG:pytradfri.util:JSON file not found: tradfri_standalone_psk.conf
- Please provide the 'Security Code' on the back of your Tradfri gateway: e0nrip3jIUlaaaHI
- DEBUG:pytradfri.util:JSON file not found: tradfri_standalone_psk.conf
- DEBUG:pytradfri.api.libcoap_api:Executing 192.169.1.217 post ['15011', '9063']: {'9090': '881a06b16acf46ad92e2fcd326bde6b3'}
- Traceback (most recent call last):
- File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
- "__main__", mod_spec)
- File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
- exec(code, run_globals)
- File "/home/pi/.local/lib/python3.5/site-packages/pytradfri/__main__.py", line 48, in <module>
- psk = api_factory.generate_psk(args.key)
- File "/home/pi/.local/lib/python3.5/site-packages/pytradfri/api/libcoap_api.py", line 164, in generate_psk
- self._psk = self.request(Gateway().generate_psk(existing_psk_id))
- File "/home/pi/.local/lib/python3.5/site-packages/pytradfri/api/libcoap_api.py", line 96, in request
- return self._execute(api_commands, timeout=timeout)
- File "/home/pi/.local/lib/python3.5/site-packages/pytradfri/api/libcoap_api.py", line 85, in _execute
- raise RequestTimeout() from None
- pytradfri.error.RequestTimeout
- >>> lights
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- NameError: name 'lights' is not defined
- >>>
- pi@raspberrypi:~/libcoap $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement