netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Andres Velasco Garcia <telecom.andresvelasco@hotmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: Failed to compile libnetfilter_queeu 1.0.1 under Centos 6.2
Date: Mon, 16 Jan 2012 16:58:09 +0100	[thread overview]
Message-ID: <20120116155809.GC16285@1984> (raw)
In-Reply-To: <BLU162-W1607A553582A18B27146E4F6830@phx.gbl>

On Mon, Jan 16, 2012 at 12:22:02PM +0100, Andres Velasco Garcia wrote:
> 
> I could not find a netfilter_queue RPM for Centos 6.2 so went to compile it (after successfully installing nfnetflink RPMs). 
>  
> The error I got was:
>  
> make[1]: Entering directory `/home/dev/software/libnetfilter_queue-1.0.1/src'
>   CC     libnetfilter_queue.lo
> In file included from ../include/libnetfilter_queue/libnetfilter_queue.h:19,
>                  from libnetfilter_queue.c:34:
> ../include/libnetfilter_queue/linux_nfnetlink_queue.h:8:42: error: libnfnetlink/linux_nfnetlink.h: No such file or directory
> 
> 
> I solved it by modifying the following header:
>  
> libnetfilter_queue-1.0.1/include/libnetfilter_queue/linux_nfnetlink_queue.h
>  
> as follows: 
>  
> //#include <libnfnetlink/linux_nfnetlink.h>
> #include <linux/netfilter/nfnetlink.h>
>  
> Am I missing something?

You have to install libnfnetlink. Make sure the headers are installed
in a place where libnetfilter_queue can find them.

Alternatively:

./configure --prefix=/usr

usually provides the expected result.

  parent reply	other threads:[~2012-01-16 15:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-16 11:22 Failed to compile libnetfilter_queeu 1.0.1 under Centos 6.2 Andres Velasco Garcia
2012-01-16 12:18 ` Jan Engelhardt
2012-01-16 15:59   ` Andres Velasco Garcia
2012-01-16 15:58 ` Pablo Neira Ayuso [this message]
2012-08-30 12:45   ` Guillaume Rembert
     [not found] <CAFs09d4CPqyotppJCm4ZxYDxe6KGO5ZtTtSZztRDuXD55u5s3A@mail.gmail.com>
2012-06-29 21:36 ` David Hajoglou
2012-06-29 21:51   ` Jan Engelhardt

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=20120116155809.GC16285@1984 \
    --to=pablo@netfilter.org \
    --cc=netfilter@vger.kernel.org \
    --cc=telecom.andresvelasco@hotmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).