Witaj !Miałem to samo. Chodzi tu o jakieś patche kernela ale nie wiem jakie (chodź budowałem dystrybucyjny).
Jak skompilować iptables dla kernela 2.4.23 z HEAD? Kompilacja (zarówno z HEAD jak i LINUX_2_4) kończy się tak:
ld -shared -o extensions/libipt_mac.so extensions/libipt_mac_sh.o i586-pld-linux-gcc -O2 -march=i586 -DNDEBUG -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.2.8\" -fPIC -o extensions/libipt_mark_sh.o -c extensions/libipt_mark.c extensions/libipt_mark.c: In function `parse': extensions/libipt_mark.c:67: structure has no member named `bit_op' extensions/libipt_mark.c:67: `IPT_MARK_BIT_OP_NONE' undeclared (first use in this function) extensions/libipt_mark.c:67: (Each undeclared identifier is reported only once extensions/libipt_mark.c:67: for each function it appears in.) extensions/libipt_mark.c:77: structure has no member named `bit_op' extensions/libipt_mark.c:77: `IPT_MARK_BIT_OP_OR' undeclared (first use in this function) extensions/libipt_mark.c:86: structure has no member named `bit_op' extensions/libipt_mark.c:86: `IPT_MARK_BIT_OP_AND' undeclared (first use in this function) extensions/libipt_mark.c: In function `print': extensions/libipt_mark.c:113: structure has no member named `bit_op' extensions/libipt_mark.c:113: `IPT_MARK_BIT_OP_AND' undeclared (first use in this function) extensions/libipt_mark.c:116: structure has no member named `bit_op' extensions/libipt_mark.c:116: `IPT_MARK_BIT_OP_OR' undeclared (first use in this function) extensions/libipt_mark.c: In function `save': extensions/libipt_mark.c:132: structure has no member named `bit_op' extensions/libipt_mark.c:134: `IPT_MARK_BIT_OP_AND' undeclared (first use in this function) extensions/libipt_mark.c:137: `IPT_MARK_BIT_OP_OR' undeclared (first use in this function) extensions/libipt_mark.c:140: `IPT_MARK_BIT_OP_NONE' undeclared (first use in this function) extensions/libipt_mark.c:135: warning: unreachable code at beginning of switch statement make: *** [extensions/libipt_mark_sh.o] Błąd 1 błąd: Bad exit status from /var/tmp/rpm-tmp.40627 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.40627 (%build)
Error: package build failed. (no more info)
By to obejść daj: --without patchedkernel
(less iptables <- opcja na samem górze).
-- "Głupota nie boli ludzi głupich za nich inni cierpią." Tomasz Rutkowski - gg 1118937
_________________________________________ http://pld-linux.org/ = faq, howto, newsy
dostales tutaj odpowiedz na swoje pytanie?
podziel sie z innymi i dopisz do FAQ!
http://pld-linux.org/FAQ/