From mboxrd@z Thu Jan 1 00:00:00 1970 From: j.neuschaefer@gmx.net (Jonathan =?utf-8?Q?Neusch=C3=A4fer?=) Date: Tue, 22 May 2012 17:08:29 +0200 Subject: Why I can't compile a simple netfilter hook module? In-Reply-To: References: Message-ID: <20120522150828.GA2316@debian.debian> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Tue, May 08, 2012 at 01:07:43AM -0300, Chir0n wrote: > /home/fabio/Desktop/modules/hello.c:19:18: error: ?NF_IP_PRE_ROUTING? > undeclared (first use in this function) This symbol is declared in a section that's "only for userspace compatibility" (netfilter_ipv4.h, line 10). HTH, Jonathan Neusch?fer