No idea. Are you using Vista? If so, try the steps to fix MinGW again search in the Wiki.
Otherwise, I think I would look at you PATH for other compilers that might be causing issues.
Like an Cygwin in your path can cause issues.
If the above does not work, I would re-install MinGW.
Tim S