These errors are really weird. Does it compile if you invoke "make -f Makefile.Release"?

Did you compile the debug version of Qt libraries yourself?