Error during esp8266 make
Posted: Sun Aug 21, 2022 10:52 am
Hi,
When I run make of ports/esp8266, i got this error. I use Macbookpro
I use
I try to run mpy-cross manually. It seems to work fine.
When I run make of ports/esp8266, i got this error. I use Macbookpro
I use
Code: Select all
docker run --rm -v $HOME:$HOME -u $UID -w $PWD larsks/esp-open-sdk make -j 16
Code: Select all
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
CC ../../lib/axtls/crypto/hmac.c
CC ../../lib/axtls/crypto/md5.c
CC ../../lib/axtls/crypto/rsa.c
CC ../../lib/axtls/crypto/sha1.c
CC ../../extmod/modbtree.c
CC ../../lib/berkeley-db-1.xx/btree/bt_close.c
CC ../../lib/berkeley-db-1.xx/btree/bt_conv.c
CC ../../lib/berkeley-db-1.xx/btree/bt_debug.c
CC ../../lib/berkeley-db-1.xx/btree/bt_delete.c
CC ../../lib/berkeley-db-1.xx/btree/bt_get.c
CC ../../lib/berkeley-db-1.xx/btree/bt_open.c
CC ../../lib/berkeley-db-1.xx/btree/bt_overflow.c
CC ../../lib/berkeley-db-1.xx/btree/bt_page.c
CC ../../lib/berkeley-db-1.xx/btree/bt_put.c
CC ../../lib/berkeley-db-1.xx/btree/bt_search.c
MPY flashbdev.py
Traceback (most recent call last):
File "../../tools/makemanifest.py", line 374, in <module>
main()
File "../../tools/makemanifest.py", line 309, in main
+ ["-o", outfile, "-s", script, "-O{}".format(opt), infile]
File "../../tools/makemanifest.py", line 160, in system
output = subprocess.check_output(cmd, stderr=subprocess.STDOUT)
File "/usr/lib64/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/usr/lib64/python3.6/subprocess.py", line 403, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib64/python3.6/subprocess.py", line 709, in __init__
restore_signals, start_new_session)
File "/usr/lib64/python3.6/subprocess.py", line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: '.../micropython_esp8266/micropython_recursive/mpy-cross/mpy-cross'
make: *** [../../py/mkrules.mk:148: build-GENERIC/frozen_content.c] Error 1
make: *** Waiting for unfinished jobs....