[Comm] Пересборка ядра.

Valery V. Inozemtsev =?iso-8859-1?q?shrek_=CE=C1_progroup=2Eru?=
Чт Июн 5 13:56:37 MSD 2003


День добрый.

Ядро 2.4.20-alt5 из коробки. Пытаюсь пересобрать, при make bzImage орет 
следующее
____________________________________________________________________________________________________________________
make[1]: Вход в каталог `/home/valery/RPM/BUILD/linux-2.4.20/kernel'
make all_targets
make[2]: Вход в каталог `/home/valery/RPM/BUILD/linux-2.4.20/kernel'
gcc -D__KERNEL__ -I/home/valery/RPM/BUILD/linux-2.4.20/include -pipe 
-Wall -O2 -fexpensive-optimizations -march=athlon -fomit-frame-pointer 
-falign-loops=2 -falign-jumps=2 -falign-functions=2 
-mpreferred-stack-boundary=2 -Wstrict-prototypes -fno-strict-aliasing  
-nostdinc -iwithprefix include -DKBUILD_BASENAME=sched  
-fno-omit-frame-pointer -c -o sched.o sched.c
In file included from 
/home/valery/RPM/BUILD/linux-2.4.20/include/linux/wait.h:13,
                 from 
/home/valery/RPM/BUILD/linux-2.4.20/include/linux/fs.h:12,
                 from 
/home/valery/RPM/BUILD/linux-2.4.20/include/linux/capability.h:282,
                 from 
/home/valery/RPM/BUILD/linux-2.4.20/include/linux/binfmts.h:5,
                 from 
/home/valery/RPM/BUILD/linux-2.4.20/include/linux/sched.h:9,
                 from 
/home/valery/RPM/BUILD/linux-2.4.20/include/linux/mm.h:4,
                 from sched.c:23:
/home/valery/RPM/BUILD/linux-2.4.20/include/linux/kernel.h:10:20: 
stdarg.h: No such file or directory
In file included from 
/home/valery/RPM/BUILD/linux-2.4.20/include/linux/wait.h:13,
                 from 
/home/valery/RPM/BUILD/linux-2.4.20/include/linux/fs.h:12,
                 from 
/home/valery/RPM/BUILD/linux-2.4.20/include/linux/capability.h:282,
                 from 
/home/valery/RPM/BUILD/linux-2.4.20/include/linux/binfmts.h:5,
                 from 
/home/valery/RPM/BUILD/linux-2.4.20/include/linux/sched.h:9,
                 from 
/home/valery/RPM/BUILD/linux-2.4.20/include/linux/mm.h:4,
                 from sched.c:23:
/home/valery/RPM/BUILD/linux-2.4.20/include/linux/kernel.h:74: parse 
error before "va_list"
/home/valery/RPM/BUILD/linux-2.4.20/include/linux/kernel.h:74: warning: 
function declaration isn't a prototype
/home/valery/RPM/BUILD/linux-2.4.20/include/linux/kernel.h:77: parse 
error before "va_list"
/home/valery/RPM/BUILD/linux-2.4.20/include/linux/kernel.h:77: warning: 
function declaration isn't a prototype
/home/valery/RPM/BUILD/linux-2.4.20/include/linux/kernel.h:81: parse 
error before "va_list"
/home/valery/RPM/BUILD/linux-2.4.20/include/linux/kernel.h:81: warning: 
function declaration isn't a prototype
make[2]: *** [sched.o] Ошибка 1
make[2]: Выход из каталог `/home/valery/RPM/BUILD/linux-2.4.20/kernel'
make[1]: *** [first_rule] Ошибка 2
make[1]: Выход из каталог `/home/valery/RPM/BUILD/linux-2.4.20/kernel'
make: *** [_dir_kernel] Ошибка 2
____________________________________________________________________________________________________________________

Причем если делать rpmbuild --rebuild kernel24-2.4.20-alt5.src.rpm все 
проходит на ура, пакеты собираются.
Куда девался этот stdarg.h?
Как его собрать то нормально?

С уважением,
Валерий.




Подробная информация о списке рассылки community