[riot-notifications] [RIOT-OS/RIOT] [Question/Problem] Cannot Compile ESP8266 with make (#11219)

mmaxus35 notifications at github.com
Wed Mar 20 14:10:23 CET 2019


Hi all,
I have done steps in http://doc.riot-os.org/group__cpu__esp8266.html

I have added PATH's to .profile 

XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
PATH=/home/burak/bin:/home/burak/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:

/opt/esp/esp-open-sdk/xtensa-lx106-elf/bin -> Here

MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
COMPIZ_BIN_PATH=/usr/bin/

and which xtensa gave this output " /opt/esp/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc
"
However i still get same error
"Compiler xtensa-lx106-elf-gcc is required but not found in PATH. Aborting."
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
PATH=/home/burak/bin:/home/burak/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:

/opt/esp/esp-open-sdk/xtensa-lx106-elf/bin -> Here

MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
COMPIZ_BIN_PATH=/usr/bin/

and which xtensa gave this output " /opt/esp/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc"

When I use make -C examples/gnrc_networking, it says;

mkdir: cannot create directory ‘/home/burak/RIOT-master/examples/gnrc_networking/bin/esp8266-esp-12x/riotbuild/’: Permission denied
/home/burak/RIOT-master/examples/gnrc_networking/../../Makefile.include:686: recipe for target '/home/burak/RIOT-master/examples/gnrc_networking/bin/esp8266-esp-12x/riotbuild/riotbuild.h' failed
make: *** [/home/burak/RIOT-master/examples/gnrc_networking/bin/esp8266-esp-12x/riotbuild/riotbuild.h] Error 1
make: Leaving directory '/home/burak/RIOT-master/examples/gnrc_networking'

When I use "sudo make -C examples/gnrc_networking", it says;
"Compiler xtensa-lx106-elf-gcc is required but not found in PATH. Aborting."

* I have done chmod 777 , chown  etc. however it does not compile.

I could not understand the problem sadly. Thanks for your help.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/11219
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190320/c5b5cab3/attachment.html>


More information about the notifications mailing list