Jump to content
Калькуляторы

Где взять ipt_netflow для ядра 2.6.31.13 ?

Из svc не собирается. :-(

 

In file included from /usr/include/asm/types.h:4,

from /lib/modules/2.6.31.13-custom/build/include/linux/types.h:4,

from ../iptables-1.4.7/include/xtables.h:15,

from ../iptables-1.4.7/include/iptables.h:5,

from libipt_NETFLOW.c:8:

/lib/modules/2.6.31.13-custom/build/include/asm-generic/int-ll64.h:11:29: error: asm/bitsperlong.h: Нет такого файла или каталога

make: *** [libipt_NETFLOW.so] Ошибка 1

Share this post


Link to post
Share on other sites
Из svc не собирается. :-(

 

In file included from /usr/include/asm/types.h:4,

from /lib/modules/2.6.31.13-custom/build/include/linux/types.h:4,

from ../iptables-1.4.7/include/xtables.h:15,

from ../iptables-1.4.7/include/iptables.h:5,

from libipt_NETFLOW.c:8:

/lib/modules/2.6.31.13-custom/build/include/asm-generic/int-ll64.h:11:29: error: asm/bitsperlong.h: Нет такого файла или каталога

make: *** [libipt_NETFLOW.so] Ошибка 1

2.6.31-gentoo-r10 собирал....

там симлинки вроде нехватает

гдето тут

ls -la /usr/src/linux-2.6.31-gentoo-r10/include/asm

lrwxrwxrwx 1 root root 7 Mar 17 10:44 /usr/src/linux-2.6.31-gentoo-r10/include/asm -> asm-x86

Share this post


Link to post
Share on other sites

Линк есть , а файла там и правда нет :-(

Может важно то, что я собираю для "64" ?

 

# ls -la /usr/src/linux/include/asm

lrwxrwxrwx 1 root root 7 Апр 14 15:16 /usr/src/linux/include/asm -> asm-x86

 

# ls -la /usr/src/linux/include/asm/

итого 16

drwxr-xr-x 2 root root 4096 Апр 14 15:07 .

drwxrwxr-x 22 root root 4096 Апр 14 15:16 ..

-rw-r--r-- 1 root root 4715 Апр 14 15:07 asm-offsets.h

Share this post


Link to post
Share on other sites

Я вроде так делал

в файле /lib/modules/2.6.31.13-custom/build/include/asm-generic/int-ll64.h

изменил

#include <asm/bitsperlong.h>

на

#include <asm-generic/bitsperlong.h>

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this