On Sun, May 17, 2009 at 9:43 PM, Bartek Dolewski dol...@gmail.com wrote:
Thanks guys for help. Now I`ve rewrited whole code based on
xt_iprange.c file from net/netfilter/
There is still some error messages, which does not provide me any
usefull information. For example
this is my file
-- Forwarded message --
From: Bartek Dolewski dol...@gmail.com
Date: 2009/5/17
Subject: Re: Cannot compile my Xtables module
To: pradeep singh pradeep.raut...@gmail.com
Thanks guys for help. Now I`ve rewrited whole code based on
xt_iprange.c file from net/netfilter
There should not be st_mtdtor in line 102, it should be xt_mtdtor (i
think). Apart from there, I suggest you use proper typecast when you
dereferenct void *. For example, in line 80, you should assign
par-matchinfo to info with proper typecasting (of type struct
xt_ipaddr_mtinfo *). Hope that
On Wed, Apr 22, 2009 at 12:55 PM, Vishal Thanki vishaltha...@gmail.com wrote:
There should not be st_mtdtor in line 102, it should be xt_mtdtor (i
think). Apart from there, I suggest you use proper typecast when you
dereferenct void *. For example, in line 80, you should assign
par-matchinfo
Hi there,
I guess this is more c programming trouble than kernel code but
maybe I`m wrong.
I`ve started with Netfilter/Xtables stuff so I write below code using
some resources. When I type make I can see these error messages:
LD /media/ubuntu/home/bartek/ModuĊy/iptables/built-in.o
CC [M]