kernel 2.4.20 gentoo rc2 fails with iptables as modules gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-gentoo-r2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O3 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-gentoo-r2/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=ipt_realm -c -o ipt_realm.o ipt_realm.c 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-r2/net/ipv4/netfilter' make[1]: *** [_modsubdir_ipv4/netfilter] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r2/net' make: *** [_mod_net] Error 2 Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0) ================================================================= System uname: 2.4.20-gentoo-r1 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb:/usr/kde/3.1/share/config:/usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="oss 3dnow apm avi cups encode gif mikmod mpeg pdflib quicktime spell xmms xv gdbm arts svga guile sdl esd imlib oggvorbis qt motif opengl mozilla canna freewnn alsa crypt doc mmx ncurses nls pam perl X ssl sasl python apache2 mysql postgres gd gpm imap kde -kerberos -ldap -odbc ipv6 java jpeg libg++ libwww maildir mbox png readline samba slang snmp sse tcpd truetype wmf xml xml2 zlib x86 berkdb gnome gtk gtk2" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" Reproducible: Always Steps to Reproduce: 1. make dep && make clean bzImage modules modules_install 2. 3.
from the docs w/ gentoo-2.4.20-r2 (specific file XX_iptables-realm ): ~ THIS PATCH REQUIRES CONFIG_NET_CLS_ROUTE TO BE SET ~ Enable it and you will be able to compile the module. Jay
I can't find any CONFIG_NET_CLS_ROUTE settings, not in .config or anywhere in the Networking options.
if using 'make menuconfig' Networking options ---> QoS and/or fair queueing ---> [*] QoS and/or fair queueing <down a few options...> [*] Packet classifier API (NEW) <M> Routing table based classifier <--- that's it :) Have a good one, Jay
oh, thanx. now it works. perhaps in the help from kernel config this should be more clear -> should this be forwarded to kernel ML?
no, this should not be forwarded to lkml. this is a realm is not part of the base and is from netfilter.org - they are aware of the issue. Thanks, Jay
*** Bug 17966 has been marked as a duplicate of this bug. ***
*** Bug 18549 has been marked as a duplicate of this bug. ***
I though "make dep" should find such problems. Am I wrong?