Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17870 - build fails in iptables (ipt_realm.c)
Summary: build fails in iptables (ipt_realm.c)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
: 17966 18549 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-03-20 07:32 UTC by Clemens Schwaighofer
Modified: 2003-09-10 01:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Clemens Schwaighofer 2003-03-20 07:32:02 UTC
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.
Comment 1 Jay Pfeifer (RETIRED) gentoo-dev 2003-03-20 16:20:54 UTC
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

Comment 2 Clemens Schwaighofer 2003-03-20 18:47:54 UTC
I can't find any CONFIG_NET_CLS_ROUTE settings, not in .config or anywhere in the Networking options.
Comment 3 Jay Pfeifer (RETIRED) gentoo-dev 2003-03-20 22:28:25 UTC
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 
Comment 4 Clemens Schwaighofer 2003-03-21 01:25:13 UTC
oh, thanx. now it works. perhaps in the help from kernel config this should be more clear
-> should this be forwarded to kernel ML?
Comment 5 Jay Pfeifer (RETIRED) gentoo-dev 2003-03-21 15:21:16 UTC
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 
Comment 6 Jay Pfeifer (RETIRED) gentoo-dev 2003-03-24 18:31:07 UTC
*** Bug 17966 has been marked as a duplicate of this bug. ***
Comment 7 Jay Pfeifer (RETIRED) gentoo-dev 2003-04-15 19:43:39 UTC
*** Bug 18549 has been marked as a duplicate of this bug. ***
Comment 8 Axxackall 2003-09-09 10:13:04 UTC
I though "make dep" should find such problems. Am I wrong?