Those errors are probably because you are using gcc 4.3 (gcc --version), which breaks a lot of things.
http://gcc.gnu.org/gcc-4.3/porting_to.html
I personally use gcc 4.1.2 and everything compiles fine. If you have the option to downgrade to an older version of gcc on Fedora, I would do that.