On Sat, Feb 28, 2009 at 01:11:53AM +0300, Alexey Tourbin wrote: > On Fri, Feb 27, 2009 at 11:39:52PM +0200, Kirill A. Shutemov wrote: > > > > 2009-Feb-27 21:45:11 :: [i586] perl.git 5.8.9-alt0.2.bad: build start > > > > 2009-Feb-27 21:45:11 :: [x86_64] perl.git 5.8.9-alt0.2.bad: build start > > > > /usr/src/tmp/NsP4ae_RpV.c: In function 'main': > > > > /usr/src/tmp/NsP4ae_RpV.c:163: error: '__NR_paccept' undeclared (first use in this function) > > > > /usr/src/tmp/NsP4ae_RpV.c:163: error: (Each undeclared identifier is reported only once > > > > /usr/src/tmp/NsP4ae_RpV.c:163: error: for each function it appears in.) > > > > > > Речь идёт о том, что не удаётся выяснить номер системного вызова. > > > > > > $ rpm -ql perl4-compat |xargs fgrep paccept > > > /usr/lib/perl5/x86_64-linux/syscall.ph:sub SYS_paccept () { 288 } > > > $ rpm -ql glibc-kernheaders |xargs fgrep paccept > > > $ > > > > Смотри коммит 2d4c8266774 в ядрёном git. > > commit 2d4c8266774188cda7f7e612e6dfb8ad12c579d5 > Author: Michael Kerrisk > Date: Mon Sep 22 13:57:49 2008 -0700 > > sys_paccept: disable paccept() until API design is resolved > > > Видимо, нужно glibc пересобрать > > с новыми glibc-kerneheaders. > > Действительно, в glibc-devel есть различие на i586 и x86_64. > > $ rpmpeek /ALT/Sisyphus/files/i586/RPMS/glibc-kernheaders-2.6.29-alt2.i586.rpm grep -s paccept -r . > $ rpmpeek /ALT/Sisyphus/files/x86_64/RPMS/glibc-kernheaders-2.6.29-alt2.x86_64.rpm grep -s paccept -r . > > $ rpmpeek /ALT/Sisyphus/files/i586/RPMS/glibc-devel-2.9-alt3.i586.rpm grep -s paccept -r . > ./usr/include/bits/socket.h: used for the flags parameter of paccept. */ > $ rpmpeek /ALT/Sisyphus/files/x86_64/RPMS/glibc-devel-2.9-alt3.x86_64.rpm grep -s paccept -r . > ./usr/include/bits/syscall.h:#define SYS_paccept __NR_paccept > ./usr/include/bits/socket.h: used for the flags parameter of paccept. */ Отличие в /usr/include/bits/socket.h есть прямое следствие различия в /usr/include/linux-default/include/asm/unistd_{32,64}.h -- ldv