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

Gunar Schorcht notifications at github.com
Fri Mar 22 14:38:05 CET 2019


@mmaxus35 I used a fresh Ubuntu 16.04.6 LTS standard desktop installation and just executed the following steps:
```
sudo apt-get install git
cd /opt
sudo git clone https://github.com/gschorcht/RIOT-Xtensa-ESP8266-toolchain.git esp
export PATH=$PATH:/opt/esp/esp-open-sdk/xtensa-lx106-elf/bin
cd ~
https://github.com/RIOT-OS/RIOT.git
cd RIOT
make BOARD=esp8266-esp-12x -C examples/hello-world
```
And ... compilation works as expected without any problems. So, everything is fine with the toolchain.

The last thing you could try is to execute the failed command by hand and see what happens:
```
xtensa-lx106-elf-gcc \
		-DRIOT_FILE_RELATIVE=\"examples/hello-world/main.c\" \
		-DRIOT_FILE_NOPATH=\"main.c\" \
		-Werror -Wno-unused-parameter -Wformat=0 -mlongcalls -mtext-section-literals -fdata-sections -fzero-initialized-in-bss -Os -fno-common -Wall -Wextra -Wmissing-include-dirs -include '/home/user/src/RIOT/examples/hello-world/bin/esp8266-esp-12x/riotbuild/riotbuild.h'  -I/home/user/src/RIOT/core/include -I/home/user/src/RIOT/drivers/include -I/home/user/src/RIOT/sys/include -I/home/user/src/RIOT/boards/esp8266-esp-12x/include -I/home/user/src/RIOT/cpu/esp8266/include -I/opt/esp/newlib-xtensa/xtensa-lx106-elf/include -I/home/user/src/RIOT/boards/common/esp8266/include -I/home/user/src/RIOT/cpu/esp8266 -I/home/user/src/RIOT/cpu/esp8266/vendor -I/home/user/src/RIOT/cpu/esp8266/vendor/espressif -I/home/user/src/RIOT/sys/libc/include  -MD -MP -c -o /home/user/src/RIOT/examples/hello-world/bin/esp8266-esp-12x/application_hello-world/main.o /home/user/src/RIOT/examples/hello-world/main.c
```

-- 
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#issuecomment-475623681
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190322/588330c4/attachment.html>


More information about the notifications mailing list