[Bug 5338] New: compiling wine 0.9.14 under Gentoo/Linux with AMD 64 bit results in "signal_i386.c:123: error: `__NR_sigaction' undeclared"

Wine Bugs wine-bugs at winehq.org
Fri Jun 2 11:39:34 CDT 2006


           Summary: compiling wine 0.9.14 under Gentoo/Linux with AMD 64 bit
                    results in "signal_i386.c:123: error: `__NR_sigaction'
           Product: Wine
           Version: 0.9.14.
          Platform: PC-x86-64
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-winelib
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: sasham at univ.kiev.ua

I failed to compile wine 0.9.14 on a 64 bit Gentoo Linux host using some 
variations of following settings (also without any of them):

LD="ld -m elf_i386" \
CC="gcc -m32" \
AS="gcc -c -m32" \
CFLAGS="-L/emul/linux/x86/usr/lib -L/emul/linux/x86/lib" \
LDFLAGS="-L/emul/linux/x86/usr/lib -L/emul/linux/x86/lib" \
./configure --prefix=$KDEHOME --x-libraries=/emul/linux/x86/usr/lib/
make depend 
make all

in any case i get the following error message (during "make all"):

make[2]: Leaving directory `/home/alex/sources/wine-0.9.14/dlls/newdev'
make[2]: Entering directory `/home/alex/sources/wine-0.9.14/dlls/ntdll'
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  -L/emul/linux/x86/usr/lib -L/emul/linux/x86/lib 
 -o signal_i386.o signal_i386.c
signal_i386.c:108:4: #error The sigaction syscall is part of the Linux i386 ABI, 
but your headers does not define it. Please raise abug with your distribution.
signal_i386.c: In function `wine_sigaction':
signal_i386.c:123: error: `__NR_sigaction' undeclared (first use in this 
signal_i386.c:123: error: (Each undeclared identifier is reported only once
signal_i386.c:123: error: for each function it appears in.)
make[2]: *** [signal_i386.o] Error 1
make[2]: Leaving directory `/home/alex/sources/wine-0.9.14/dlls/ntdll'
make[1]: *** [ntdll] Error 2
make[1]: Leaving directory `/home/alex/sources/wine-0.9.14/dlls'
make: *** [dlls] Error 2

host info:
Linux 2.6.9-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 2800+ AuthenticAMD GNU/

actually this bug was submitted long time ago at
6d42ff9c3c539c0f" but it was not resolved as far as i can see :(((

Best regards,

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the wine-bugs mailing list