another flashing problem

i get this when i try to compile and flash my ramps

Arduino: 1.0.6 (Windows NT (unknown)), Board: “Arduino Mega 2560 or Mega ADK”
In file included from /SdFile.h:27,
from /cardreader.h:8,
from cardreader.cpp:2:
SdBaseFile.h:38: error: ‘xxstruct’ does not name a type
SdBaseFile.h:199: error: ‘fpos_t’ has not been declared
SdBaseFile.h:203: error: ‘fpos_t’ has not been declared

I am not great at arduino , so i need a little help

and yes , i have downloaded 1,0,6 marlin , that helped a lot on the other faults in the firmware , but i cant get these 2-3 fault to go away

regards Ulrik

Use an older version of the arduino sotware 1.6.5 or older. They just did a screwy update.

I am using the 1,0,6 version of arduino , that help with a lot of the faults , but not with those 3 in my first post

Try arduino 1.6.5. 1.0.6 is too old I think.

thx , i will try that

i will update the progress

nope didnt help

Arduino: 1.6.5 (Windows 8.1), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”

In file included from SdFile.h:27:0,
from cardreader.h:8,
from cardreader.cpp:2:
SdBaseFile.h:38: error: ‘xxstruct’ does not name a type
xxstruct fpos_t {
^
SdBaseFile.h:199: error: ‘fpos_t’ has not been declared
void getpos(fpos_t* pos);
^
SdBaseFile.h:203: error: ‘fpos_t’ has not been declared
void setpos(fpos_t* pos);
^
‘xxstruct’ does not name a type

Download a fresh copy of the firmware just in case something happened and you didn’t notice.

It works now or rather the Z axis work , i cant get the others to move atm , need to look into that tomorrow

thx for the help guys