Ich versuche einen eigenen Kernel von kernel-source-2.4.21-4.i586.rpm für ein Multisystem zu bauen und habe dazu das rpm installiert, das Sourcen-Verzeichnis wurde gesichert und dann auf einen (fast) identen Rechner übertragen. Weiters wurden dieses Verzeichnis in /usr/src/linux-2.4.21-4-own umbenannt, sodass das Original-Verzeichnis linux-2.4.20.SuSE weiter vorhanden ist. Warum ich später von linux-2.4.21-4-own auf linux-2.4.21-4-mantel-own nicht mit make menuconfig umbenennen konnte, ist mir nicht klar, aber meinetwegen soll der Kernel weiter "own" heißen. Bei "mantel-own" lief die Kompilierung einige Zeit und dann wurde im Pfad linux-2.4.21-4-own und nicht in linux-2.4.21-4-mantel-own gesucht. Ich wollte im Makefile EXTRAVERSION = -$(CONFIG_RELEASE)-$(CONFIG_CFGNAME) KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) nichts manuell eintragen, da ich nicht weiß, ob das irgendwelchen weiteren Auswirkungen hat. Irgendwann kam es dann im "netfilter_ipv4-Bereich" zu u.a. Fehlermeldungen. Diese Option kann ich aber nicht im Kernel streichen und so scheint es, dass ich hier anstehe. Ausgeführt wurde: time make dep clean bzImage modules modules_install 2>&1 | tee make.out /lib/modules # ls . .. 2.4.20-4GB 2.4.20-4GB-original "Original" ist einfach eine Kopie für Notfälle. Es gab also noch kein Verzeichnis 2.4.21-4-own gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-4-own/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium3 -DMODULE -nostdinc -iwithprefix include -DKBUILD_BASENAME=ipt_REJECT -c -o ipt_REJECT.o ipt_REJECT.c In file included from /usr/src/linux-2.4.21-4-own/include/net/tcp.h:1048, from ipt_REJECT.c:13: /usr/src/linux-2.4.21-4-own/include/net/tcp_ecn.h: In function `TCP_ECN_send': /usr/src/linux-2.4.21-4-own/include/net/tcp_ecn.h:52: warning: comparison between signed and unsigned In file included from ipt_REJECT.c:13: /usr/src/linux-2.4.21-4-own/include/net/tcp.h: In function `tcp_cwnd_validate': /usr/src/linux-2.4.21-4-own/include/net/tcp.h:1130: warning: comparison between signed and unsigned /usr/src/linux-2.4.21-4-own/include/net/tcp.h: In function `tcp_minshall_update': /usr/src/linux-2.4.21-4-own/include/net/tcp.h:1175: warning: comparison between signed and unsigned In file included from ipt_REJECT.c:13: /usr/src/linux-2.4.21-4-own/include/net/tcp.h: In function `tcp_select_initial_window': /usr/src/linux-2.4.21-4-own/include/net/tcp.h:1542: warning: comparison between signed and unsigned /usr/src/linux-2.4.21-4-own/include/net/tcp.h: In function `keepalive_intvl_when': /usr/src/linux-2.4.21-4-own/include/net/tcp.h:1803: warning: signed and unsigned type in conditional expression /usr/src/linux-2.4.21-4-own/include/net/tcp.h: In function `keepalive_time_when': /usr/src/linux-2.4.21-4-own/include/net/tcp.h:1808: warning: signed and unsigned type in conditional expression /usr/src/linux-2.4.21-4-own/include/net/tcp.h: In function `tcp_fin_time': /usr/src/linux-2.4.21-4-own/include/net/tcp.h:1815: warning: comparison between signed and unsigned ipt_REJECT.c: In function `send_unreach': ipt_REJECT.c:200: warning: comparison between signed and unsigned ipt_REJECT.c:213: warning: comparison between signed and unsigned ipt_REJECT.c:238: warning: comparison between signed and unsigned gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-4-own/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium3 -DMODULE -nostdinc -iwithprefix include -DKBUILD_BASENAME=ipt_MIRROR -c -o ipt_MIRROR.o ipt_MIRROR.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-4-own/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium3 -DMODULE -nostdinc -iwithprefix include -DKBUILD_BASENAME=ipt_TOS -c -o ipt_TOS.o ipt_TOS.c ipt_TOS.c:5:42: linux/netfilter_ipv4/ipt_tos.h: No such file or directory ipt_TOS.c: In function `match': ipt_TOS.c:21: error: dereferencing pointer to incomplete type ipt_TOS.c:21: error: dereferencing pointer to incomplete type ipt_TOS.c: In function `checkentry': ipt_TOS.c:31: error: invalid application of `sizeof' to an incomplete type ipt_TOS.c: At top level: ipt_TOS.c:53: error: parse error before "sizeof" ipt_TOS.c:55: error: parse error before '->' token ipt_TOS.c:66: error: conflicting types for `checkentry' ipt_TOS.c:30: error: previous declaration of `checkentry' ipt_TOS.c: In function `checkentry': ipt_TOS.c:67: error: dereferencing pointer to incomplete type ipt_TOS.c:69: error: invalid application of `sizeof' to an incomplete type ipt_TOS.c:72: error: invalid application of `sizeof' to an incomplete type ipt_TOS.c:85: error: `IPTOS_NORMALSVC' undeclared (first use in this function) ipt_TOS.c:85: error: (Each undeclared identifier is reported only once ipt_TOS.c:85: error: for each function it appears in.) ipt_TOS.c: At top level: ipt_TOS.c:94: error: `target' undeclared here (not in a function) ipt_TOS.c:94: error: initializer element is not constant ipt_TOS.c:94: error: (near initialization for `ipt_tos_reg.target') ipt_TOS.c:97: error: redefinition of `init' ipt_TOS.c:41: error: `init' previously defined here ipt_TOS.c:105: error: redefinition of `fini' ipt_TOS.c:46: error: `fini' previously defined here ipt_TOS.c:109: error: redefinition of `init_module' ipt_TOS.c:50: error: `init_module' previously defined here ipt_TOS.c:109: error: redefinition of `__init_module_inline' ipt_TOS.c:50: error: `__init_module_inline' previously defined here ipt_TOS.c:110: error: redefinition of `cleanup_module' ipt_TOS.c:51: error: `cleanup_module' previously defined here ipt_TOS.c:110: error: redefinition of `__cleanup_module_inline' ipt_TOS.c:51: error: `__cleanup_module_inline' previously defined here ipt_TOS.c:111: error: redefinition of `__module_license' ipt_TOS.c:52: error: `__module_license' previously defined here {standard input}: Assembler messages: {standard input}:36: Error: symbol `__module_license' is already defined make[2]: *** [ipt_TOS.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.21-4-own/net/ipv4/netfilter' make[1]: *** [_modsubdir_ipv4/netfilter] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.21-4-own/net' make: *** [_mod_net] Error 2 Der Grund für diesen Kernel, ist dass ich mit meiner Auerswald-Telefonanlage mit dem 2.4.20 nicht klarkomme und als Alternative zum Vanilla-Kernel mal einen SuSE-Kernel probieren wollte. Al