PATCH: define __user

Robert Shearman rob at
Tue Feb 28 05:08:45 CST 2006

dmitry serpokryl wrote:

> Hi, thanks for your feedback.
> I just updated wine cvs, no ./configure errors but still "make" unable 
> to  complete:
> 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  -g -O2  -o  
> signal_i386.o signal_i386.c
> signal_i386.c: In function ‘wine_sigaction’:
> signal_i386.c:123: error: ‘__NR_sigaction’ undeclared (first use in 
> this  function)

You're using some buggy headers that define SYS_sigaction, but don't 
define __NR_sigaction. You should have /usr/include/asm/unistd.h that 
includes /usr/include/asm-i386/unistd.h if not compiling in x86_64 mode, 
and the latter should have a define for __NR_sigaction.

Rob Shearman

More information about the wine-devel mailing list