Error when using the SD card library

I think that error is a compiler error which would have nothing to do with the wiring.

Check out this thread: