компилил то же ядро что и сейчас установленно в системе(2.6.8.1-12mdk).
Так как компилил ядро первый раз делал всё по вот этой вот статье -> Ставим ядро 2.6, или Ядерная физика для домохозяйки. Опубликованно на LinuxCenter.ru.
Настроил я значит .config
затем su
make bzImage - проходит нормально
make modules - выдаёт во такую вот ошибку:
Код: Выделить всё
CC [M] net/ipv4/netfilter/ipt_osf.o
In file included from net/ipv4/netfilter/ipt_osf.c:53:
include/linux/netfilter_ipv4/ipt_osf.h:95: error: field `tcp' has incomplete type
net/ipv4/netfilter/ipt_osf.c: In function `ipt_osf_nlsend':
net/ipv4/netfilter/ipt_osf.c:119: error: invalid application of `sizeof' to incomplete type `tcphdr'
net/ipv4/netfilter/ipt_osf.c:119: error: invalid application of `sizeof' to incomplete type `tcphdr'
net/ipv4/netfilter/ipt_osf.c:119: error: invalid application of `sizeof' to incomplete type `tcphdr'
net/ipv4/netfilter/ipt_osf.c: In function `match':
net/ipv4/netfilter/ipt_osf.c:174: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_osf.c:179: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_osf.c:179: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_osf.c:179: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_osf.c:181: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_osf.c:181: error: invalid application of `sizeof' to incomplete type `tcphdr'
net/ipv4/netfilter/ipt_osf.c:183: error: invalid use of undefined type `struct tcphdr'
net/ipv4/netfilter/ipt_osf.c:184: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_osf.c:184: error: invalid application of `sizeof' to incomplete type `tcphdr'
net/ipv4/netfilter/ipt_osf.c:347: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_osf.c:347: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_osf.c:347: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_osf.c:347: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_osf.c:347: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_osf.c:347: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_osf.c:367: error: invalid application of `sizeof' to incomplete type `tcphdr'
net/ipv4/netfilter/ipt_osf.c:377: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_osf.c:377: error: invalid application of `sizeof' to incomplete type `tcphdr'
net/ipv4/netfilter/ipt_osf.c:378: error: invalid application of `sizeof' to incomplete type `tcphdr'
net/ipv4/netfilter/ipt_osf.c:398: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_osf.c:398: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_osf.c:398: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_osf.c:398: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_osf.c:398: error: dereferencing pointer to incomplete type
net/ipv4/netfilter/ipt_osf.c:398: error: dereferencing pointer to incomplete type
make[3]: *** [net/ipv4/netfilter/ipt_osf.o] Ошибка 1
make[2]: *** [net/ipv4/netfilter] Ошибка 2
make[1]: *** [net/ipv4] Ошибка 2
make: *** [net] Ошибка 2Фаил ipt_osf.o, отвечает за OS Fingerprinting.
Что делать не знаю, может у вас какие мысли есть?