ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By sean_intez
#14567 Hey guys

I have faced this error while compiling in last few days. it used to be fine. I do not know what I have done so it is now giving me this error. I have xtensa-lx106-nm in bin folder along with other tools!
I have tried to re-install the sdk and everything from scratch but it still gives this error while compiling esphttpd. it can successfully compile other projects such blinky etc.

any help would be much appreciated.
User avatar
By sean_intez
#14579 I have done that. this is how mine look like


# Base directory for the compiler. Needs a / at the end; if not set it'll use the tools that are in
# the PATH.
XTENSA_TOOLS_ROOT ?= /opt/Espressif/crosstool-NG/builds/xtensa-lx106-elf/bin/

# base directory of the ESP8266 SDK package, absolute
SDK_BASE ?= /opt/Espressif/ESP8266_SDK

#Esptool.py path and port
ESPTOOL ?= /opt/Espressif/esptool-py/esptool.py
ESPPORT ?= /dev/ttyUSB0
#ESPDELAY indicates seconds to wait between flashing the two binary images
ESPDELAY ?= 3
ESPBAUD ?= 460800
User avatar
By Sprite_tm
#14592
sean_intez wrote:I have done that. this is how mine look like
# Base directory for the compiler. Needs a / at the end; if not set it'll use the tools that are in
# the PATH.
XTENSA_TOOLS_ROOT ?= /opt/Espressif/crosstool-NG/builds/xtensa-lx106-elf/bin/
[...]


Is this the Makefile? If not (if it's a bit of bash you source in your session) you may want to change the lines that now are like A?=b into export A=b -like lines. Also, are your binaries really under /opt/Espressif/crosstool-NG/builds/xtensa-lx106-elf/bin/? For example, does /opt/Espressif/crosstool-NG/builds/xtensa-lx106-elf/bin/xtensa-lx106-nm exist?