Summary: | iproute -r4 fail to compile with 2.4.22 headers | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Guy Martin (RETIRED) <gmsoft> |
Component: | [OLD] Core system | Assignee: | Daniel Ahlberg (RETIRED) <aliz> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | russell, vapier |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | iproute diff for 2.4.22 headers against iproute -r4 |
Description
Guy Martin (RETIRED)
2003-11-25 17:01:58 UTC
Created attachment 21295 [details, diff]
iproute diff for 2.4.22 headers against iproute -r4
This diff is quite huge but it contains many little change like __u32 ->
uint32_t to avoid some problems in #included files.
Vanilla iproute compiles well for me with 2.4.23 kernel headers (on hppa). I get the following messages (with kernel headers 2.4.22): e-glibc/glibc-bugs.h -I/usr/include -DRESOLVE_HOSTNAMES -c -o libnetlink.o libnetlink.c In file included from ../include-glibc/netinet/in.h:7, from ll_map.c:19: /usr/include/linux/in.h:140: error: field `gr_group' has incomplete typeIn file included from ../include-glibc/netinet/in.h:7, from libnetlink.c:20: /usr/include/linux/in.h:140: error: field `gr_group' has incomplete type /usr/include/linux/in.h:146: error: field `gsr_group' has incomplete type /usr/include/linux/in.h:147: error: field `gsr_source' has incomplete type /usr/include/linux/in.h:153: error: field `gf_group' has incomplete type /usr/include/linux/in.h:156: error: field `gf_slist' has incomplete type /usr/include/linux/in.h:146: error: field `gsr_group' has incomplete type /usr/include/linux/in.h:147: error: field `gsr_source' has incomplete type /usr/include/linux/in.h:153: error: field `gf_group' has incomplete type /usr/include/linux/in.h:156: error: field `gf_slist' has incomplete type make[1]: *** [ll_map.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [libnetlink.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/iproute-20010824-r4/work/iproute2/lib' make: *** [all] Error 2 Is there a workaround ? I have managed to install sys-apps/iproute-20010824-r4 with sys-kernel/linux-headers-2.6.1 (after coming across the same problem as you when I had sys-kernel/linux-headers-2.4.x) Is this an IPv6 issue? Are my comments pointless? |