genkernel (не пашет)

Для новичков как вообще в Linux, так и в конкретной теме, к которой относится вопрос.

Модератор: Bizdelnick

binom
Сообщения: 177
ОС: Slackware 13

genkernel

Сообщение binom »

Код: Выделить всё

binom linux # genkernel all
* Gentoo Linux Genkernel; Version 3.4.9_pre7
* Running with options: all

* Linux Kernel 2.6.22-gentoo-r9 for x86...
* kernel: >> Running mrproper...
* ERROR: Failed to compile the "mrproper" target...

* -- Grepping log... --

Makefile:491: /usr/src/linux-2.6.22-gentoo-r9/arch/x86/Makefile: Нет такого файла или каталога
make: *** Нет правила для сборки цели `/usr/src/linux-2.6.22-gentoo-r9/arch/x86/Makefile'.  Останов.
* Gentoo Linux Genkernel; Version 3.4.9_pre7
* Running with options: all

* ERROR: Failed to compile the "mrproper" target...

* -- End log... --

* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.

* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*

Как сделать так, чтоб установить ядро с помощью genkernel?
Спасибо сказали:
Аватара пользователя
*Sasha*
Сообщения: 2519
Статус: Мимо шёл
ОС: Debian

Re: genkernel

Сообщение *Sasha* »

Попробуй переставить.
Спасибо сказали:
binom
Сообщения: 177
ОС: Slackware 13

Re: genkernel

Сообщение binom »

*Sasha* писал(а):
29.11.2007 02:47
Попробуй переставить.

Что переставить? как переставить? я обновляю ядро, мне нельзя переустанавливать сис-му!
Спасибо сказали:
Аватара пользователя
*Sasha*
Сообщения: 2519
Статус: Мимо шёл
ОС: Debian

Re: genkernel

Сообщение *Sasha* »

не систему, а genkernel :)
Спасибо сказали:
binom
Сообщения: 177
ОС: Slackware 13

Re: genkernel

Сообщение binom »

*Sasha* писал(а):
29.11.2007 04:37
не систему, а genkernel :)

Переставил не помогло.
Спасибо сказали:
Аватара пользователя
0ut
Сообщения: 307
Статус: Злыдень
ОС: *nix

Re: genkernel

Сообщение 0ut »

1. emerge genkernel - точно нормально ставится?
2. ln -s /usr/src/linux_чего_там_у_тебя /usr/src/linux
Запросы ошибок к операционной системе игнорироваться не могут.
Спасибо сказали:
Аватара пользователя
Ice@og
Сообщения: 20
ОС: Linux Gentoo

Re: genkernel

Сообщение Ice@og »

Makefile:491: /usr/src/linux-2.6.22-gentoo-r9/arch/x86/Makefile: Нет такого файла или каталога
make: *** Нет правила для сборки цели `/usr/src/linux-2.6.22-gentoo-r9/arch/x86/Makefile'. Останов.

Нет правила для сборки, отсутствует или поврежден Makefile.
emerge gentoo-sources
проверяем, куда смотрит /usr/src/linux
emerge genkernel
genkernel all
попробуй так.
Спасибо сказали:
Аватара пользователя
serzh-z
Бывший модератор
Сообщения: 8259
Статус: Маньяк
ОС: Arch, Fedora, Ubuntu

Re: genkernel

Сообщение serzh-z »

*Sasha* писал(а):
29.11.2007 02:47
Попробуй переставить.
Увы, это не винда. Не поможет.

binom писал(а):
29.11.2007 01:29
Нет правила для сборки цели `/usr/src/linux-2.6.22-gentoo-r9/arch/x86/Makefile'
Если не ошибаюсь, то в текущей разрабатываемой ветке ядра (2.6.24) изменили название архитектуры i386 на x86. Соотв. все ссылки в существующих приложениях (например в пакете klibc) на i386 устарели...

Следует для начала попробовать выполнить руками mrproper в каталоге ядра.
Спасибо сказали:
binom
Сообщения: 177
ОС: Slackware 13

Re: genkernel

Сообщение binom »

Ice@og писал(а):
29.11.2007 09:09
Makefile:491: /usr/src/linux-2.6.22-gentoo-r9/arch/x86/Makefile: Нет такого файла или каталога
make: *** Нет правила для сборки цели `/usr/src/linux-2.6.22-gentoo-r9/arch/x86/Makefile'. Останов.

