-->
Page 1 of 1

Troubles compiling the examples

PostPosted: Sun Nov 16, 2014 4:01 pm
by wouter011
I'm trying to create a tool chain on my laptop running debian jessie.
I'v followed this tutorial https://github.com/esp8266/esp8266-wiki/wiki/Toolchain and try to build the AT-example.

Running 'make' I've got an error about the command 'xtensa-lx106-elf' not being found. Solved this by adding '/opt/Espressif/crosstool-NG/builds/xtensa-lx106-elf/bin/' to my PATH variable.
Code: Select allexport PATH=/opt/Espressif/crosstool-NG/builds/xtensa-lx106-elf/bin/:$PATH


Now, when running 'make', I'm getting an error about string.h not being found(http://pastebin.com/apzBNrBX). A file '/opt/Espressif/include/string.h' is existing.

How should I continue?

Re: Troubles compiling the examples

PostPosted: Tue Jan 06, 2015 7:37 am
by banitama
Hi,
I'm having the same issue as you. Apparently you need to omit the "mkdir ESP8266_SDK" step. More info here: viewtopic.php?f=5&t=744#p4421

Hope this helps.

Re: Troubles compiling the examples

PostPosted: Sun Jan 18, 2015 6:04 am
by wouter011
Ok thanks for the heads up, but I switched to LUA anyway so...