xtensa-lx106-elf-gcc -L/home/esp8266/Share/ESP8266_RTOS_SDK-2.0.0/lib -Wl,--gc-sections -nostdlib -T/home/esp8266/Share/ESP8266_RTOS_SDK-2.0.0/ld/eagle.app.v6.ld -Wl,--no-check-sections -u call_user_start -Wl,-static -Wl,--start-group -lcirom -lcrypto -lespconn -lespnow -lfreertos -lgcc -lhal -ljson -llwip -lmain -lmesh -lmirom -lnet80211 -lnopoll -lphy -lpp -lpwm -lsmartconfig -lairkiss -lspiffs -lssl -lwpa -lwps user/.output/eagle/debug/lib/libuser.a tcp_server/.output/eagle/debug/lib/libtcpserver.a -Wl,--end-group -o .output/eagle/debug/image/eagle.app.v6.out
/opt/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: cannot find -lmesh
collect2: error: ld returned 1 exit status
升级到ESP8266_RTOS_SDK-2.0.0编译以前的代码出现ld: cannot find -lmesh collect2: error: ld returned 1 exit status错误
-
- Posts: 5
- Joined: Thu Mar 30, 2017 8:43 am
升级到ESP8266_RTOS_SDK-2.0.0编译以前的代码出现ld: cannot find -lmesh collect2: error: ld returned 1 exit status错误
Postby hxy513696765 » Tue Apr 03, 2018 10:47 pm
以前在ESP8266_RTOS_SDK-1.5.0下编写的代码现在升级到ESP8266_RTOS_SDK-2.0.0就出现编译不过的错误。

-
- Posts: 5
- Joined: Thu Mar 30, 2017 8:43 am
Re: 升级到ESP8266_RTOS_SDK-2.0.0编译以前的代码出现ld: cannot find -lmesh collect2: error: ld returned 1 exit status错误
Postby hxy513696765 » Sun Apr 08, 2018 9:27 pm
嗯!确实是,就是删掉编译链接文件里把 -lmesh 删掉就可以编译通过了
Who is online
Users browsing this forum: No registered users and 152 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.