All of lore.kernel.org
 help / color / mirror / Atom feed
* Hacking iptables 1.3.5 for 2.6.17
@ 2006-06-30  9:10 Amin Azez
  2006-06-30  9:48 ` Yasuyuki KOZAKAI
       [not found] ` <200606300948.k5U9mNot001866@toshiba.co.jp>
  0 siblings, 2 replies; 10+ messages in thread
From: Amin Azez @ 2006-06-30  9:10 UTC (permalink / raw)
  To: netfilter-devel

Whats the official way to add extra extensions targets extensions/Makefile?

I generally patch extensions/Makefile to add to PF_EXT_SLIB, like
PF_EXT_SLIB+=new_extension

but then I get complaints about it being listed twice. Is there a neater
way to express extra extensions to the Makefile?

Also;

I don't think this problem is specific to iptables, but general to
building anything against a kernel.

If a kernel is built with the -O=dir option to place build files outside
of the source tree, then version.h, autoconf.h and compile.h are written
to dir/include/linux instead of src/include/linux

This means that
make KERNEL_DIR=src
is not enough, as dir also needs to be in the search path (or dir/include)

Probably it needs to be before KERNEL_DIR in the search path.



Sam

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-06-30 16:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-30  9:10 Hacking iptables 1.3.5 for 2.6.17 Amin Azez
2006-06-30  9:48 ` Yasuyuki KOZAKAI
     [not found] ` <200606300948.k5U9mNot001866@toshiba.co.jp>
     [not found]   ` <44A50091.7070003@ufomechanic.net>
2006-06-30 11:57     ` Yasuyuki KOZAKAI
2006-06-30 12:40       ` xtables " Amin Azez
2006-06-30 12:51         ` Sam Liddicott
2006-06-30 14:39         ` Patrick McHardy
2006-06-30 15:55           ` Amin Azez
2006-06-30 16:08             ` Patrick McHardy
2006-06-30 16:28               ` Amin Azez
2006-06-30 16:37                 ` 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.