Open PhunkMaster opened 8 years ago
I have the same problem. I believe the problem is caused by a new release of avr-libc, where a type with the same name as the one used in sdfat library is introduced.
In upstream SdFat this struct has been renamed to FatPos_t: https://github.com/greiman/SdFat/blob/master/SdFat/SdBaseFile.h#L60 Either do a search&replace in SdBaseFile.{h, cpp} and replace fpos_t with FatPos_t or sed it:
sed -i 's/fpos_t/FatPos_t/' SdBaseFile.h
sed -i 's/fpos_t/FatPos_t/' SdBaseFile.cpp
i had the sa,e problem, i used your fix, it worked but now i am expeiriencing antoher issue: the last lines reads: "failed upload: exit status 1"
When attempting to compile with Arduino IDE 1.6.10 I am getting the following error:
Board Settings: