Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
Firstly, it seems some MSVC commands are getting mixed up in your GCC command line. To troubleshoot this, change Compiler logging to "Full command line" in the Other tab of your global compiler settings. This will show the full command line being used to compile. You may need to create an entirely new project and add your files to it to fix this issue.
Secondly, you appear to be using the MSVC version of the SDL devel library. While GCC has limited support for MSVC libraries and object files, there are enough important differences that you would be better off downloading the MinGW32 devel package (
SDL-devel-1.2.9-mingw32.tar.gz).
Thirdly, if you aren't already using one of the C::B nightly builds,
switch now! They are much more feature rich and lack most of RC2's annoying bugs. (You will need to install
MinGW separately, preferably using the new 5.0.2 installer.)