It appears that this specific fix worked as intended (fixed Uno to Mega verify).
However, there is a greater problem with operating Arduino-1.0.1 in the RaspberryPi/linux/ARM6 world. My perception is that many external modules use and pass data between themselves andthe main program, and do not properly discriminate the variable names and variable types in light of overall system requirements.
1)
Ethernet.cpp passing IPAdress data requires this change(in bold):
IPAddress gateway, IPAddress subnet)
{
W5100.init();
W5100.setMACAddress(mac);
W5100.setIPAddress(local_ip._address**.a8**);
W5100.setGatewayIp(gateway._address**.a8**);
W5100.setSubnetMask(subnet._address**.a8**);
_dnsServerAddress = dns_server;
}
2)In SD folder files, the function __cxa_pure_virtual is errored at many levels resulting in Verify compile errors like this
core.a(new.cpp.o): In function __cxa_pure_virtual': /usr/share/arduino/hardware/arduino/cores/arduino/new.cpp:17: multiple definition of __cxa_pure_virtual'
SdFat/SdStream.cpp.o:/root/sketchbook/libraries/SdFat/SdStream.cpp:94: first defined here
/usr/lib/gcc/avr/4.7.0/../../../avr/bin/ld: Disabling relaxation: it will not work with multiple definitions
SdFat/SdFatUtil.cpp.o: In function SdFatUtil::SerialPrintln_P(char const*)': /root/sketchbook/libraries/SdFat/SdFatUtil.cpp:73: undefined reference to SdFatUtil::__brkval'
/root/sketchbook/libraries/SdFat/SdFatUtil.cpp:73: undefined reference to SdFatUtil::__brkval' /root/sketchbook/libraries/SdFat/SdFatUtil.cpp:73: undefined reference to SdFatUtil::__bss_end'
/root/sketchbook/libraries/SdFat/SdFatUtil.cpp:73: undefined reference to `SdFatUtil::__bss_end'
collect2: error: ld returned 1 exit status
This error type bounces between many pieces of code in the SdFatlib folder. See entries in the SdFatLib wiki issue 36.
Solving these issues seem to be outside the realm of problems in 'My Code' and require attention from SdFatLib and Arduino.cc staff.
Does Arduino-1.0.0 do the same?
Is it worth my time to install 1.0.0 on my raspberryPi?
Can these problems be fixed?