Hy there
It seems to me like a typo in the ip_conntrack_protocol_inregister.patch
try replace
return (i->tuplehash[IP_CT_DIR_ORIGINAL].dst.protnum ==
by
return (i->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.protnum ==
in ip_conntrack_standalone.c
then it compiles with no errors (but i don't know if it is then working
right) ;-)
Carsten
-----Ursprungliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im Auftrag von Darrell Dieringer
Gesendet: Montag, 18. Marz 2002 19:31
An: Netfilter List
Betreff: RE: this is the error i get
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of HEMANT BAANDAL
> Sent: Monday, March 18, 2002 2:49 AM
> well this time i am trying to implement iptables1.2.6a
> to the kernel 2.4.18 and now i get this error, does
> anyone have a solution for this ??
>
> make[1]: Leaving directory `/usr/src/linux-2.4.18/net'
> ip_conntrack_standalone.c: In function `kill_proto':
> ip_conntrack_standalone.c:41: structure has no member
> named `dst'
Yes, I saw the same problem. It seems to be related to a patch in
"pending-patches", though I'm not sure which one. When I build kernel
2.4.18 (having iptables and friends as modules) w/o applying anything
from the iptables patch-o-matic (iptables 1.2.6), both 'make bzImage'
and 'make modules' work perfectly - which is what we expect, of
course.
However, I tried to apply everything in "pending-patches" and got the
same error you got. Then i started over and tried to apply only some
of the things in pending-patches, and got the error again. Then I
started over and applied only a few of the things from
'pending-patches' and it worked just fine. make modules was
successful.
Unfortunately, I didn't make careful note of what I did and didn't
apply from pending-patches each time so I don't know which patch the
error is related to.
Hopefully this helps, and hopefully someone can narrow it down further
based on the (albeit limited) information I provided above.
Darrell Dieringer - Madison, WI