http://bugs.winehq.org/show_bug.cgi?id=13117
--- Comment #1 from Austin English austinenglish@gmail.com 2008-05-10 16:41:45 --- Please attach the errors/compile log.
Have you consulted http://wiki.winehq.org/MacOSX . Disabling gcc optimizations/using X11's X instead of apple's may be useful.