Im running ubuntu 11.04, and im having some problems building projects on linux with codebklocks.

This is the output from the ide:


-------------- Build: Debug in cout 2.3 ---------------

Linking console executable: bin/Debug/cout 2
obj/Debug/main.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings

Im quite new to programming, and I have been trying to build some simple projects that worked just fine on windows with code::blocks.