| Summary: | Kernel compilation fails. | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Krist van Besien <krist> |
| Component: | [OLD] Core system | Assignee: | x86-kernel (DEPRECATED) <x86-kernel> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Could you try emerging "yacc" and regenkernel? Emerged yacc. This made no difference... Does this happen if you manually compile the kernel? And can you please attach the .config genkernel made and the one you made [if there is one] Can you please tweak your /usr/src/linux/linux-2.4.20-gentoo-r6/.config file with a text editor and add "CONFIG_CLS_NET_ROUTE=y" and see if that helps. Make sure you recompile after doing that. |
Building a kernel with genkernel fails. The logfils shows a sysntax error in a netfilter module. Reproducible: Always Steps to Reproduce: 1.emerge gentoo-sources (emerges 2.4.20-r6) 2.genkernel --config add all possible netfilter modules. 3.let it compile... Actual Results: genkernel finishes with an "abort": Gentoo Linux genkernel, version 1.4 Copyright 2003 Gentoo Technologies, Inc., Bob Johnson, Daniel Robbins Distributed under the GNU General Public License version 2 Settings: compile optimization: 1 processor(s) source tree: /usr/src/linux-2.4.20-gentoo-r6 config: gentoo (customized) config loc: /etc/kernels/config-2.4.20-gentoo-r6 initrd config: (default) /etc/kernels/settings * Running "make oldconfig"... [ ok ] * Logging to /var/log/genkernel.log... [ ok ] * Starting 2.4.20-gentoo-r6 build... [ ok ] * Running "make dep"... [ ok ] * Running "make bzImage"... [ ok ] * Running "make modules"... : aborting. In the logfile I found the following: ipt_realm.c: In function `match': ipt_realm.c:29: structure has no member named `tclassid' make[2]: *** [ipt_realm.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r6/net/ipv4/netfilter' make[1]: *** [_modsubdir_ipv4/netfilter] Error 2 make[1]: *** Waiting for unfinished jobs.... Expected Results: A kernel and its modules should have compiled... I had exactly the same problem with the gentoo kernel 2.4.20-r5. doing a "make modules" in the linux sourcedir produces the same error. I assume this error is due to either: - A patch gentoo applies - the config genkernel generates...