From: Amin Azez <azez@ufomechanic.net>
To: netfilter-devel@lists.netfilter.org
Subject: Hacking iptables 1.3.5 for 2.6.17
Date: Fri, 30 Jun 2006 10:10:50 +0100 [thread overview]
Message-ID: <e82pqq$3es$1@sea.gmane.org> (raw)
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
next reply other threads:[~2006-06-30 9:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-30 9:10 Amin Azez [this message]
2006-06-30 9:48 ` Hacking iptables 1.3.5 for 2.6.17 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
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='e82pqq$3es$1@sea.gmane.org' \
--to=azez@ufomechanic.net \
--cc=netfilter-devel@lists.netfilter.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.