What is wrong ???
Hi list,
Why do I get these errors when I compile my new kernel ???
net/ipv4/netfilter/ipt_ipv4options.c:161: warning: initialization from incompatible pointer type
net/ipv4/netfilter/ipt_IPV4OPTSSTRIP.c: In function `target':net/ipv4/netfilter/ipt_IPV4OPTSSTRIP.c:33: warning: implicit declaration of function `skb_ip_make_writable' net/ipv4/netfilter/ipt_IPV4OPTSSTRIP.c: At top level:net/ipv4/netfilter/ipt_IPV4OPTSSTRIP.c:72: warning: initialization from incompatible pointer type net/ipv4/netfilter/ipt_IPV4OPTSSTRIP.c:73: warning: initialization from incompatible pointer type
WARNING: "skb_ip_make_writable" [net/ipv4/netfilter/ipt_IPV4OPTSSTRIP.ko] undefined! make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.19.2'
make: *** [debian/stamp-build-kernel] Error 2
kernel: 2.6.19.2
iptables: 1.3.7
POM-ng: 20070121
Swifty
Quoted 1 line · Gáspár Lajos
POM-ng: 20070121
Did you try without pom?
Marco Berizzi írta:
Quoted 10 lines
Quoted 2 lines · Gáspár Lajos
POM-ng: 20070121
Did you try without pom?
Yes... And it works without it.... But I need TARPIT support....
Quoted 1 line
Yes... And it works without it.... But I need TARPIT support....
The compilation process complains about ipt_IPV4OPTSTRIP which is not the same as ipt_TARPIT.
You could try leaving ipt_IPV4OPTSTRIP out: you don't have to apply *all* patches...
Grts,
Rob
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 1 line
Yes... And it works without it.... But I need TARPIT support....
AFAIK netfilter has been heavely modified between 2.6.1 and 2.6.19 so I think that POM modules wouldn't work as is.
Maybe others on this list may help you.
Well, I don't know if this post will help you but I found some problems compiling the kernel in the 2.6 series. My solution was install the compatibility package for gcc 3.2 (the actual version (in my system) is 4.1.1 - for gcc - and then compile using gcc 3.2.
Hope this helps.
Jorge Davila.
Quoted 19 lines · On Mon, 22 Jan 2007 11:52:43 +0100 Gáspár Lajos <[email protected]> wrote:
Hi list,
Why do I get these errors when I compile my new kernel ???
net/ipv4/netfilter/ipt_ipv4options.c:161: warning: initialization from incompatible pointer type
net/ipv4/netfilter/ipt_IPV4OPTSSTRIP.c: In function `target':net/ipv4/netfilter/ipt_IPV4OPTSSTRIP.c:33: warning: implicit declaration of function `skb_ip_make_writable'net/ipv4/netfilter/ipt_IPV4OPTSSTRIP.c: At top level:net/ipv4/netfilter/ipt_IPV4OPTSSTRIP.c:72: warning: initialization from incompatible pointer typenet/ipv4/netfilter/ipt_IPV4OPTSSTRIP.c:73: warning: initialization from incompatible pointer typeWARNING: "
skb_ip_make_writable" [net/ipv4/netfilter/ipt_IPV4OPTSSTRIP.ko] undefined! make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.19.2'
make: *** [debian/stamp-build-kernel] Error 2
Quoted 6 lines
kernel: 2.6.19.2
iptables: 1.3.7
POM-ng: 20070121Swifty
Jorge Isaac Davila Lopez
Nicaragua Open Source
[email protected]
Jorge Davila írta:
Quoted 4 lines
Well, I don't know if this post will help you but I found some problems compiling the kernel in the 2.6 series. My solution was install the compatibility package for gcc 3.2 (the actual version (in my system) is 4.1.1 - for gcc - and then compile using gcc 3.2.
Hope this helps.
Thanx... I haven't tried yet....
Quoted 1 line
Jorge Davila.
I have just applied TARPIT and u32 with pom-ng and now it goes...
The only warning is the "initialization from incompatible pointer type"... Something changed in the kernel and the pom-ng is not up to date...
Swifty