Re: ipp2 won't compile with lastest iptables from git

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux