From: Amin Azez Subject: Re: How does iptables 'make' pick which modules to compile? Date: Wed, 07 Feb 2007 15:29:27 +0000 Message-ID: <45C9F057.4050603@ufomechanic.net> References: <20070207115459.l45qqpib288cwg0g@www.simplelists.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: netfilter-devel@lists.netfilter.org To: Andrew Beverley Return-path: In-Reply-To: <20070207115459.l45qqpib288cwg0g@www.simplelists.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org * Andrew Beverley wrote, On 07/02/07 11:54: > Hi, > > I'm trying to get iptables 1.3.7 to compile with kernel 2.6.17.4 > > Some of the modules are not even attempted to be made, so I was wondering what > it is in the make cycle that decides which modules it should try and build? > > I get "Making dependencies: please wait...", each module is then compiled but > some are missed out. Is this because the make does not think it has all the > headers needed to compile them? > > I had a similar problem with 1.3.6 and fixed this by adding a KERNEL_DIR > environment variable to make; however, this does not seem to help this time. > Look for .files (files beginning with a . ) in the extension directory. These test files signal that a module can be build, by returning with a 0 (normal) exit code. Sam