[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150602194216.GT12550@lakka.kapsi.fi>
Date: Tue, 2 Jun 2015 22:42:16 +0300
From: Mikko Rapeli <mikko.rapeli@....fi>
To: Jozsef Kadlecsik <kadlec@...ckhole.kfki.hu>
Cc: linux-kernel@...r.kernel.org,
Pablo Neira Ayuso <pablo@...filter.org>,
Patrick McHardy <kaber@...sh.net>,
netfilter-devel@...r.kernel.org, coreteam@...filter.org,
linux-api@...r.kernel.org
Subject: Re: [PATCH 67/98]
include/uapi/linux/netfilter/ipset/ip_set_bitmap.h: include
linux/netfilter/ipset/ip_set.h
On Sun, May 31, 2015 at 08:15:48PM +0200, Jozsef Kadlecsik wrote:
> On Sat, 30 May 2015, Mikko Rapeli wrote:
>
> > Fixes userspace compilation error:
> >
> > error: ?IPSET_ERR_TYPE_SPECIFIC? undeclared here (not in a function)
> > IPSET_ERR_BITMAP_RANGE = IPSET_ERR_TYPE_SPECIFIC,
>
> What kind of userspace compilation generates the error message above? How
> can one reproduce it?
Here's the test which reproduces this https://lkml.org/lkml/2015/5/30/98
Should run on at least Debian based distributions and some cross compilers.
In the end the script generates a .c file which includes only this header file
and tries to compile it with a call like:
cc -Wall -c -nostdinc -I /usr/lib/gcc/i586-linux-gnu/4.9/include -I /usr/lib/gcc/i586-linux-gnu/4.9/include-fixed -I . -I ../headers_compile_test_include -I ../headers_compile_test_include/i586-linux-gnu ./linux/netfilter/ipset/ip_set_bitmap.c
-Mikko
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists