Error with 'upload.tool' while uploading program to atmega 32 using arduino uno

I'm doing a project with my friends for fun. We planed to use atmega 32 because of it's larger pinouts. but we can't upload the program. It says..

:0:19: warning: missing whitespace after the macro name [enabled by default]

Sketch uses 856 bytes (2%) of program storage space. Maximum is 32,000 bytes.
Global variables use 15 bytes of dynamic memory.
Error while uploading: missing 'upload.tool' configuration parameter

pls help fast... thank you...

http://forum.arduino.cc/index.php?topic=378408.msg2609321#msg2609321

Don't cross post.