http://bugs.winehq.org/show_bug.cgi?id=4294
------- Additional Comments From tuharsky@misbb.sk 2006-25-01 02:54 ------- Well, I have found that the previous error has been caused by presence of giflib3g-dev in my Debian Sarge. After removing the package, everything works again.
I'll report this as separate bug.