code8825 / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

SdFat library #885

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Arduino sketches that depend on the sdfat library fail to compile on 
Arduino-1.0.1-rc2
2. I received the following error:
core.a(new.cpp.o): In function `__cxa_pure_virtual':
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino
/new.cpp:17: multiple definition of `__cxa_pure_virtual'
SdFat/SdFat.cpp.o:/Users/usename/Documents/Arduino/libraries/SdFat/SdFat.cpp:62:
 first defined here
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/../lib/
gcc/avr/4.3.2/../../../../avr/bin/ld: Disabling relaxation: it will not work 
with multiple definitions

What version of the product are you using?
sdfatlib20111205 and SdFatBeta20120327

On what operating system?
Mac OS X

Original issue reported on code.google.com by pskor...@gmail.com on 13 Apr 2012 at 3:30

GoogleCodeExporter commented 9 years ago
Apparently this problem is caused by incompatibility between the SdFat and new 
Ethernet libraries.
After substitution of the new Ethernet library for the old one, this error 
message  disappeared.

Original comment by pskor...@gmail.com on 13 Apr 2012 at 5:03