changing [GPS.cpp, line 240] resolves the compile error.
Code: Select all
void SerialGpsPrint(const char PROGMEM * str) {
****************************************************************************************************
It may be argued that Linux distros should use the same compiler and libraries as arduino (arduino-1.0.5 comes with avr-gcc version 4.3.2, which dates back to 2008). I do not expect to have installed two versions of avr-gcc. The newer avr-gcc 4.7.3 is so much better. Comparing compilation of MultiWii (latest SVN, fixed prog_char as described above):
Using arduino-1.0.5 downloaded from arduino.cc:
Binary sketch size: 33,238 bytes (of a 258,048 byte maximum)
And arduino-1.0.5 installed from Fedora repositories:
Binary sketch size: 30,580 bytes (of a 258,048 byte maximum)