Closed f0086 closed 9 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
Great! Works perfect, thanks! Will this change be fixed upstream?
Another note- this only affects builds with SDSUPPORT on. If you don't need SD support, you can compile without SD support on systems with latest avr-libc.
please open a new issue if this is still present in the current bug fixing branch
https://github.com/ErikZalm/Marlin/tree/Marlin-v1-bug-fixing
i''m new, thats a tool i can use more often .. find and replace a text . worked for me on the marlin code thanx
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I am using the
HEAD
version of the code and arduino1.0.5
. Is marlin not compatible with my arduino version?