When asking for help, you should give as much info as possible...
Give us the following info:
* codeblocks version
* OS Version
* Full compile log
In order to enable the full compile log, in beta5, go to "Settings/Configure plugins/Compiler", switch to the "Other" tab and select "Full compile log" for your compiler. Then re-compile...
Yiannis.