Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "SŽébastien Cramatte" <scramatte@zensoluciones.com>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: netfilter@vger.kernel.org
Subject: Re: ipp2 won't compile with lastest  iptables from  git
Date: Fri, 04 Jul 2008 21:29:06 +0200	[thread overview]
Message-ID: <486E7A02.20107@zensoluciones.com> (raw)
In-Reply-To: <alpine.LNX.1.10.0807042120040.31959@fbirervta.pbzchgretzou.qr>

This what I've done but ...

I can't compile xtables-addons with a 2.6.25.10 kernel
I get the latest sources from git  and  my setup my kernel before to 
include CONFIG_NF_CONNTRACK modules and dependencies.


/usr/src/xtables-addons#./configure --with-kbuild=/usr/src/linux 
--with-ksource=/usr/src/linux --with-xtables=/usr/src/xtables/
/usr/src/xtables-addons# make
make  all-recursive
make[1]: Entering directory `/usr/src/xtables-addons'
Making all in extensions
make[2]: Entering directory `/usr/src/xtables-addons/extensions'
make -C /usr/src/linux M=/usr/src/xtables-addons/extensions 
XA_TOPSRCDIR=/usr/src/xtables-addons modules;
make[3]: Entering directory 
`/usr/src/etch-router-0.5.1/linux/linux-2.6.25.10'
  CC [M]  /usr/src/xtables-addons/extensions/xt_LOGMARK.o
In file included from /usr/src/xtables-addons/extensions/xt_LOGMARK.c:17:
/usr/src/xtables-addons/extensions/compat_xtables.h:14:4: warning: 
#warning You have CONFIG_NF_CONNTRACK enabled, but 
CONFIG_NF_CONNTRACK_MARK or CONFIG_NF_CONNTRACK_SECMARK are not (please 
enable).
/usr/src/xtables-addons/extensions/xt_LOGMARK.c: In function 'logmark_tg':
/usr/src/xtables-addons/extensions/xt_LOGMARK.c:45: error: 'struct 
sk_buff' has no member named 'secmark'
make[4]: *** [/usr/src/xtables-addons/extensions/xt_LOGMARK.o] Error 1
make[3]: *** [_module_/usr/src/xtables-addons/extensions] Error 2
make[3]: Leaving directory 
`/usr/src/etch-router-0.5.1/linux/linux-2.6.25.10'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/xtables-addons/extensions'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/xtables-addons'
make: *** [all] Error 2

Jan Engelhardt escribió:
> On Friday 2008-07-04 21:11, S?ébastien Cramatte wrote:
>   
>>>> I've applied the ipp2p patch from  patch-o-matic  git  ... When I open
>>>> libipt_ipp2.c it seems that the source already has the required change for
>>>> iptables 1.4.x ... biut unfortuanteley doesn't works for me !
>>>>     
>>>>         
>>> Because pom-ng is old and not updated.
>>>   
>>>       
>> Yes ! But my problem is that I must package a kernel that use
>> initramfs with all included modules. As pom-ng patch the kernel
>> source was nice for me ...
>> Moreover I can't use Xtables-addons directly because I compile on  dedicaded
>> box that use another kernel than the target !
>>     
>
> If it's just that, then that's easy:
>
> 1. compile kernel with appropriate cross-compiler
> 2. compile xtables-addons, pointing it to the kernel dir
>    (you may need to specify the cross-compiler again if you did so in
>    step 1)
> 3. profit.
> 4. copy .ko files into initramfs image.
>
> Something missing?
>
>   
>> My target box boot from Compact Flash to memory and doesn't have  development
>> tools installed !
>>     
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>   


  reply	other threads:[~2008-07-04 19:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-04 15:33 ipp2 won't compile with lastest iptables from git SŽébastien Cramatte
2008-07-04 16:46 ` Jan Engelhardt
2008-07-04 19:11   ` SŽébastien Cramatte
2008-07-04 19:25     ` Jan Engelhardt
2008-07-04 19:29       ` SŽébastien Cramatte [this message]
2008-07-04 20:17         ` Jan Engelhardt
2008-07-04 20:26           ` SŽébastien Cramatte

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=486E7A02.20107@zensoluciones.com \
    --to=scramatte@zensoluciones.com \
    --cc=jengelh@medozas.de \
    --cc=netfilter@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox