не собирается iproute2

emerge iproute2
.....

n file included from ../include/libiptc/libiptc.h:6,
from ../include/iptables.h:5,
from m_ipt.c:20:
../include/linux/netfilter_ipv4/ip_tables.h:20:38: error: linux/netfilter/x_tables.h: No such file or directory
In file included from ../include/libiptc/libiptc.h:6,
from ../include/iptables.h:5,
from m_ipt.c:20:
../include/linux/netfilter_ipv4/ip_tables.h:87: error: field 'counters' has incomplete type
../include/linux/netfilter_ipv4/ip_tables.h:115:39: error: linux/netfilter/xt_tcpudp.h: No such file or directory
../include/linux/netfilter_ipv4/ip_tables.h:144: error: 'XT_FUNCTION_MAXNAMELEN' undeclared here (not in a function)
In file included from m_ipt.c:20:
../include/iptables.h:56: warning: 'struct xt_entry_match' declared inside parameter list
../include/iptables.h:56: warning: its scope is only this definition or declaration, which is probably not what you want
../include/iptables.h:63: warning: 'struct xt_entry_match' declared inside parameter list
../include/iptables.h:70: warning: 'struct xt_entry_match' declared inside parameter list
../include/iptables.h:74: warning: 'struct xt_entry_match' declared inside parameter list
m_ipt.c: In function 'build_st':
m_ipt.c:356: error: invalid application of 'sizeof' to incomplete type 'struct xt_entry_target'
m_ipt.c:360: error: dereferencing pointer to incomplete type
m_ipt.c:364: error: dereferencing pointer to incomplete type
m_ipt.c:368: error: dereferencing pointer to incomplete type
m_ipt.c: In function 'parse_ipt':
m_ipt.c:499: error: dereferencing pointer to incomplete type
m_ipt.c: In function 'print_ipt':
m_ipt.c:547: error: dereferencing pointer to incomplete type
m_ipt.c:559: error: dereferencing pointer to incomplete type
make[1]: *** [m_ipt.o] Error 1
rm emp_ematch.lex.c emp_ematch.yacc.c
make[1]: Leaving directory `/var/tmp/portage/iproute2-2.6.19.20061214/work/iproute2-2.6.19-061214/tc'
make: *** [all] Error 2

!!! ERROR: sys-apps/iproute2-2.6.19.20061214 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
iproute2-2.6.19.20061214.ebuild, line 69: Called die

!!! make
!!! If you need support, post the topmost build error, and the call stack if relevant.

--------------

хотя
locate x_tables.h
/usr/src/linux-2.6.17-gentoo-r8/include/linux/netfilter/x_tables.h

locate xt_tcpudp.h
/usr/src/linux-2.6.17-gentoo-r8/include/linux/netfilter/xt_tcpudp.h

что может быть? куда копать?

... если amd64, то

... если amd64, то копать в http://bugs.gentoo.org/show_bug.cgi?id=158599 ...

зы: ... насколько понял нужен новый linux-headers ...

респект и

респект и уважуха :)
снкс, помогло :)

la

emerge linux-headers
emerge iproute2

хидеры ставить

хидеры ставить ненадо, их вытягивает glibc

Таки да,

Таки да, установка linux-headers помогла. А то уж и не знал что думать... всем спасибо!

...

...

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".