Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24987 - iptables-1.2.8-r1 doesn't compile under kernel-2.6.0-test1
Summary: iptables-1.2.8-r1 doesn't compile under kernel-2.6.0-test1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
: 25009 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-07-21 12:19 UTC by Attila Kesmarki
Modified: 2003-08-26 05:12 UTC (History)
2 users (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 Attila Kesmarki 2003-07-21 12:19:00 UTC
I can't emerge iptables with the latest stock kernel. (kernel headers changed ?) 
 
The last messages of the compilation process: 
 
.... 
ld -shared -o extensions/libipt_owner.so extensions/libipt_owner_sh.o 
gcc -march=athlon-xp -m3dnow -O3 -pipe -fomit-frame-pointer -fforce-addr 
-funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4 
-fprefetch-loop-arrays -frename-registers -Wall -Wunused -I/usr/src/linux/include 
-Iinclude/ -DIPTABLES_VERSION=\"1.2.8\"  -fPIC -o extensions/libipt_physdev_sh.o -c 
extensions/libipt_physdev.c 
extensions/libipt_physdev.c: In function `parse': 
extensions/libipt_physdev.c:86: `IPT_PHYSDEV_OP_MATCH_IN' undeclared (first use in 
this function) 
extensions/libipt_physdev.c:86: (Each undeclared identifier is reported only once 
extensions/libipt_physdev.c:86: for each function it appears in.) 
extensions/libipt_physdev.c:97: `IPT_PHYSDEV_OP_MATCH_OUT' undeclared (first use 
in this function) 
extensions/libipt_physdev.c: In function `print': 
extensions/libipt_physdev.c:144: `IPT_PHYSDEV_OP_MATCH_IN' undeclared (first use 
in this function) 
extensions/libipt_physdev.c:146: `IPT_PHYSDEV_OP_MATCH_OUT' undeclared (first 
use in this function) 
extensions/libipt_physdev.c: In function `save': 
extensions/libipt_physdev.c:156: `IPT_PHYSDEV_OP_MATCH_IN' undeclared (first use 
in this function) 
extensions/libipt_physdev.c:158: `IPT_PHYSDEV_OP_MATCH_OUT' undeclared (first 
use in this function) 
make: *** [extensions/libipt_physdev_sh.o] Error 1 
 
!!! ERROR: net-firewall/iptables-1.2.8-r1 failed. 
!!! Function src_compile, Line 55, Exitcode 2 
!!! (no error message) 
 
 

Reproducible: Always
Steps to Reproduce:
1. download, compile and install  the 2.6.0-test1 kernel  from www.kernel.org 
2. emerge iptables 
 
Actual Results:  
see details
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-07-21 15:56:16 UTC
*** Bug 25009 has been marked as a duplicate of this bug. ***
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2003-07-23 02:22:27 UTC
Besides that it does not compile, preexisting versions do not work well with at least the REDIRECT extension, and I suspect others too. The current cvs version does work.
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2003-08-26 05:12:18 UTC
Closing as a kernel header incompatibility problem. Resolution: CVS version works.