-->
Page 1 of 2

Compiler error - Arduino IDE 1.6.3 and 1.6.4

PostPosted: Thu Apr 30, 2015 2:45 am
by tytower
I have just installed the ESP 2866 library from Github and when trying to compile only , the standard wiFi server program I get a compiler error that a file cannot be executed on my Linux machine .

Has anyone had this and recognises the cause now? Here is what is output
/tmp/build1805287591596065479.tmp/WiFiWebServer.cpp.o
/opt/arduino-1.6.3/hardware/esp8266com/esp8266/tools/linux/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++: /opt/arduino-1.6.3/hardware/esp8266com/esp8266/tools/linux/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++: cannot execute binary file
/opt/arduino-1.6.3/hardware/esp8266com/esp8266/tools/linux/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++ returned 126
Error compiling.

Re: Compiler error - Arduino IDE

PostPosted: Thu Apr 30, 2015 4:36 pm
by tytower
I emailed Sandeep and his asked me what was the output of
ldd
/opt/arduino-1.6.3/hardware/esp8266com/esp8266/tools/linux/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++


My output was
The output of ldd is " not a dynamic executable "
I'm starting to think I have installed the 64 bit version whereas I am running 32 bit.
I have my installation in /opt/ and put the hardware file in there as I prefer it that way

Re: Compiler error - Arduino IDE

PostPosted: Fri May 01, 2015 1:30 pm
by cal
Moin,

do a "file xxxx" on it and you know for sure.

Cal

Re: Compiler error - Arduino IDE

PostPosted: Fri May 08, 2015 1:02 am
by testato
i can confirm this problem.

I opened here an issue and explained the problem
https://github.com/arduino/Arduino/issues/3106