http://bugs.winehq.org/show_bug.cgi?id=6550
------- Additional Comments From mike@codeweavers.com 2006-29-10 05:38 ------- Your use of LDFLAGS looks problematic. There are packages for ubuntu that work, use them instead of trying to compile Wine yourself.