при сборке ядра возникают следующие ошибки
root@ubuntu:/usr/src/linux# make bzImage
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
CC mm/page_isolation.o
In file included from include/linux/slub_def.h:12,
from include/linux/slab.h:118,
from include/linux/percpu.h:5,
from include/linux/rcupdate.h:41,
from include/linux/dcache.h:10,
from include/linux/fs.h:276,
from include/linux/security.h:25,
from include/linux/mm.h:15,
from mm/page_isolation.c:6:
include/linux/kobject.h: В функции ‘to_kset’
include/linux/kobject.h:156: ошибка: implicit declaration of function ‘offsetof’
include/linux/kobject.h:156: ошибка: expected expression before ‘struct’
In file included from include/linux/rtmutex.h:16,
from include/linux/sched.h:82,
from include/linux/security.h:32,
from include/linux/mm.h:15,
from mm/page_isolation.c:6:
include/linux/plist.h: В функции ‘plist_first’
include/linux/plist.h:236: ошибка: expected expression before ‘struct’
In file included from include/linux/sched.h:306,
from include/linux/security.h:32,
from include/linux/mm.h:15,
from mm/page_isolation.c:6:
include/linux/aio.h: В функции ‘list_kiocb’
include/linux/aio.h:241: ошибка: expected expression before ‘struct’
In file included from include/linux/security.h:32,
from include/linux/mm.h:15,
from mm/page_isolation.c:6:
include/linux/sched.h: В функции ‘next_thread’
include/linux/sched.h:1739: ошибка: expected expression before ‘struct’
make[1]: *** [mm/page_isolation.o] Ошибка 1
make: *** [mm] Ошибка 2
при сборке модулей возникают следующие ошибки
root@ubuntu:/usr/src/linux# make modules
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CC [M] fs/xfs/quota/xfs_qm_syscalls.o
fs/xfs/quota/xfs_qm_syscalls.c: В функции ‘xfs_qm_scall_quotaoff’
fs/xfs/quota/xfs_qm_syscalls.c:328: ошибка: implicit declaration of function ‘delay’
make[2]: *** [fs/xfs/quota/xfs_qm_syscalls.o] Ошибка 1
make[1]: *** [fs/xfs] Ошибка 2
make: *** [fs] Ошибка 2