i tried to build iptables yesterday, i am using 2.6.0, and it didnt build, not the same errors as you though, iptables version 1.2.7 builds just fine.
On Mon, 2003-12-29 at 13:50, Alexander Puchmayr wrote: > Hi there! > > I've tried to emerge iptables-1.2.8 with kernel-source tree of 2.6.0 in > /usr/src/linux, and it failed with some undeclared symbols: > > emerge iptables > Calculating dependencies ...done! > >>> emerge (1 of 1) net-firewall/iptables-1.2.8-r1 to / > >>> md5 src_uri ;-) iptables-1.2.8.tar.bz2 > >>> Unpacking source... > >>> Unpacking iptables-1.2.8.tar.bz2 to > /var/tmp/portage/iptables-1.2.8-r1/work > * Applying various patches (bugfixes/updates)... > * 01_all_grsecurity.patch.bz2... [ ok ] > * 02_all_imq.patch.bz2... [ ok ] > * Done with patching > >>> Source unpacked. > Making dependencies: please wait... > In file included from /usr/src/linux/include/linux/compiler.h:16, > from /usr/src/linux/include/asm/bitops.h:9, > from /usr/src/linux/include/linux/bitops.h:4, > from > /usr/src/linux/include/linux/netfilter_ipv4/ip_conntrack.h:9, > from > /usr/src/linux/include/linux/netfilter_ipv4/ip_nat_rule.h:3, > from extensions/libipt_NETMAP.c:12: > /usr/src/linux/include/linux/compiler-gcc3.h:19:1: warning: > "__attribute_used__" redefined > > [Lot of more redefined "__attribute_used__" skipped] > > gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -mfpmath=sse -msse -mmmx > -m3dnow -funroll-all-loops -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 57, Exitcode 2 > !!! (no error message) > > > Intresting: When re-linking /usr/src/linux to some 2.4.x-Kernelsourcetree it > works fine, and the resulting iptables-executeable seems to work properly > with a 2.6.0-Kernel. > > Does anyone else have this incompatibility of iptables build and kernel > 2.6-Sourcetree?? > > Thanks > Alex -- Regards, Redeeman () ascii ribbon campaign - against html e-mail /\ - against microsoft attachments -- [EMAIL PROTECTED] mailing list
