http://bugs.winehq.org/show_bug.cgi?id=7653
------- Additional Comments From pgr@arcelectronicsinc.com 2007-07-03 15:20 ------- Try a make distclean in the source tree. As files and directories are moved from time to time some old stuff gets left and cause problems.
Once clean then ./configure --verbose and review the output then make depend && make
Also move or rename ~./wine folder before you regenerate with makeprefixcreate.