http://bugs.winehq.org/show_bug.cgi?id=9864
--- Comment #21 from Lei Zhang thestig@google.com 2008-08-04 15:25:12 --- (In reply to comment #20)
/wine-git/dlls/ntdll/signal_i386.c:940: undefined reference to `VALGRIND_MAKE_WRITABLE'
Just comment out that line, or you can temporarily uninstall valgrind.