Hello, IPMark won''t compile on a vanilla 2.6.20 kernel I obtain this error during the compilation under debian sarge 3.1 CC [M] net/ipv4/netfilter/ipt_TTL.o CC [M] net/ipv4/netfilter/ipt_IPMARK.o net/ipv4/netfilter/ipt_IPMARK.c: In function `target'': net/ipv4/netfilter/ipt_IPMARK.c:37: error: structure has no member named `nfmark'' net/ipv4/netfilter/ipt_IPMARK.c:38: error: structure has no member named `nfmark'' net/ipv4/netfilter/ipt_IPMARK.c: At top level: net/ipv4/netfilter/ipt_IPMARK.c:77: warning: initialization from incompatible pointer type net/ipv4/netfilter/ipt_IPMARK.c:81: warning: initialization from incompatible pointer type make[4]: *** [net/ipv4/netfilter/ipt_IPMARK.o] Error 1 make[3]: *** [net/ipv4/netfilter] Error 2 make[2]: *** [net/ipv4] Error 2 make[1]: *** [net] Error 2 make[1]: Leaving directory `/usr/src/sarge-router-0.3.2/linux/linux-2.6.20.7'' Any ideas ?
Marek Kierdelewicz
2007-Apr-24 14:18 UTC
Re: IPMark won''t compile on a vanilla 2.6.20 kernel
>Hello,Hi,>IPMark won''t compile on a vanilla 2.6.20 kernel >I obtain this error during the compilation under debian sarge 3.1 >.. > CC [M] net/ipv4/netfilter/ipt_IPMARK.o >net/ipv4/netfilter/ipt_IPMARK.c: In function `target'': >net/ipv4/netfilter/ipt_IPMARK.c:37: error: structure has no memberI think that IPMARK isn''t maintained for some time now. If you need IPMARK for shaping upload (most probable scenario), then use IFB + hashing u32 filters instead. Works for me. pozdrawiam, Marek Kierdelewicz KoBa ISP