israellot / esp-ginx

HTTP server for the ESP8266
MIT License
190 stars 46 forks source link

Compile error #8

Open karincalab opened 9 years ago

karincalab commented 9 years ago

Hi,

thanks for your great job but I could not compile the project. I am using Ubuntu VM and not a linux guy at all. I set the xtensa path (XTENSA_TOOLS_ROOT ?= /opt/esp-open-sdk/xtensa-lx106-elf/bin) at make file but still I get this error.

make[1]: Entering directory /opt/esp-ginx/app' make[2]: Entering directory/opt/esp-ginx/app/user' DEPEND: xtensa-lx106-elf-gcc -M -Os -Os -ffunction-sections -fno-jump-tables -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -Dets -DICACHE_FLASH -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -I include -I ./ -I ../../include/ets -I ../libc -I ../platform -I ../http -I ../dns -I ../ -I ../include -I ./ -I ../../include -I ../../include/eagle user_main.c /bin/sh: 2: xtensa-lx106-elf-gcc: not found xtensa-lx106-elf-gcc -Os -Os -ffunction-sections -fno-jump-tables -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -Dets -DICACHE_FLASH -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -I include -I ./ -I ../../include/ets -I ../libc -I ../platform -I ../http -I ../dns -I ../ -I ../include -I ./ -I ../../include -I ../../include/eagle -o .output/eagle/debug/obj/user_main.o -c user_main.c make[2]: xtensa-lx106-elf-gcc: Command not found make[2]: * [.output/eagle/debug/obj/user_main.o] Error 127 make[2]: Leaving directory `/opt/esp-ginx/app/user' make[1]: * [.subdirs] Error 2 make[1]: Leaving directory`/opt/esp-ginx/app' make: *\ [.subdirs] Error 2

Could you please help me on this?

Thanks.

csicar commented 9 years ago

Having the same issue