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

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
skylin008
Posts: 54
Joined: Wed Mar 11, 2015 6:21 am

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

Post by skylin008 » Wed Mar 16, 2016 9:01 am

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!

User avatar
platforma
Posts: 258
Joined: Thu May 28, 2015 5:08 pm
Location: Japan

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

Post by platforma » Wed Mar 16, 2016 7:41 pm

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

skylin008
Posts: 54
Joined: Wed Mar 11, 2015 6:21 am

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

Post by skylin008 » Thu Mar 17, 2016 8:45 am

Thanks platforma suport.I modified the Makefile of LIBS path.It build OK!

Post Reply