Skip to contentSkip to conversation

Current CVS version doesn't compile

DISCUSSION Takuya Satoh 2 participants 2 messages May 24, 2002 – Jun 14, 2002

lore
Share & tools
lore
#0 lore raw

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.c
extensions/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

#1 lore raw

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 -o extensions/libipt_REJECT_sh.o -c extensions/libipt_REJECT.c
extensions/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