Page 1 of 1

esp8266 micropython build show" xtensa-lx106-elf-ld: cannot find -lmain"

Posted: Wed Mar 16, 2016 9:01 am
by skylin008
I used latest the version esp-open-sdk and micropython for esp8266 build ,but this error messages show:
xtensa-lx106-elf-ld: cannot find -lmain
xtensa-lx106-elf-ld: cannot find -ljson
xtensa-lx106-elf-ld: cannot find -lssl
xtensa-lx106-elf-ld: cannot find -llwip_open
xtensa-lx106-elf-ld: cannot find -lpp
xtensa-lx106-elf-ld: cannot find -lnet80211
xtensa-lx106-elf-ld: cannot find -lwpa
xtensa-lx106-elf-ld: cannot find -lphy
xtensa-lx106-elf-ld: cannot find -lnet80211
make: *** [build/firmware.elf] Error 1
How to solve this issue.TKS!

Re: esp8266 micropython build show" xtensa-lx106-elf-ld: cannot find -lmain"

Posted: Wed Mar 16, 2016 7:41 pm
by platforma
How did you build your esp-open-sdk? As a standalone version, just by issuing 'make'?
I presume you ran, like others on the forum suggested.

Code: Select all

git submodule update --init

Re: esp8266 micropython build show" xtensa-lx106-elf-ld: cannot find -lmain"

Posted: Thu Mar 17, 2016 8:45 am
by skylin008
Thanks platforma suport.I modified the Makefile of LIBS path.It build OK!