I followed your tutorial and everything works fine and when I try to compile this project I get these errors using Arch Linux:
make
/home/user/esp8266/xtensa-toolchain-build/build-lx106/root/bin/xtensa-lx106-elf-gcc -mlongcalls -I/home/user/esp8266/esp_iot_sdk_v0.9.3/include -Imyclib -Iinclude -Iuser -Os -I/home/user/esp8266/esp_iot_sdk_v0.9.3/include/ driver/uart.c user/mystuff.c user/ws2812.c user/user_main.c -flto -nostdlib -Wl,--relax -Wl,--gc-sections -L/home/user/esp8266/esp_iot_sdk_v0.9.3/lib -L/home/user/esp8266/xtensa-toolchain-build/build-lx106/gcc-4.9.1-elf/xtensa-lx106-elf/libgcc/libgcc.a /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/libssl.a /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/libupgrade.a /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/libnet80211.a /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/libwpa.a /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/libnet80211.a /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/libphy.a /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/libmain.a /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/libpp.a /home/user/esp8266/xtensa-toolchain-build/build-lx106/gcc-4.9.1-elf/xtensa-lx106-elf/libgcc/libgcc.a -T /home/user/esp8266/esp_iot_sdk_v0.9.3/ld/eagle.app.v6.ld -B/home/user/esp8266/esp_iot_sdk_v0.9.3/lib -o image.elf
collect2: error: ld terminated with signal 11 [Segmentation fault], core dumped
/home/user/esp8266/xtensa-toolchain-build/build-lx106/root/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a(espconn.o): compiled for a little endian system and target is big endian
/home/user/esp8266/xtensa-toolchain-build/build-lx106/root/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: failed to merge target specific data of file /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a(espconn.o)
/home/user/esp8266/xtensa-toolchain-build/build-lx106/root/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a(espconn_tcp.o): compiled for a little endian system and target is big endian
/home/user/esp8266/xtensa-toolchain-build/build-lx106/root/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: failed to merge target specific data of file /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a(espconn_tcp.o)
/home/user/esp8266/xtensa-toolchain-build/build-lx106/root/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a(espconn_udp.o): compiled for a little endian system and target is big endian
/home/user/esp8266/xtensa-toolchain-build/build-lx106/root/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: failed to merge target specific data of file /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a(espconn_udp.o)
/home/user/esp8266/xtensa-toolchain-build/build-lx106/root/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a(igmp.o): compiled for a little endian system and target is big endian
/home/user/esp8266/xtensa-toolchain-build/build-lx106/root/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: failed to merge target specific data of file /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a(igmp.o)
/home/user/esp8266/xtensa-toolchain-build/build-lx106/root/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a(inet_chksum.o): compiled for a little endian system and target is big endian
/home/user/esp8266/xtensa-toolchain-build/build-lx106/root/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: failed to merge target specific data of file /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a(inet_chksum.o)
/home/user/esp8266/xtensa-toolchain-build/build-lx106/root/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a(ip_addr.o): compiled for a little endian system and target is big endian
/home/user/esp8266/xtensa-toolchain-build/build-lx106/root/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: failed to merge target specific data of file /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a(ip_addr.o)
/home/user/esp8266/xtensa-toolchain-build/build-lx106/root/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a(ip.o): compiled for a little endian system and target is big endian
/home/user/esp8266/xtensa-toolchain-build/build-lx106/root/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: failed to merge target specific data of file /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a(ip.o)
/home/user/esp8266/xtensa-toolchain-build/build-lx106/root/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a(memp.o): compiled for a little endian system and target is big endian
/home/user/esp8266/xtensa-toolchain-build/build-lx106/root/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: failed to merge target specific data of file /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a(memp.o)
/home/user/esp8266/xtensa-toolchain-build/build-lx106/root/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a(netif.o): compiled for a little endian system and target is big endian
/home/user/esp8266/xtensa-toolchain-build/build-lx106/root/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: failed to merge target specific data of file /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a(netif.o)
/home/user/esp8266/xtensa-toolchain-build/build-lx106/root/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a(pbuf.o): compiled for a little endian system and target is big endian
/home/user/esp8266/xtensa-toolchain-build/build-lx106/root/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: failed to merge target specific data of file /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a(pbuf.o)
/home/user/esp8266/xtensa-toolchain-build/build-lx106/root/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a(tcp_in.o): compiled for a little endian system and target is big endian
/home/user/esp8266/xtensa-toolchain-build/build-lx106/root/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: failed to merge target specific data of file /home/user/esp8266/esp_iot_sdk_v0.9.3/lib/liblwip.a(tcp_in.o)
I followed your tutorial and everything works fine and when I try to compile this project I get these errors using Arch Linux:
Any Idea?