ESP8266 Developer Zone The Official ESP8266 Forum 2016-03-02T13:49:52+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=1769 2016-03-02T13:49:52+08:00 2016-03-02T13:49:52+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1769&p=5904#p5904 <![CDATA[Re: NONOS SDK V1.5.2_16_01_29 : Compilation Error]]>
Please add "-lcrypto" in the makefile LINKFLAGS_eagle.app.v6 area.

If your problem is still unsolved, please feel free to let us know.

Statistics: Posted by ESP_Faye — Wed Mar 02, 2016 1:49 pm


]]>
2016-02-23T10:32:00+08:00 2016-02-23T10:32:00+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1769&p=5802#p5802 <![CDATA[Re: NONOS SDK V1.5.2_16_01_29 : Compilation Error]]> Statistics: Posted by kookeda — Tue Feb 23, 2016 10:32 am


]]>
2016-02-15T00:58:03+08:00 2016-02-15T00:58:03+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1769&p=5739#p5739 <![CDATA[NONOS SDK V1.5.2_16_01_29 : Compilation Error]]>
I'm using ESP8266_NONOS_SDK_V1.5.2_16_01_29 downloaded from viewtopic.php?f=46&t=850.

During compilation I'm getting this error :


make[1]: Entering directory `/opt/Espressif/ESP8266_SDK/Project/user'
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fda
ta-sections -DICACHE_FLASH -I include -I ./ -I ../../include/ets -I ../include -I ../../include -I ../../include/eagle user_main.c
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fda
ta-sections -DICACHE_FLASH -I include -I ./ -I ../../include/ets -I ../include -I ../../include -I ../../include/eagle tm1637.c
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fda
ta-sections -DICACHE_FLASH -I include -I ./ -I ../../include/ets -I ../include -I ../../include -I ../../include/eagle tcp_client.c
make[1]: Leaving directory `/opt/Espressif/ESP8266_SDK/Project/user'
make[1]: Entering directory `/opt/Espressif/ESP8266_SDK/Project/user'
xtensa-lx106-elf-gcc -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections
-DICACHE_FLASH -I include -I ./ -I ../../include/ets -I ../include -I ../../include -I ../../include/eagle -o .output/eagle/debug/obj/tcp_client.o -c tcp_client.c

xtensa-lx106-elf-gcc -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections
-DICACHE_FLASH -I include -I ./ -I ../../include/ets -I ../include -I ../../include -I ../../include/eagle -o .output/eagle/debug/obj/tm1637.o -c tm1637.c
xtensa-lx106-elf-gcc -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections
-DICACHE_FLASH -I include -I ./ -I ../../include/ets -I ../include -I ../../include -I ../../include/eagle -o .output/eagle/debug/obj/user_main.o -c user_main.c
xtensa-lx106-elf-ar ru .output/eagle/debug/lib/libuser.a .output/eagle/debug/obj/tcp_client.o .output/eagle/debug/obj/tm1637.o .output/eagle/debug/obj/user_main.o
xtensa-lx106-elf-ar: creating .output/eagle/debug/lib/libuser.a
make[1]: Leaving directory `/opt/Espressif/ESP8266_SDK/Project/user'
make[1]: Entering directory `/opt/Espressif/ESP8266_SDK/Project/driver'
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fda
ta-sections -DICACHE_FLASH -I include -I ./ -I ../include -I ../../include -I ../../include/eagle uart.c
make[1]: Leaving directory `/opt/Espressif/ESP8266_SDK/Project/driver'
make[1]: Entering directory `/opt/Espressif/ESP8266_SDK/Project/driver'
xtensa-lx106-elf-gcc -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections
-DICACHE_FLASH -I include -I ./ -I ../include -I ../../include -I ../../include/eagle -o .output/eagle/debug/obj/uart.o -c uart.c
xtensa-lx106-elf-ar ru .output/eagle/debug/lib/libdriver.a .output/eagle/debug/obj/uart.o
xtensa-lx106-elf-ar: creating .output/eagle/debug/lib/libdriver.a
make[1]: Leaving directory `/opt/Espressif/ESP8266_SDK/Project/driver'
xtensa-lx106-elf-gcc -L../lib -nostdlib -T../ld/eagle.app.v6.ld -Wl,--no-check-sections -u call_user_start -Wl,-static -Wl,--start-group -lc -lgcc -lhal -lphy -lpp -lnet8
0211 -llwip -lwpa -lmain -ljson -lupgrade -lssl user/.output/eagle/debug/lib/libuser.a driver/.output/eagle/debug/lib/libdriver.a -Wl,--end-group -o .output/eagle/debug/im
age/eagle.app.v6.out
../lib/libwpa.a(wpa_auth.o): In function `wpa_receive':
(.irom0.text+0x9a0): undefined reference to `aes_wrap'
../lib/libwpa.a(wpa_auth.o): In function `__wpa_send_eapol':
(.irom0.text+0xd73): undefined reference to `aes_wrap'
collect2: error: ld returned 1 exit status
make: *** [.output/eagle/debug/image/eagle.app.v6.out] Error 1


I don't know whether its proper fix or not but I fixed it by replacing 'lib/libwap.a' and 'lib/libwpa2.a' with 'lib/libwpa.a' of SDK v1.4.0.

Is it a proper fix ?

Thanks & regards,
Prakash P.

Statistics: Posted by parmar7725274 — Mon Feb 15, 2016 12:58 am


]]>