I'm assuming you are running from Qt Prompt.
Try:
mingw32-make distclean

and try the configure and make again, maybe something was left in an inconsistent state from a previous configure/build attempt.

If this doesn't help, re-install Qt but make sure you remove the Qt folder before re-installing.

good luck