From: Pablo Neira Ayuso <pablo@netfilter.org>
To: "Rob Sterenborg (lists)" <lists@sterenborg.info>
Cc: netfilter@vger.kernel.org, netfilter-devel@vger.kernel.org
Subject: Re: [ANNOUNCE] libmnl 1.0.0 release
Date: Sat, 18 Dec 2010 13:40:35 +0100 [thread overview]
Message-ID: <4D0CABC3.3090601@netfilter.org> (raw)
In-Reply-To: <1292649824.2371.14.camel@kushiel.sterenborg.info>
Hi Rob,
On 18/12/10 06:23, Rob Sterenborg (lists) wrote:
> On Fri, 2010-12-17 at 15:20 +0100, Pablo Neira Ayuso wrote:
>> Hi!
>>
>> The Netfilter project presents libmnl-1.0.0
>
> Hi,
>
> I have a CentOS 5.5 base with a 2.6.36.2 kernel installed. When
> compiling libmnl I got these errors:
>
> nlmsg.c: In function 'mnl_nlmsg_fprintf_payload':
> nlmsg.c:274: error: 'NLA_TYPE_MASK' undeclared (first use in this
> function)
> nlmsg.c:274: error: (Each undeclared identifier is reported only once
> nlmsg.c:274: error: for each function it appears in.)
> nlmsg.c:290: error: 'NLA_F_NESTED' undeclared (first use in this
> function)
> nlmsg.c:292: error: 'NLA_F_NET_BYTEORDER' undeclared (first use in this
> function)
> make: *** [nlmsg.lo] Error 1
>
> NLA_TYPE_MASK is used in nlmsg.c and attr.c. Searching I found that it
> should be defined in linux/netlink.h but it's not there.
I'd appreciate if you can guess what version of the kernel header files
you're using (CentOS uses a mutant Linux kernel 2.6.18, right?).
I can make a patch based on your idea to make libmnl compile cleanly
with old Linux kernels.
next prev parent reply other threads:[~2010-12-18 12:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-17 14:20 [ANNOUNCE] libmnl 1.0.0 release Pablo Neira Ayuso
2010-12-17 14:20 ` Pablo Neira Ayuso
2010-12-18 5:23 ` Rob Sterenborg (lists)
2010-12-18 12:40 ` Pablo Neira Ayuso [this message]
2010-12-18 12:53 ` Pablo Neira Ayuso
2010-12-18 15:35 ` Jan Engelhardt
2010-12-21 20:19 ` Pablo Neira Ayuso
2010-12-21 20:22 ` David Miller
2010-12-21 20:31 ` Pablo Neira Ayuso
2010-12-22 19:52 ` Pablo Neira Ayuso
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=4D0CABC3.3090601@netfilter.org \
--to=pablo@netfilter.org \
--cc=lists@sterenborg.info \
--cc=netfilter-devel@vger.kernel.org \
--cc=netfilter@vger.kernel.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.