http://bugs.winehq.org/show_bug.cgi?id=12929
--- Comment #111 from Vitaliy Margolen vitaliy@kievinfo.com 2008-08-29 11:52:54 --- (In reply to comment #110)
gcc-4.2 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -D__i386__ -o interlocked.o interlocked.c
You didn't follow everything correctly. The above command missing -m32. Please take these sort of problems to forums/IRC. Bugzilla is for Wine bugs only.