Нет правила для сборки, отсутствует или поврежден Makefile.
emerge gentoo-sources
проверяем, куда смотрит /usr/src/linux
emerge genkernel
genkernel all
попробуй так.

Код: Выделить всё

binom linux # ls -l /usr/src/linux
lrwxrwxrwx 1 root root 22 Ноя 29 21:05 /usr/src/linux -> linux-2.6.23-gentoo-r1

Запускаю genkernel all

Код:

In file included from include/linux/module.h:9, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets.c:7: include/linux/list.h:9:24: error: asm/system.h: Нет такого файла или каталога -- include/linux/list.h: В функции ‘__list_add_rcu’ include/linux/list.h:100: ошибка: implicit declaration of function ‘smp_wmb’ In file included from include/linux/module.h:10, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets.c:7: include/linux/stat.h:6:22: error: asm/stat.h: Нет такого файла или каталога -- from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets.c:7: include/linux/linkage.h:4:25: error: asm/linkage.h: Нет такого файла или каталога -- from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets.c:7: include/linux/bitops.h:9:24: error: asm/bitops.h: Нет такого файла или каталога -- from include/linux/time.h:7, from include/linux/stat.h:60, from include/linux/module.h:10, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets.c:7: include/linux/kernel.h:17:27: error: asm/byteorder.h: Нет такого файла или каталога include/linux/kernel.h:18:21: error: asm/bug.h: Нет такого файла или каталога -- include/linux/kernel.h:132: ошибка: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/kernel.h:223: ошибка: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/kernel.h:225: ошибка: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/kernel.h:228: ошибка: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/kernel.h:230: ошибка: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/kernel.h:279:2: error: #error "Please fix asm/byteorder.h" -- from include/linux/time.h:8, from include/linux/stat.h:60, from include/linux/module.h:10, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets.c:7: include/linux/thread_info.h:21:29: error: asm/thread_info.h: Нет такого файла или каталога -- from include/linux/time.h:8, from include/linux/stat.h:60, from include/linux/module.h:10, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets.c:7: include/linux/spinlock_types.h:13:33: error: asm/spinlock_types.h: Нет такого файла или каталога -- from include/linux/time.h:8, from include/linux/stat.h:60, from include/linux/module.h:10, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets.c:7: include/linux/spinlock.h:87:27: error: asm/spinlock.h: Нет такого файла или каталога -- include/linux/stat.h:63: ошибка: expected specifier-qualifier-list before ‘u64’ In file included from include/linux/kmod.h:23, from include/linux/module.h:13, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets.c:7: include/linux/errno.h:4:23: error: asm/errno.h: Нет такого файла или каталога -- include/linux/kmod.h:86: ошибка: ‘ENOMEM’ undeclared (first use in this function) In file included from include/linux/elf.h:5, from include/linux/module.h:14, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets.c:7: include/linux/auxvec.h:4:24: error: asm/auxvec.h: Нет такого файла или каталога In file included from include/linux/module.h:14, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets.c:7: include/linux/elf.h:7:21: error: asm/elf.h: Нет такого файла или каталога -- include/linux/elf.h:244: ошибка: expected specifier-qualifier-list before ‘Elf64_Word’ include/linux/elf.h:289: ошибка: expected specifier-qualifier-list before ‘Elf32_Word’ include/linux/elf.h:302: ошибка: expected specifier-qualifier-list before ‘Elf64_Word’ include/linux/elf.h:362: ошибка: expected specifier-qualifier-list before ‘Elf32_Word’ include/linux/elf.h:369: ошибка: expected specifier-qualifier-list before ‘Elf64_Word’ include/linux/elf.h:374:5: warning: "ELF_CLASS" is not defined -- include/linux/kref.h:24: ошибка: expected specifier-qualifier-list before ‘atomic_t’ In file included from include/linux/kobject.h:27, from include/linux/module.h:16, from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets.c:7: include/linux/wait.h:26:25: error: asm/current.h: Нет такого файла или каталога -- from arch/x86/kernel/asm-offsets.c:7: include/linux/kobject.h:37: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uevent_seqnum’ include/linux/kobject.h:266: ошибка: expected specifier-qualifier-list before ‘ssize_t’ In file included from include/linux/crypto.h:21, from arch/x86/kernel/asm-offsets.c:7: include/linux/module.h:18:23: error: asm/local.h: Нет такого файла или каталога include/linux/module.h:20:24: error: asm/module.h: Нет такого файла или каталога -- from include/linux/mmzone.h:15, from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets.c:7: include/linux/string.h:21:24: error: asm/string.h: Нет такого файла или каталога -- In file included from include/linux/mmzone.h:15, from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets.c:7: include/linux/nodemask.h:259:21: warning: "BITS_PER_LONG" is not defined In file included from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets.c:7: include/linux/mmzone.h:17:22: error: asm/page.h: Нет такого файла или каталога -- from include/linux/mmzone.h:493, from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets.c:7: include/linux/rwsem.h:24:65: error: asm/rwsem.h: Нет такого файла или каталога -- from include/linux/mmzone.h:615, from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets.c:7: include/linux/cpumask.h:239:16: warning: "BITS_PER_LONG" is not defined -- from include/linux/mmzone.h:615, from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets.c:7: include/linux/smp.h:19:21: error: asm/smp.h: Нет такого файла или каталога In file included from include/linux/mmzone.h:615, from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets.c:7: include/linux/topology.h:34:26: error: asm/topology.h: Нет такого файла или каталога In file included from include/linux/gfp.h:4, from include/linux/slab.h:14, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets.c:7: include/linux/mmzone.h:662:5: warning: "BITS_PER_LONG" is not defined include/linux/mmzone.h:669:7: warning: "BITS_PER_LONG" is not defined include/linux/mmzone.h:677:2: error: #error BITS_PER_LONG not defined -- from include/linux/workqueue.h:8, from include/linux/slub_def.h:11, from include/linux/slab.h:116, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets.c:7: include/linux/calc64.h:5:23: error: asm/div64.h: Нет такого файла или каталога -- from include/linux/workqueue.h:8, from include/linux/slub_def.h:11, from include/linux/slab.h:116, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets.c:7: include/linux/timex.h:59:23: error: asm/param.h: Нет такого файла или каталога include/linux/timex.h:187:23: error: asm/timex.h: Нет такого файла или каталога -- from include/linux/workqueue.h:8, from include/linux/slub_def.h:11, from include/linux/slab.h:116, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets.c:7: include/linux/jiffies.h:18:5: warning: "HZ" is not defined include/linux/jiffies.h:20:7: warning: "HZ" is not defined include/linux/jiffies.h:22:7: warning: "HZ" is not defined include/linux/jiffies.h:24:7: warning: "HZ" is not defined include/linux/jiffies.h:26:7: warning: "HZ" is not defined include/linux/jiffies.h:28:7: warning: "HZ" is not defined include/linux/jiffies.h:30:7: warning: "HZ" is not defined include/linux/jiffies.h:33:3: error: #error You lose. -- from include/linux/slab.h:116, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets.c:7: include/linux/jiffies.h:81: предупреждение: в декларации ‘u64’ по умолчанию установлен тип ‘int’ include/linux/jiffies.h:81: ошибка: expected ‘,’ or ‘;’ before ‘jiffies_64’ include/linux/jiffies.h:84:6: warning: "BITS_PER_LONG" is not defined include/linux/jiffies.h:85: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘get_jiffies_64’ include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: warning: "CLOCK_TICK_RATE" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: warning: "HZ" is not defined include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:31: error: division by zero in #if include/linux/jiffies.h:225:46: warning: "SHIFT_HZ" is not defined include/linux/jiffies.h:252:5: warning: "BITS_PER_LONG" is not defined -- from include/linux/workqueue.h:8, from include/linux/slub_def.h:11, from include/linux/slab.h:116, from include/linux/crypto.h:24, from arch/x86/kernel/asm-offsets.c:7: include/linux/ktime.h:48:5: warning: "BITS_PER_LONG" is not defined include/linux/ktime.h:62:6: warning: "BITS_PER_LONG" is not defined include/linux/ktime.h:72:6: warning: "BITS_PER_LONG" is not defined include/linux/ktime.h:83:6: warning: "BITS_PER_LONG" is not defined -- include/linux/slab.h:197: ошибка: expected ‘)’ before ‘size’ include/linux/slab.h:220: ошибка: expected ‘)’ before ‘gfp_t’ include/linux/slab.h:267: ошибка: expected ‘)’ before ‘size’ In file included from include/linux/crypto.h:26, from arch/x86/kernel/asm-offsets.c:7: include/linux/uaccess.h:5:25: error: asm/uaccess.h: Нет такого файла или каталога -- include/linux/capability.h:324: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cap_combine’ include/linux/capability.h:331: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cap_intersect’ include/linux/capability.h:338: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cap_drop’ include/linux/capability.h:345: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cap_invert’ In file included from arch/x86/kernel/asm-offsets.c:8: include/linux/sched.h:62:27: error: asm/semaphore.h: Нет такого файла или каталога include/linux/sched.h:64:24: error: asm/ptrace.h: Нет такого файла или каталога include/linux/sched.h:65:21: error: asm/mmu.h: Нет такого файла или каталога include/linux/sched.h:66:25: error: asm/cputime.h: Нет такого файла или каталога -- from arch/x86/kernel/asm-offsets.c:8: include/linux/ipc.h:12: ошибка: expected specifier-qualifier-list before ‘__kernel_uid_t’ In file included from include/linux/sem.h:4, from include/linux/sched.h:69, from arch/x86/kernel/asm-offsets.c:8: include/linux/ipc.h:21:24: error: asm/ipcbuf.h: Нет такого файла или каталога -- In file included from include/linux/sched.h:69, from arch/x86/kernel/asm-offsets.c:8: include/linux/sem.h:25: ошибка: expected specifier-qualifier-list before ‘__kernel_time_t’ In file included from include/linux/sched.h:69, from arch/x86/kernel/asm-offsets.c:8: include/linux/sem.h:35:24: error: asm/sembuf.h: Нет такого файла или каталога include/linux/sem.h:94: ошибка: expected specifier-qualifier-list before ‘time_t’ include/linux/sem.h:132: ошибка: expected specifier-qualifier-list before ‘atomic_t’ In file included from include/linux/sched.h:70, from arch/x86/kernel/asm-offsets.c:8: include/linux/signal.h:4:24: error: asm/signal.h: Нет такого файла или каталога include/linux/signal.h:5:25: error: asm/siginfo.h: Нет такого файла или каталога -- include/linux/signal.h:236: предупреждение: декларация ‘struct siginfo’ внутри списка параметров include/linux/signal.h:237: предупреждение: декларация ‘struct siginfo’ внутри списка параметров include/linux/signal.h:239: ошибка: expected declaration specifiers or ‘...’ before ‘sigset_t’ include/linux/signal.h:239: ошибка: expected declaration specifiers or ‘...’ before ‘sigset_t’ include/linux/signal.h:243: ошибка: expected ‘)’ before ‘*’ token include/linux/signal.h:329:5: warning: "SIGRTMIN" is not defined include/linux/signal.h:329:16: warning: "BITS_PER_LONG" is not defined -- include/linux/fs_struct.h:8: ошибка: expected specifier-qualifier-list before ‘atomic_t’ In file included from include/linux/rcupdate.h:41, from include/linux/pid.h:4, from include/linux/sched.h:75, from arch/x86/kernel/asm-offsets.c:8: include/linux/percpu.h:10:24: error: asm/percpu.h: Нет такого файла или каталога -- include/linux/pid.h:65: ошибка: ‘struct pid’ has no member named ‘count’ include/linux/pid.h: На верхнем уровне: include/linux/pid.h:101: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pid_nr’ In file included from include/linux/sched.h:78, from arch/x86/kernel/asm-offsets.c:8: include/linux/seccomp.h:8:25: error: asm/seccomp.h: Нет такого файла или каталога -- include/linux/futex.h:111: ошибка: expected ‘)’ before ‘*’ token include/linux/futex.h:115: ошибка: expected ‘)’ before ‘*’ token include/linux/futex.h:152: ошибка: expected ‘)’ before ‘*’ token In file included from include/linux/sched.h:85, from arch/x86/kernel/asm-offsets.c:8: include/linux/resource.h:70:26: error: asm/resource.h: Нет такого файла или каталога -- include/linux/hrtimer.h:275: ошибка: expected ‘;’, ‘,’ or ‘)’ before ‘which_clock’ include/linux/hrtimer.h:305: предупреждение: в декларации ‘clockid_t’ по умолчанию установлен тип ‘int’ include/linux/hrtimer.h:305: ошибка: expected ‘;’, ‘,’ or ‘)’ before ‘clockid’ In file included from include/linux/sched.h:87, from arch/x86/kernel/asm-offsets.c:8: include/linux/hrtimer.h:317:5: warning: "BITS_PER_LONG" is not defined -- from arch/x86/kernel/asm-offsets.c:8: include/linux/aio_abi.h:58: ошибка: expected specifier-qualifier-list before ‘__u64’ In file included from include/linux/aio.h:6, from include/linux/sched.h:298, from arch/x86/kernel/asm-offsets.c:8: include/linux/aio_abi.h:69:2: error: #error edit for your odd byteorder. -- include/linux/sched.h:1838: ошибка: expected ‘)’ before ‘pid’ include/linux/sched.h:1839: ошибка: expected ‘)’ before ‘pid’ include/linux/sched.h:1866: ошибка: expected declaration specifiers or ‘...’ before ‘ssize_t’ include/linux/sched.h:1870: ошибка: expected declaration specifiers or ‘...’ before ‘ssize_t’ In file included from arch/x86/kernel/asm-offsets.c:11: include/linux/suspend.h:5:25: error: asm/suspend.h: Нет такого файла или каталога -- from arch/x86/kernel/asm-offsets.c:11: include/linux/mm_types.h: На верхнем уровне: include/linux/mm_types.h:21: ошибка: expected specifier-qualifier-list before ‘atomic_t’ In file included from include/linux/suspend.h:11, from arch/x86/kernel/asm-offsets.c:11: include/linux/mm.h:39:25: error: asm/pgtable.h: Нет такого файла или каталога -- include/linux/mm.h:68: ошибка: expected specifier-qualifier-list before ‘pgprot_t’ include/linux/mm.h:194: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘protection_map’ In file included from include/linux/mm.h:257, from include/linux/suspend.h:11, from arch/x86/kernel/asm-offsets.c:11: include/linux/page-flags.h:100:6: warning: "BITS_PER_LONG" is not defined -- include/linux/mm.h:358: ошибка: ‘struct page’ has no member named ‘lru’ include/linux/mm.h: В функции ‘set_compound_order’ include/linux/mm.h:363: ошибка: ‘struct page’ has no member named ‘lru’ In file included from include/linux/suspend.h:11, from arch/x86/kernel/asm-offsets.c:11: include/linux/mm.h:454:47: warning: "FLAGS_RESERVED" is not defined include/linux/mm.h:499:46: warning: "FLAGS_RESERVED" is not defined include/linux/mm.h:500:2: error: #error SECTIONS_WIDTH+NODES_WIDTH+ZONES_WIDTH > FLAGS_RESERVED -- include/linux/mm.h:1207: ошибка: expected declaration specifiers or ‘...’ before ‘size_t’ include/linux/mm.h:1207: ошибка: expected declaration specifiers or ‘...’ before ‘loff_t’ In file included from arch/x86/kernel/asm-offsets.c:11: include/linux/suspend.h: В функции ‘hibernate’ include/linux/suspend.h:81: ошибка: ‘ENOSYS’ undeclared (first use in this function) arch/x86/kernel/asm-offsets.c:12:26: error: asm/ucontext.h: Нет такого файла или каталога -- arch/x86/kernel/sigframe.h:6: ошибка: поле ‘fpstate’ имеет неполный тип arch/x86/kernel/sigframe.h:7: ошибка: ‘_NSIG_WORDS’ undeclared here (not in a function) arch/x86/kernel/sigframe.h:17: ошибка: поле ‘info’ имеет неполный тип arch/x86/kernel/sigframe.h:18: ошибка: поле ‘uc’ имеет неполный тип arch/x86/kernel/sigframe.h:19: ошибка: поле ‘fpstate’ имеет неполный тип arch/x86/kernel/asm-offsets.c:15:24: error: asm/fixmap.h: Нет такого файла или каталога In file included from arch/x86/kernel/asm-offsets.c:20: include/xen/interface/xen.h:12:31: error: asm/xen/interface.h: Нет такого файла или каталога -- make[1]: *** [arch/x86/kernel/asm-offsets.s] Ошибка 1 make: *** [prepare0] Ошибка 2 * Gentoo Linux Genkernel; Version 3.4.9_pre7 * Running with options: all * ERROR: Failed to compile the "prepare" target... * -- End log... -- * Please consult /var/log/genkernel.log for more information and any * errors that were reported above. * Report any genkernel bugs to bugs.gentoo.org and * assign your bug to genkernel@gentoo.org. Please include * as much information as you can in your bug report; attaching * /var/log/genkernel.log so that your issue can be dealt with effectively. * * Please do *not* report compilation failures as genkernel bugs! *


