Skip to contentSkip to conversation

IPMark won't compile on a vanilla 2.6.20 kernel

LARTC Sébastien CRAMATTE 2 participants 2 messages Apr 24, 2007

lore
Share & tools
lore
#0 lore raw

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 ?
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw
Quoted 1 line

Hello,

Hi,

Quoted 6 lines

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 member

I 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
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc