ld -shared -o extensions/libipt_NETLINK.so extensions/libipt_NETLINK_sh.o gcc -O3 -mcpu=pentium4 -pipe -Iinclude -Wall -Wunused -I/usr/src/linux/include -DIPTABLES_VERSION=\"1.2.9\" -fPIC -o extensions/libipt_ROUTE_sh.o -c extensions/libipt_ROUTE.c extensions/libipt_ROUTE.c: In function `init': extensions/libipt_ROUTE.c:51: error: structure has no member named `flags' extensions/libipt_ROUTE.c: In function `parse': extensions/libipt_ROUTE.c:138: error: structure has no member named `flags' extensions/libipt_ROUTE.c:138: error: `IPT_ROUTE_CONTINUE' undeclared (first use in this function) extensions/libipt_ROUTE.c:138: error: (Each undeclared identifier is reported only once extensions/libipt_ROUTE.c:138: error: for each function it appears in.) extensions/libipt_ROUTE.c: In function `print': extensions/libipt_ROUTE.c:186: error: structure has no member named `flags' extensions/libipt_ROUTE.c:186: error: `IPT_ROUTE_CONTINUE' undeclared (first use in this function) extensions/libipt_ROUTE.c: In function `save': extensions/libipt_ROUTE.c:209: error: structure has no member named `flags' extensions/libipt_ROUTE.c:209: error: `IPT_ROUTE_CONTINUE' undeclared (first use in this function) make: *** [extensions/libipt_ROUTE_sh.o] Error 1 !!! ERROR: net-firewall/iptables-1.2.9 failed. !!! Function src_compile, Line 60, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. emerge -u world 2. 3. Actual Results: This is on about 3 server with diff. configs
What kernel are you using? and what does /usr/src/linux point to?
Hello Guys, Sorry for the delay but I had a couple of servers to do - the kernel thing fixed it :) Cheers, Pieter
so this is invalid .
What exactly is "the kernel thing" that fixed this problem? I have the exact same problem. /usr/src/linux -> linux-2.4.20-gentoo-r6 This doesn't really seem invalid to me.
Change your symlink to the latest kernel. It is kinda INVALID since it is not a bug, and should have been fixed by myself (Although I would like to see that Gentoo automaticly - via a setting in make.conf - upgrade my kernel)