On Fri, Mar 21, 2008 at 04:00:00PM +0200, kirill@shutemov.name wrote: > > glibc-6:2.5.1-alt3 > > glibc_preinstall.c -o glibc_preinstall > > glibc_preinstall.c:9: error: expected declaration specifiers or '...' before 'getppid' > > glibc_preinstall.c:10: warning: return type defaults to 'int'make: Leaving directory > > `/usr/src/RPM/BUILD/glibc-2.5.1-alt3/glibc-helpers-2.5.1-alt3' > > glibc_preinstall.c: In function '_syscall0': > > glibc_preinstall.c:10: error: expected declaration specifiers before '_syscall1' > > glibc_preinstall.c:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before > > '{' token > > glibc_preinstall.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before > > '{' token > > glibc_preinstall.c:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before > > '{' token > > glibc_preinstall.c:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before > > '{' token > > glibc_preinstall.c:9: error: parameter name omitted > > glibc_preinstall.c:78: error: expected '{' at end of input > > make: *** [glibc_preinstall] Error 1 > > _syscallX больше нет. Дим, поправь. Предлагаешь собирать glibc_preinstall с klibc? > > util-linux-2.13-alt5 > > + gcc -pipe -Wall -O2 -march=i586 -mtune=i686 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > > -D_LARGEFILE64_SOURCE -U_FORTIFY_SOURCE -fno-stack-protector -static -nostartfiles > > -nodefaultlibs -nostdlib nologin.c -o nologin > > nologin.c:47: error: expected declaration specifiers or '...' before 'exit' > > nologin.c:47: error: expected declaration specifiers or '...' before 'status' > > nologin.c:47: error: 'void' must be the only parameter > > nologin.c:47: warning: data definition has no type or storage class > > nologin.c:47: warning: type defaults to 'int' in declaration of '_syscall1' > > nologin.c:48: error: expected declaration specifiers or '...' before 'close' > > nologin.c:48: error: expected declaration specifiers or '...' before 'fd' > > nologin.c:48: warning: data definition has no type or storage class > > nologin.c:48: warning: type defaults to 'int' in declaration of '_syscall1' > > nologin.c:48: error: conflicting types for '_syscall1' > > nologin.c:47: error: previous declaration of '_syscall1' was here > > nologin.c:49: error: expected declaration specifiers or '...' before 'open' > > nologin.c:49: error: expected declaration specifiers or '...' before 'pathname' > > nologin.c:49: error: expected declaration specifiers or '...' before 'flags' > > nologin.c:49: warning: data definition has no type or storage class > > Дима, исправишь? Угу, с klibc так с klibc. -- ldv