http://bugs.winehq.org/show_bug.cgi?id=4677
Summary: ntdll fails to build Product: Wine Version: 0.9.8. Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: wine-kernel AssignedTo: wine-bugs@winehq.org ReportedBy: adam@tpetaccia.com
Building WINE, I get:
gcc -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -O2 -pipe -o signal_i386.o signal_i386.c signal_i386.c: In function ‘wine_sigaction’: signal_i386.c:116: error: ‘SYS_sigaction’ undeclared (first use in this function) signal_i386.c:116: error: (Each undeclared identifier is reported only once signal_i386.c:116: error: for each function it appears in.)
I've googled, and found that copying i386 headers can fix this, but that isn't a fix, but a work around. Also, its impossible to distribute a source package that would build correctly in that case, it would just build on one machine. I've done "make -k > /dev/null" and this is the only error I get, preventing a build of WINE on AMD64.