* kernel-source required?
@ 2008-01-09 17:30 Jan Engelhardt
2008-01-10 9:22 ` Yasuyuki KOZAKAI
[not found] ` <200801100922.m0A9MW2Z011677@toshiba.co.jp>
0 siblings, 2 replies; 3+ messages in thread
From: Jan Engelhardt @ 2008-01-09 17:30 UTC (permalink / raw)
To: kaber; +Cc: Netfilter Developer Mailing List
Hi,
just now as an IRC user posted about a compilation error, the only
situation that I could think of to load to this error was a missing
kernel source tree.
Since many Xtables header files are copied to the iptables source tree,
yet `make KERNEL_DIR=somethinginvalid` gives a compiler error because it
cannot find <linux/compiler.h> (required by ip_tables.h).
So I wonder, do we actually support building iptables without a
kernel source tree?
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: kernel-source required?
2008-01-09 17:30 kernel-source required? Jan Engelhardt
@ 2008-01-10 9:22 ` Yasuyuki KOZAKAI
[not found] ` <200801100922.m0A9MW2Z011677@toshiba.co.jp>
1 sibling, 0 replies; 3+ messages in thread
From: Yasuyuki KOZAKAI @ 2008-01-10 9:22 UTC (permalink / raw)
To: jengelh; +Cc: kaber, netfilter-devel
From: Jan Engelhardt <jengelh@computergmbh.de>
Date: Wed, 9 Jan 2008 18:30:36 +0100 (CET)
> just now as an IRC user posted about a compilation error, the only
> situation that I could think of to load to this error was a missing
> kernel source tree.
> Since many Xtables header files are copied to the iptables source tree,
> yet `make KERNEL_DIR=somethinginvalid` gives a compiler error because it
> cannot find <linux/compiler.h> (required by ip_tables.h).
I wonder why recent (at least, Fedora Core 7) distributed kernel header
package for user programs does not include /usr/include/linux/compiler.h .
> So I wonder, do we actually support building iptables without a
> kernel source tree?
I prefer to keep people easy to try newer iptables as possible.
We can add include/linux/compiler.h to iptables or remove __user, etc. from
headers of iptables.
-- Yasuyuki Kozakai
^ permalink raw reply [flat|nested] 3+ messages in thread[parent not found: <200801100922.m0A9MW2Z011677@toshiba.co.jp>]
* Re: kernel-source required?
[not found] ` <200801100922.m0A9MW2Z011677@toshiba.co.jp>
@ 2008-01-10 15:50 ` Patrick McHardy
0 siblings, 0 replies; 3+ messages in thread
From: Patrick McHardy @ 2008-01-10 15:50 UTC (permalink / raw)
To: Yasuyuki KOZAKAI; +Cc: jengelh, netfilter-devel
Yasuyuki KOZAKAI wrote:
> From: Jan Engelhardt <jengelh@computergmbh.de>
> Date: Wed, 9 Jan 2008 18:30:36 +0100 (CET)
>
>> just now as an IRC user posted about a compilation error, the only
>> situation that I could think of to load to this error was a missing
>> kernel source tree.
>> Since many Xtables header files are copied to the iptables source tree,
>> yet `make KERNEL_DIR=somethinginvalid` gives a compiler error because it
>> cannot find <linux/compiler.h> (required by ip_tables.h).
>
> I wonder why recent (at least, Fedora Core 7) distributed kernel header
> package for user programs does not include /usr/include/linux/compiler.h .
Debian doesn't have it either.
>> So I wonder, do we actually support building iptables without a
>> kernel source tree?
>
> I prefer to keep people easy to try newer iptables as possible.
> We can add include/linux/compiler.h to iptables or remove __user, etc. from
> headers of iptables.
Or simply define the missing annotations in xtables.h.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-10 15:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-09 17:30 kernel-source required? Jan Engelhardt
2008-01-10 9:22 ` Yasuyuki KOZAKAI
[not found] ` <200801100922.m0A9MW2Z011677@toshiba.co.jp>
2008-01-10 15:50 ` Patrick McHardy
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.