[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: PATCH: define __user
From:       Robert Shearman <rob () codeweavers ! com>
Date:       2006-02-28 11:08:45
Message-ID: 44042F3D.7030908 () codeweavers ! com
[Download RAW message or body]

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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic