Skip to contentSkip to conversation

IPMark won't compile on a vanilla 2.6.20 kernel

DISCUSSION Sébastien CRAMATTE 2 participants 2 messages Apr 24, 2007 – Apr 25, 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 ?

#1 lore raw
Quoted 6 lines · Sébastien CRAMATTE

Hello,

IPMark won't compile on a vanilla 2.6.20 kernel
I obtain this error during the compilation under debian sarge 3.1

Quoted 7 lines

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'

Any ideas ?

It's simply outdated.

Jan