SD card read/write with Arduino

Mine compiled fine.

I can get a similar error if i remove the #include lines from the top of the example which makes me think its a problem with your includes.

Did you delete the files you copied to /hardware/libraries/ for version 1? they may be conflicting.