1284p and SD datalogging

it seems that every example in the librarys will not compile here is a list of errors

SdFatAppend.pde:-1: error: 'SdFat' does not name a type
SdFatAppend.pde:-1: error: 'SdFile' does not name a type
SdFatAppend.cpp: In function 'void setup()':
SdFatAppend.pde:-1: error: 'PgmPrintln' was not declared in this scope
SdFatAppend.pde:-1: error: 'sd' was not declared in this scope
SdFatAppend.pde:-1: error: 'SPI_HALF_SPEED' was not declared in this scope
SdFatAppend.pde:-1: error: 'PgmPrint' was not declared in this scope
SdFatAppend.pde:-1: error: 'file' was not declared in this scope
SdFatAppend.pde:-1: error: 'O_CREAT' was not declared in this scope
SdFatAppend.pde:-1: error: 'O_APPEND' was not declared in this scope
SdFatAppend.pde:-1: error: 'O_WRITE' was not declared in this scope
SdFatAppend.pde:-1: error: 'sd' was not declared in this scope
SdFatAppend.pde:-1: error: 'file' was not declared in this scope
SdFatAppend.pde:-1: error: 'file' was not declared in this scope
SdFatApp