Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20721 - can't make gentoo-sources-2.4.20-r4 netfilter module
Summary: can't make gentoo-sources-2.4.20-r4 netfilter module
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal major (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-09 17:37 UTC by Carsten Lohrke (RETIRED)
Modified: 2003-05-09 21:19 UTC (History)
0 users

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 Carsten Lohrke (RETIRED) gentoo-dev 2003-05-09 17:37:19 UTC
i'm fine with gentoo kernel v2.4.19 for now, but i experienced this error with
2.4.20r2 and now with r4. (athlonxp/gcc 3.2.2)

--

make -C ipv4 modules
make[2]: Entering directory `/usr/src/linux-2.4.20-gentoo-r4/net/ipv4'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r4/net/ipv4'
make -C ipv4/netfilter modules
make[2]: Entering directory `/usr/src/linux-2.4.20-gentoo-r4/net/ipv4/netfilter'
make[2]: Circular
/usr/src/linux-2.4.20-gentoo-r4/include/linux/netfilter_ipv4/ip_conntrack_helper.h
<- /usr/src/linux-2.4.20-gentoo-r4/include/linux/netfilter_ipv4/ip_conntrack.h
dependency dropped.
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-gentoo-r4/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.20-gentoo-r4/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-r4/net/ipv4/netfilter'
make[1]: *** [_modsubdir_ipv4/netfilter] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r4/net'
make: *** [_mod_net] Error 2
Comment 1 Jay Pfeifer (RETIRED) gentoo-dev 2003-05-09 20:45:41 UTC
did you read the docs?  do a 'make menuconfig', go to help on the realm module. it is *clearly* 
listed that you must select 3 things. 
 
Just FYI - Here is what it says: 
 
  ???????????????????????? realm match support (NEW) 
  ? CONFIG_IP_NF_MATCH_REALM: 
 
  ? This option adds a `realm' match, which allows you to use the realm 
  ? key from the routing subsytem inside iptables. 
 
  ? This match pretty much resembles the CONFIG_NET_CLS_ROUTE4 option 
  ? in tc world. 
 
  ? You must compile in support for CONFIG_NET_CLS_ROUTE4 or this will fail 
  ? This is found here: 
  ? Networking options ---> 
  ? QoS and/or fair queueing  ---> 
  ? [ ] QoS and/or fair queueing <--- This is required 
  ? <down a few options...> 
  ? [ ]   Packet classifier API (NEW) <--- This is required 
  ? < > Routing table based classifier  <--- that's it :) 
 
  ? If you want to compile it as a module, say M here and read 
  ? Documentation/modules.txt.  If unsure, say `N'. 
 
 
Jay 
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2003-05-09 21:19:24 UTC
uh - ouch - thx 
 
i'm sorry, that i bothered you with this :(