Code: Select all
make -C ssl
make[2]: Verzeichnis „/home/chris/src/arch/packages/micropython-git/src/micropython/lib/axtls/ssl“ wird betreten
gcc -I../lib -I../lib/netutils -I../lib/berkeley-db-1.xx/PORT/include -I. -I.. -I../lib/timeutils -Ibuild -I../lib/mp-readline -Wall -Werror -Wpointer-arith -Wuninitialized -ansi -std=gnu99 -DUNIX -DMICROPY_PY_USSL=1 -DMICROPY_SSL_AXTLS=1 -I../lib/axtls/ssl -I../lib/axtls/crypto -I../lib/axtls/config -D__DBINTERFACE_PRIVATE=1 -Dmpool_error=printf -Dabort=abort_ -Dvirt_fd_t=mp_obj_t "-DVIRT_FD_T_HEADER=<py/obj.h>" -DMICROPY_PY_BTREE=1 -DMICROPY_USE_READLINE=1 -DMICROPY_PY_TERMIOS=1 -DMICROPY_PY_SOCKET=1 -DMICROPY_PY_THREAD=1 -DMICROPY_PY_THREAD_GIL=0 -I/usr/lib/libffi-3.2.1/include -DMICROPY_PY_FFI=1 -Os -fdata-sections -ffunction-sections -U _FORTIFY_SOURCE -I/config -I/ssl -I/crypto -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -I../config -I../ssl -I../crypto -Wall -Wstrict-prototypes -Wshadow -g -Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -D_FORTIFY_SOURCE=2 -c -o asn1.o asn1.c
asn1.c:78:22: Fehler: »sig_subject_alt_name« defined but not used [-Werror=unused-const-variable=]
static const uint8_t sig_subject_alt_name[] =
^~~~~~~~~~~~~~~~~~~~
cc1: Alle Warnungen werden als Fehler behandelt
make[2]: *** [<eingebaut>: asn1.o] Fehler 1
make[2]: Verzeichnis „/home/chris/src/arch/packages/micropython-git/src/micropython/lib/axtls/ssl“ wird verlassen
make[1]: *** [Makefile:49: target] Fehler 2
make[1]: Verzeichnis „/home/chris/src/arch/packages/micropython-git/src/micropython/lib/axtls“ wird verlassen
make: *** [Makefile:285: build/libaxtls.a] Fehler 2
Code: Select all
cd "micropython"
git submodule update --init
cd unix
make CWARN="-Wall" axtls
make
Code: Select all
make CWARN="-Wall -Werror -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=unused-const-variable" axtls
Chris