http://bugs.winehq.com/show_bug.cgi?id=1581
------- Additional Comments From beer.info@videotron.ca 2003-11-07 19:59 ------- Here we go... to reproduce the problem do this:
setenv CFLAGS -O0 ./configure --prefix=/usr/local/wine make depend ; make
I'm not sure why the -O0 flags would cause this problem?
gcc -o wine -Wl,--section-start,.interp=0x3c000100 main.o -L../dlls -lntdll.dll -L../libs/wine -lwine -L../libs/unicode -lwine_unicode -L../libs/port -lwine_port ../dlls/libntdll.dll.so: undefined reference to `InterlockedCompareExchange' ../dlls/libntdll.dll.so: undefined reference to `InterlockedExchangeAdd' collect2: ld returned 1 exit status make[1]: *** [wine] Error 1 make[1]: Leaving directory `/home/packages/downloads/wine-20030709/miscemu' make: *** [miscemu] Error 2