I compiled latest micropython/esp8266 firmware,show follow error message:
fff@cc-b1c25b7d7454 /micropython-master
$ cd esp8266/
fff@cc-b1c25b7d7454 /micropython-master/esp8266
$ ls
Makefile gccollect.h modpybadc.c scripts
README.md gchelper.s modpybpin.c strtoll.c
eagle.rom.addr.v6.ld main.c modpybrtc.c uart.c
esp8266.ld makeimg.py modpybrtc.h uart.h
esp_mphal.c modesp.c moduos.c uart_register.h
esp_mphal.h modnetwork.c modutime.c user_config.h
etshal.h modpyb.c mpconfigport.h utils.c
gccollect.c modpyb.h qstrdefsport.h utils.h
fff@cc-b1c25b7d7454 /micropython-master/esp8266
$ make
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosit
y.
mkdir -p build/genhdr
GEN build/genhdr/qstrdefs.generated.h
Generating build/genhdr/mpversion.h
mkdir -p build/build
mkdir -p build/lib/libc
mkdir -p build/lib/libm
mkdir -p build/lib/mp-readline
mkdir -p build/lib/netutils
mkdir -p build/lib/timeutils
mkdir -p build/lib/utils
mkdir -p build/py
mkdir -p build/py/../extmod
mkdir -p build/stmhal
CC ../py/mpstate.c
CC ../py/nlrx86.S
CC ../py/nlrx64.S
CC ../py/nlrthumb.S
CC ../py/nlrxtensa.S
CC ../py/nlrsetjmp.c
CC ../py/malloc.c
CC ../py/gc.c
CC ../py/qstr.c
CC ../py/vstr.c
CC ../py/mpprint.c
CC ../py/unicode.c
CC ../py/mpz.c
CC ../py/lexer.c
CC ../py/lexerstr.c
CC ../py/lexerunix.c
CC ../py/parse.c
CC ../py/scope.c
CC ../py/compile.c
CC ../py/emitcommon.c
CC ../py/emitbc.c
CC ../py/asmx64.c
CC ../py/emitnative.c
CC ../py/asmx86.c
CC ../py/emitnative.c
CC ../py/asmthumb.c
CC ../py/emitnative.c
CC ../py/emitinlinethumb.c
CC ../py/asmarm.c
CC ../py/emitnative.c
CC ../py/formatfloat.c
CC ../py/parsenumbase.c
CC ../py/parsenum.c
CC ../py/emitglue.c
CC ../py/runtime.c
CC ../py/nativeglue.c
CC ../py/stackctrl.c
CC ../py/argcheck.c
CC ../py/warning.c
CC ../py/map.c
CC ../py/obj.c
CC ../py/objarray.c
CC ../py/objattrtuple.c
CC ../py/objbool.c
CC ../py/objboundmeth.c
CC ../py/objcell.c
CC ../py/objclosure.c
CC ../py/objcomplex.c
CC ../py/objdict.c
CC ../py/objenumerate.c
CC ../py/objexcept.c
CC ../py/objfilter.c
CC ../py/objfloat.c
CC ../py/objfun.c
CC ../py/objgenerator.c
CC ../py/objgetitemiter.c
CC ../py/objint.c
CC ../py/objint_longlong.c
CC ../py/objint_mpz.c
CC ../py/objlist.c
CC ../py/objmap.c
CC ../py/objmodule.c
CC ../py/objobject.c
CC ../py/objpolyiter.c
CC ../py/objproperty.c
CC ../py/objnone.c
CC ../py/objnamedtuple.c
CC ../py/objrange.c
CC ../py/objreversed.c
CC ../py/objset.c
CC ../py/objsingleton.c
CC ../py/objslice.c
CC ../py/objstr.c
CC ../py/objstrunicode.c
CC ../py/objstringio.c
CC ../py/objtuple.c
CC ../py/objtype.c
CC ../py/objzip.c
CC ../py/opmethods.c
CC ../py/sequence.c
CC ../py/stream.c
CC ../py/binary.c
CC ../py/builtinimport.c
CC ../py/builtinevex.c
CC ../py/modarray.c
CC ../py/modbuiltins.c
CC ../py/modcollections.c
CC ../py/modgc.c
CC ../py/modio.c
CC ../py/modmath.c
CC ../py/modcmath.c
CC ../py/modmicropython.c
CC ../py/modstruct.c
CC ../py/modsys.c
CC ../py/vm.c
CC ../py/bc.c
CC ../py/showbc.c
CC ../py/repl.c
CC ../py/smallint.c
CC ../py/frozenmod.c
CC ../py/../extmod/moductypes.c
CC ../py/../extmod/modujson.c
CC ../py/../extmod/modure.c
CC ../py/../extmod/moduzlib.c
CC ../py/../extmod/moduheapq.c
CC ../py/../extmod/moduhashlib.c
../py/../extmod/moduhashlib.c:37:37: fatal error: lib/axtls/crypto/crypto.h: No
such file or directory
compilation terminated.
make: *** [build/py/../extmod/moduhashlib.o] Error 1
How to solve this issue.TKS!
esp8266 compile error
Re: esp8266 compiled error
I just ran into that myself.
If you scroll down in the README.md in the root repo you'll find the answer in the external dependencies section:
Run the following in the root of your copy of the repo:
This will fetch additional files and allow the build to complete.
If you scroll down in the README.md in the root repo you'll find the answer in the external dependencies section:
Run the following in the root of your copy of the repo:
Code: Select all
git submodule update --init