can't upload file on uno or duemilenova

I'm new to this, I have a Mac PowerPC G5 - 2007 model.

I cannot get the upload to work - I get this message everytime;

error compiling

core.a(main.cpp.o): In function main': /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/main.cpp:7: undefined reference to setup'
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/main.cpp:10: undefined reference to `loop'

I am using correct board and serial port - I have tried Uno and Duemilenova - neither work.

Does anyone know if there is a compatibility problem between arduino's and my model of mac???

thank you

The problem is not with the uploading (at least not yet) but rather when it's trying to compile your sketch program. An upload will only proceed once the compilation is error free. If you hit the verify button on the IDE you will trigger a compile without a upload, and pressing the upload button triggers both a compile and upload if the compilation was successful. Does that make sense?

Anyway to get help on why you are getting compilation errors you would have to post your sketch here (use the # to put it into a code window).

thanks for your reply - I think I may have it working now.

.............but I'm sure I will be back!!

regards