So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By snowerest
#66762 Hello,
I'm am a very begginer and I have a problem compiling an example from ESP8266_NONOS_SDK-master (took it here: https://github.com/espressif/ESP8266_NONOS_SDK.)
I've been following steps described in ESP8266 SDK Getting Started Guide (took it here: https://espressif.com/en/support/download/documents?keys=&field_type_tid%5B%5D=14).
That means that I downloaded virtual box esp8266 image (ESP8266_lubuntu_20141021.ova) where all tools as I understood must be set up.
But while compiling the example I am getting:

Code: Select all/bin/sh: 2: xtensa-lx106-elf-gcc: not found
error.
echo $PATH returns: /opt/xtensa-lx106-elf/bin:/usr/local/sbin:/usr/local/bin:/us‌​r/sbin:/usr/bin:/sbi‌​n:/bin:/usr/games:/u‌​sr/local/games:/snap‌​/bin

Can someone tell me what am I missing and how to get SDK to 'see' xtensa-lx106-elf-gcc?

Thanks in advance!
You do not have the required permissions to view the files attached to this post.
Last edited by snowerest on Sat Jun 10, 2017 1:03 pm, edited 1 time in total.
User avatar
By snowerest
#66923 Xtensa crosstool-NG was missing. To install it I used this https://github.com/esp8266/esp8266-wiki/wiki/Toolchain#install-the-xtensa-crosstool-ng-as-local-user method. (Do not forget to chown $username /opt/espressif/ in order to avoid 'Permission denied' error while compilation. Also to upgrade OS (if this is chosen) and build crosstool-NG in /opt/espressif, enlarge VM disc size (https://stackoverflow.com/a/12456219/1990161), as it might run out of free space.)