XBee Wireless Robotics Platform

Hi there, i am having problems setting this up i keep getting this when compiling the code - 'Serial1' was not declared in scope

i just copied and pasted the code as is..... Also i am using the arduino joystick shield from Sparkfun, is this a problem? my Xbee modules are talking to each other fine when i run a simple counting sketch through arduino, everything is connected properly so i am miffed really.

Do i need to install new libraries?

I am using an arduino duemilanove as the 4WD control, with an Adafruit motor shield with Headers so i can access the RX and TX pins, and i am using an arduino Uno with a joystick shield as the Remote, Xbee series 2 connected to both

Any help would be great.

Cheers