ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By Patriko
#23055 Hi!

Did anyone get success with esp-ginx with an sdk 1.2 ?
After solving all conflicts, etc. I got:

Code: Select allc:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -Os -Os -ffunction-sections -fno-jump-tables  -std=gnu90 -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals  -D__ets__ -DICACHE_FLASH -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP   -I include -I ./ -I ../libc -I ../platform -I ../include -I ./ -I ../../include -I ../../include/eagle  -o .output/eagle/debug/obj/spiffs_gc.o -c spiffs_gc.c
c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -Os -Os -ffunction-sections -fno-jump-tables  -std=gnu90 -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals  -D__ets__ -DICACHE_FLASH -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP   -I include -I ./ -I ../libc -I ../platform -I ../include -I ./ -I ../../include -I ../../include/eagle  -o .output/eagle/debug/obj/spiffs_cache.o -c spiffs_cache.c
c:/Espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar ru .output/eagle/debug/lib/spiffs.a .output/eagle/debug/obj/spiffs.o .output/eagle/debug/obj/spiffs_hydrogen.o .output/eagle/debug/obj/spiffs_check.o .output/eagle/debug/obj/spiffs_nucleus.o .output/eagle/debug/obj/spiffs_gc.o .output/eagle/debug/obj/spiffs_cache.o
mingw32-make[2]: Leaving directory 'C:/Espressif/examples/wSwitchBox/app/spiffs'
c:/Espressif/xtensa-lx106-elf/bin/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 -lnet80211 -lwpa -llwip -lmain -ljson  -o .output/eagle/debug/image/eagle.app.v6.out
../lib\libmain.a(app_main.o): In function `user_uart_wait_tx_fifo_empty':
(.irom0.text+0x324): undefined reference to `user_rf_pre_init'
../lib\libmain.a(app_main.o): In function `user_uart_wait_tx_fifo_empty':
(.irom0.text+0x344): undefined reference to `user_init'
../lib\libmain.a(app_main.o): In function `user_uart_wait_tx_fifo_empty':
(.irom0.text+0x447): undefined reference to `user_rf_pre_init'
../lib\libmain.a(app_main.o): In function `user_uart_wait_tx_fifo_empty':
(.irom0.text+0x4fb): undefined reference to `user_init'
collect2.exe: error: ld returned 1 exit status
../Makefile:206: recipe for target '.output/eagle/debug/image/eagle.app.v6.out' failed
mingw32-make[1]: *** [.output/eagle/debug/image/eagle.app.v6.out] Error 1
mingw32-make[1]: Leaving directory 'C:/Espressif/examples/wSwitchBox/app'
C:/Espressif/examples/wSwitchBox/Makefile:151: recipe for target '.subdirs' failed
mingw32-make.exe: *** [.subdirs] Error 2


even if memory size is 32MBit.

What can I do wrong?
User avatar
By skywave
#23070
alonewolfx2 wrote:
Patriko wrote:I'd be thankful :) I tried to use other Makefiles from DevKit examples but it deosn't work :(

i attached adapted project folder link for devkit. just put in workspace and import to the eclipse. also you can use prebuilded binaries in "bin" folder.
https://www.dropbox.com/s/75uprk1uz0uy1 ... x.zip?dl=0


I tried to load it to eclipse (devkit 2.0.7) but when compiling it states lots of:
implicit declaration of function 'os_printf_plus'
implicit declaration of function 'ets_strcpy'
implicit declaration of function 'ets_memset'...
what am I missing?