Compiling Help

Hi All,
Fairly new to all this, I have purchesed an Adafruit Motor shield to use with my stepper motor and my
Arduino Duemilanove.
I have tried copying the the stepper motor code on their website but all I get are error messages starting with
" AF_Motor"does note name a type then a whole load of other error messages.
Can anyone advise where I can get some code to test my stepper or what it is that I must be doing wrong.
Appreciate any advice.
Regards
John

Did you follow these directions to install the libraries (correctly)?

http://www.ladyada.net/make/mshield/download.html