Может дело в том что я правил некоторые фаилы genkernel?
Как удалить genkernel со всеми файлами настройки, а потом поставить заново?
mrproper не спасает ситуацию
Спасибо сказали:
Аватара пользователя
Juliette
Сообщения: 5058
Статус: ROSA Lab
ОС: Ubuntu LTS, Mandriva 2011

Re: genkernel

Сообщение Juliette »

binom писал(а):
29.11.2007 21:12
Может дело в том что я правил некоторые фаилы genkernel?

рады это слышать хотя бы на данном этапе, а не к Новому Году...

путём нехитрых манипуляций с man genkernel можно узнать, где находятся его конфиги, ну а как удалить приложение с помощью emerge -- это, наверное, вы знаете
Неплохо бы на всякий пожарный потом проверить, собирается ли ядро руками, желательно от начала до конца.
Спасибо сказали:
binom
Сообщения: 177
ОС: Slackware 13

Re: genkernel

Сообщение binom »

Juliette писал(а):
29.11.2007 21:55
binom писал(а):
29.11.2007 21:12
Может дело в том что я правил некоторые фаилы genkernel?

рады это слышать хотя бы на данном этапе, а не к Новому Году...

путём нехитрых манипуляций с man genkernel можно узнать, где находятся его конфиги, ну а как удалить приложение с помощью emerge -- это, наверное, вы знаете
Неплохо бы на всякий пожарный потом проверить, собирается ли ядро руками, желательно от начала до конца.

