All of lore.kernel.org
 help / color / mirror / Atom feed
From: j.neuschaefer@gmx.net (Jonathan Neuschäfer)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Why I can't compile a simple netfilter hook module?
Date: Tue, 22 May 2012 17:08:29 +0200	[thread overview]
Message-ID: <20120522150828.GA2316@debian.debian> (raw)
In-Reply-To: <CAC_t5gCuNMTT_t3T7Qbsk=WLKUQLU26ZMJRD6PM6PnFMbQEakw@mail.gmail.com>

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

      parent reply	other threads:[~2012-05-22 15:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-08  4:07 Why I can't compile a simple netfilter hook module? Chir0n
2012-05-08  4:19 ` rohan puri
2012-05-08 13:40   ` Dexter
2012-05-08 14:01 ` rohan puri
2012-05-22  4:38 ` 回复: " c265n46
2012-05-22 15:08 ` Jonathan Neuschäfer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120522150828.GA2316@debian.debian \
    --to=j.neuschaefer@gmx.net \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.