I have an error while I try to build micropython unix port :
Code: Select all
CC ../../extmod/modussl_axtls.c
In file included from ../../lib/axtls/ssl/tls1.h:46,
from ../../lib/axtls/ssl/ssl.h:75,
from ../../extmod/modussl_axtls.c:35:
../../lib/axtls/ssl/os_port.h:1:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token
1 | os_port_micropython.h
| ^
In file included from ../../lib/axtls/crypto/crypto.h:42,
from ../../lib/axtls/ssl/tls1.h:47,
from ../../lib/axtls/ssl/ssl.h:75,
from ../../extmod/modussl_axtls.c:35:
../../lib/axtls/crypto/bigint_impl.h:89:5: error: unknown type name ‘comp’
89 | comp* comps; /**< A ptr to the actual component data */
| ^~~~
In file included from ../../lib/axtls/crypto/crypto.h:43,
from ../../lib/axtls/ssl/tls1.h:47,
from ../../lib/axtls/ssl/ssl.h:75,
from ../../extmod/modussl_axtls.c:35:
../../lib/axtls/crypto/bigint.h:46:32: error: unknown type name ‘comp’
46 | bigint *int_to_bi(BI_CTX *ctx, comp i);
| ^~~~
make: *** [../../py/mkrules.mk:47: build-standard/extmod/modussl_axtls.o] Error 1
Best