Current CVS version doesn't compile
iptables-1.2.6a-cvs020520:
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DNETFILTER_VERSIO N=\"1.2.7\" -fPIC -o extensions/libipt_REJECT_sh.o -c extensions/libipt_REJECT.cextensions/libipt_REJECT.c: In function `init':extensions/libipt_REJECT.c:92: structure has no member named `fake_source_address'extensions/libipt_REJECT.c: In function `parse':extensions/libipt_REJECT.c:128: structure has no member named `fake_source_address'extensions/libipt_REJECT.c:143: structure has no member named `fake_source_address'extensions/libipt_REJECT.c: In function `print':extensions/libipt_REJECT.c:173: structure has no member named `fake_source_address'extensions/libipt_REJECT.c:174: structure has no member named `fake_source_address'extensions/libipt_REJECT.c:174: structure has no member named `fake_source_address'extensions/libipt_REJECT.c:174: structure has no member named `fake_source_address'extensions/libipt_REJECT.c:174: structure has no member named `fake_source_address'extensions/libipt_REJECT.c: In function `save':extensions/libipt_REJECT.c:189: structure has no member named `fake_source_address'extensions/libipt_REJECT.c:190: structure has no member named `fake_source_address'extensions/libipt_REJECT.c:190: structure has no member named `fake_source_address'extensions/libipt_REJECT.c:190: structure has no member named `fake_source_address'extensions/libipt_REJECT.c:190: structure has no member named `fake_source_address'
make: *** [extensions/libipt_REJECT_sh.o] Error 1
Taka
Hello,
Quoted 7 lines · Takuya Satoh
iptables-1.2.6a-cvs020520:
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DNETFILTER_VERSIO N=\"1.2.7\" -fPIC -oextensions/libipt_REJECT_sh.o-cextensions/libipt_REJECT.cextensions/libipt_REJECT.c: In function `init':extensions/libipt_REJECT.c:92: structure has no member named `fake_source_address'
Seems like you didn't apply properly the extra/ipt_REJECT-fake-source.patch or maybe you have kernel-header package installed, the ipt_REJECT.h from kernel-header gets included rather than the /usr/src/linux/include/netfilter_ipv4/ipt_REJECT.h It works fine for me.
Have a nice day,
Fabrice.
--
Fabrice MARIE
Senior R&D Engineer
Celestix Networks
http://www.celestix.com/
"Silly hacker, root is for administrators"
-Unknown