Compilation errors when compiling without optimizations

Shachar Shemesh wine-devel at
Wed Sep 10 09:38:38 CDT 2003


When trying to compile Wine without optimizations, the compilation 
fails. I'm trying clean sources, with the "--with-nptl" flag.

The failure (so far, I'm still trying to figure these things out) are 
when compiling ntdll and the wine executable itself. Both cases, the 
problem is that same. The linker complains that 
"InterlockedCompareExchange" cannot be found. Adding kernel32 to the 
IMPORTS Makefile at dlls/ntdll and miscemu/wine seem to solve these 
problems, but I'm somewhat worried, and would like to get a second 
opinion before I submit a patch about this.


For me (P-IV 1600MHZ) complete build compile takes 25 minutes. I've now 
switched to ccache, hoping I can bring it down even lower.


Shachar Shemesh
Open Source integration consultant
Home page & resume -

More information about the wine-devel mailing list