Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167097 - sys-apps/iproute2-2.6.19.20061214 error compilling in 2.4.x kernels (hardened linux)
Summary: sys-apps/iproute2-2.6.19.20061214 error compilling in 2.4.x kernels (hardened...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 167463 167848 168028 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-15 19:31 UTC by shpac
Modified: 2007-02-22 19:33 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shpac 2007-02-15 19:31:51 UTC
on the system installed iproute2 ver: 2.6.16.20060323,
update to sys-apps/iproute2-2.6.19.20061214 fails.



Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge sys-apps/iproute2
Comment 1 shpac 2007-02-15 19:33:01 UTC
i386-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -march=pentium4 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o m_ipt.o m_ipt.c
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:20:38: 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: 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
i386-pc-linux-gnu-gcc -D_GNU_SOURCE -O2 -march=pentium4 -pipe -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB   -c -o m_pedit.o m_pedit.c
m_ipt.c: In function `build_st':
m_ipt.c:356: error: invalid application of `sizeof' to incomplete type `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
make[1]: *** Waiting for unfinished jobs....
rm emp_ematch.lex.c emp_ematch.yacc.c
make[1]: Leaving directory `/var/tmp/portage/sys-apps/iproute2-2.6.19.20061214/work/iproute2-2.6.19-061214/tc'
make: *** [all] Error 2
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-15 21:28:57 UTC
Your kernel headers version sucks, upgrade it.

*** This bug has been marked as a duplicate of bug 158599 ***
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2007-02-16 15:43:32 UTC
IMHO this is no duplicate of bug #158599 as the reporter there has a system with linux-headers-2.6.x/kernel-2.6.x running and not linux-headers-2.4.x/kernel-2.4.x.
When I upgrade my default-linux/x86/no-nptl/2.4 profiled system to the latest available ~x86 linux-headers, I'm still unable to compile iproute2-2.6.19.20061214 with the exact same errormessage posted by the initial reporter here...

shpac, If I were you, I'd reopen this bug.

Cheers
Poly-C
Comment 4 shpac 2007-02-17 15:33:17 UTC
kernel headers - are latest for 2.4.x hardened tree:

sys-kernel/linux-headers-2.4.26-r1

may by iprouter2 too new for 2.4 kernels and shout be masked (like fuse sys-fs/fuse-2.6.0 for 2.4.x kernels?)

Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-02-17 15:49:38 UTC
Maybe you just shouldn't use 2.4 profile.
Comment 6 SpanKY gentoo-dev 2007-02-17 16:29:37 UTC
no ... try kernel-headers-2.4.33.1 ... if those dont work, use the 2.6 headers
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2007-02-17 16:58:08 UTC
Wow, you REALLY care much about 2.4-profile...

by the way... default-linux/x86/no-nptl/2.4 profile doesn't allow me to install linux-headers-2.6.x
Comment 8 SpanKY gentoo-dev 2007-02-17 17:02:50 UTC
yeah that mask should prob be dropped

using 2.6 headers on a 2.4 kernel is generally safe
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-02-18 11:47:32 UTC
*** Bug 167463 has been marked as a duplicate of this bug. ***
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2007-02-21 09:12:16 UTC
*** Bug 167848 has been marked as a duplicate of this bug. ***
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-02-22 19:33:46 UTC
*** Bug 168028 has been marked as a duplicate of this bug. ***