Programming Atmega 32 using Arduino IDE

I'm new to this forum and I don't know much. Today while i was trying to use atmega 32 programmed by arduino IDE, it shows:

: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

I don't know what to do.. please help fast.... thank you....