It has been a couple months since I tried compiling from source. I just CVSuped a fresh set of files before building. Here is the error message. ./signal_i386.c: In function `set_vm86_pend': ./signal_i386.c:793: `VIP_MASK' undeclared (first use in this function) ./signal_i386.c:793: (Each undeclared identifier is reported only once ./signal_i386.c:793: for each function it appears in.) ./signal_i386.c:800: `VIF_MASK' undeclared (first use in this function) *** Error code 1 Stop in /usr/ports/emulators/wine/src/wine/dlls/ntdll. *** Error code 1 Stop in /usr/ports/emulators/wine/src/wine/dlls. *** Error code 1 Stop in /usr/ports/emulators/wine/src/wine. Anybody have a clue what might be goofed up? -- -Ben Speirs
Dmitry Timoshkov
2001-Jun-24 04:25 UTC
Compiling on FreeBSD bombs at dlls/ntdlls/signal_i386.c
"Ben Speirs" <bspeirs@toxic.magnesium.net> wrote:> It has been a couple months since I tried compiling from source. I just > CVSuped a fresh set of files before building. Here is the error > message. > > ./signal_i386.c: In function `set_vm86_pend': > ./signal_i386.c:793: `VIP_MASK' undeclared (first use in this function) > ./signal_i386.c:793: (Each undeclared identifier is reported only once > ./signal_i386.c:793: for each function it appears in.) > ./signal_i386.c:800: `VIF_MASK' undeclared (first use in this function) > *** Error code 1 > Stop in /usr/ports/emulators/wine/src/wine/dlls/ntdll. > *** Error code 1Seems that Ove have used some linux specific definitions for EFlags. Perhaps FreeBSD has that flags defined differently? Probably something like this patch should help: --- cvs/hq/wine/dlls/ntdll/signal_i386.c Sun Jun 24 08:24:16 2001 +++ wine/dlls/ntdll/signal_i386.c Sun Jun 24 09:17:54 2001 @@ -36,6 +36,11 @@ #include "winnt.h" #include "selectors.h" +#ifndef VIF_MASK /* some useful definitions for EFlags */ +#define VIF_MASK 0x00080000 /* virtual interrupt flag */ +#define VIP_MASK 0x00100000 /* virtual interrupt pending */ +#endif + /*********************************************************************** * signal context platform-specific definitions */ -- Dmitry.