проверил, ядро собирается от начала до конца вручную, но мне нужно через genkernel.
Спасибо сказали:
Аватара пользователя
Juliette
Сообщения: 5058
Статус: ROSA Lab
ОС: Ubuntu LTS, Mandriva 2011

Re: genkernel

Сообщение Juliette »

Ну тогда сносите генкернел подчистую со всеми конфигами и чего там у него ещё найдётся :)
Спасибо сказали:
binom
Сообщения: 177
ОС: Slackware 13

Re: genkernel

Сообщение binom »

Juliette писал(а):
29.11.2007 22:11
Ну тогда сносите генкернель подчистую со всеми конфигами и чего там у него ещё найдётся :)

как это сделать?
emerge -C genkernel не все сносит
Спасибо сказали:
Аватара пользователя
Juliette
Сообщения: 5058
Статус: ROSA Lab
ОС: Ubuntu LTS, Mandriva 2011

Re: genkernel

Сообщение Juliette »

ручками подчищайте :girl_hospital:
Спасибо сказали:
binom
Сообщения: 177
ОС: Slackware 13

Re: genkernel

Сообщение binom »

Я в отчаянии - ничего не изменилось:

Код: Выделить всё

* Gentoo Linux Genkernel; Version 3.4.9_pre7[0m
* Running with options: all

* Linux Kernel 2.6.23-gentoo-r1[0m for x86[0m...
* kernel: >> Running mrproper...
COMMAND: make -j2 CC="gcc" LD="ld" AS="as"
  CLEAN   scripts/basic
  CLEAN   scripts/kconfig
  CLEAN   include/config
  CLEAN   .config .config.old include/asm include/linux/autoconf.h include/linux/version.h include/linux/utsrelease.h
* config: Using config from /usr/share/genkernel/x86/kernel-config-2.6
*         Previous config backed up to .config.bak
*         >> Running oldconfig...
COMMAND: make -j2 CC="gcc" LD="ld" AS="as"
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -o arch/x86/Kconfig
.config:34:warning: trying to assign nonexistent symbol IPC_NS
.config:40:warning: trying to assign nonexistent symbol UTS_NS
.config:148:warning: trying to assign nonexistent symbol X86_CMPXCHG64
.config:210:warning: trying to assign nonexistent symbol REGPARM
.config:229:warning: trying to assign nonexistent symbol PM_SYSFS_DEPRECATED
.....
make[1]: *** [arch/x86/kernel/asm-offsets.s] Ошибка 1
make: *** [prepare0] Ошибка 2
* Gentoo Linux Genkernel; Version 3.4.9_pre7[0m
* Running with options: all

* ERROR: Failed to compile the "prepare" target...
* -- Grepping log... --
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
*
Спасибо сказали: