Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36345 - Can't compile iptables 1.2.9
Summary: Can't compile iptables 1.2.9
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-22 22:16 UTC by Pieter De Wit
Modified: 2004-01-28 19:52 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 Pieter De Wit 2003-12-22 22:16:40 UTC
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
Comment 1 Daniel Ahlberg (RETIRED) gentoo-dev 2004-01-03 12:31:53 UTC
What kernel are you using?  and what does /usr/src/linux point to?
Comment 2 Pieter De Wit 2004-01-08 22:17:17 UTC
Hello Guys,

Sorry for the delay but I had a couple of servers to do - the kernel thing fixed it :)

Cheers,

Pieter
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2004-01-22 05:47:37 UTC
so this is invalid .
Comment 4 James Rose 2004-01-28 12:30:20 UTC
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.
Comment 5 Pieter De Wit 2004-01-28 19:52:59 UTC
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)