Compilation errors when compiling without optimizations
Eric Pouech
pouech-eric at wanadoo.fr
Wed Sep 10 15:11:54 CDT 2003
Shachar Shemesh wrote:
> Hi,
>
> 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.
this isn't the right fix. either ensure that the inline version of the
Interlocked* are always used, or copy the source (from kernel32) of the
non-inlined version of the Interlocked* functions in ntdll.
That'll do for the moment.
A+
--
Eric Pouech
More information about the wine-devel
mailing list