LINUX.ORG.RU
ФорумAdmin

Gentoo, не компилится ядро..


0

0

Вероятно, после обновления glibc (до 2.6.1), получаем вот такое:

mev linux # make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CC arch/i386/kernel/asm-offsets.s
In file included from include/asm/siginfo.h:4,
from include/linux/signal.h:5,
from include/linux/sched.h:67,
from arch/i386/kernel/asm-offsets.c:8:
include/asm-generic/siginfo.h:4:21: error: signal.h: Нет такого файла или каталога
In file included from include/linux/sched.h:67,
from arch/i386/kernel/asm-offsets.c:8:
include/linux/signal.h:18: ошибка: expected specifier-qualifier-list before ‘siginfo_t’
include/linux/signal.h:243: ошибка: expected ‘)’ before ‘*’ token
In file included from arch/i386/kernel/asm-offsets.c:8:
include/linux/sched.h:1031: ошибка: expected specifier-qualifier-list before ‘siginfo_t’
include/linux/sched.h:1330: ошибка: expected declaration specifiers or ‘...’ before ‘siginfo_t’
include/linux/sched.h:1332: ошибка: expected declaration specifiers or ‘...’ before ‘siginfo_t’
include/linux/sched.h: В функции ‘dequeue_signal_lock’
include/linux/sched.h:1338: ошибка: ‘info’ undeclared (first use in this function)
include/linux/sched.h:1338: ошибка: (Each undeclared identifier is reported only once
include/linux/sched.h:1338: ошибка: for each function it appears in.)
include/linux/sched.h:1338: ошибка: слишком много аргументов в вызове функции ‘dequeue_signal’
In file included from arch/i386/kernel/asm-offsets.c:13:
arch/i386/kernel/sigframe.h: На верхнем уровне:
arch/i386/kernel/sigframe.h:17: ошибка: поле ‘info’ имеет неполный тип
make[1]: *** [arch/i386/kernel/asm-offsets.s] Ошибка 1
make: *** [prepare0] Ошибка 2


signal.h есть вроде:
[ Searching for file(s) signal.h in *... ]
sys-libs/glibc-2.6.1 (/usr/include/signal.h)
sys-libs/glibc-2.6.1 (/usr/include/sys/signal.h)
app-emulation/wine-0.9.47 (/usr/include/wine/msvcrt/signal.h)
gnome-base/libgtop-2.14.9 (/usr/include/libgtop-2.0/glibtop/signal.h)
media-sound/xmms2-0.2.8-r1 (/usr/include/xmms2/xmmsclient/xmmsclient++/signal.h)
dev-libs/libsigc++-2.0.17 (/usr/include/sigc++-2.0/sigc++/signal.h)
dev-libs/libsigc++-1.2.5 (/usr/include/sigc++-1.2/sigc++/signal.h)
dev-libs/STLport-5.1.0 (/usr/include/stlport/signal.h)
cross-mingw32/mingw-runtime-3.9 (/usr/mingw32/usr/include/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/arch/arm/kernel/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-ia64/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-h8300/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-mips/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-m68k/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-arm26/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/linux/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-m32r/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-arm/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-alpha/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-s390/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-frv/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-sparc64/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-cris/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-parisc/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-sparc/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/arch/sparc64/solaris/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-um/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-sh64/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-sh/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-powerpc/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-generic/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-xtensa/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-v850/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-m68knommu/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-blackfin/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-avr32/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-x86_64/signal.h)
sys-kernel/gentoo-sources-2.6.22-r8 (/usr/src/linux-2.6.22-gentoo-r8/include/asm-i386/signal.h)
sys-kernel/linux-headers-2.6.22-r2 (/usr/include/asm/signal.h)
sys-kernel/linux-headers-2.6.22-r2 (/usr/include/linux/signal.h)
sys-kernel/linux-headers-2.6.22-r2 (/usr/include/asm-generic/signal.h)


P.S. 2.6.22-r8

★★★★★

Ответ на: Re: Gentoo, не компилится ядро.. от birdie

Re: Gentoo, не компилится ядро..

Думаю, это не то немного...

include/asm-generic/siginfo.h:4:21: error: signal.h: Нет такого файла или каталога

michwill ★★★★★ ()
Ответ на: Re: Gentoo, не компилится ядро.. от mendisobal

Re: Gentoo, не компилится ядро..

Да есть он там. Более того - скачал 2.6.23 - компилится... Хз, может, если /usr/src/linux почистить, это тоже будет компилиться. Пока забил

michwill ★★★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.