I hope this is a bug and not my buggy system. Here's the log: -<cut>- ./include -DRESOLVE_HOSTNAMES -c -o q_htb.o q_htb.c q_htb.c:28: #error "Different kernel and TC HTB versions" q_htb.c: In function `htb_parse_opt': q_htb.c:61: storage size of `opt' isn't known q_htb.c:94: `TCA_HTB_INIT' undeclared (first use in this function) q_htb.c:94: (Each undeclared identifier is reported only once q_htb.c:94: for each function it appears in.) q_htb.c:61: warning: unused variable `opt' q_htb.c: In function `htb_parse_class_opt': q_htb.c:102: storage size of `opt' isn't known q_htb.c:209: `TCA_HTB_PARMS' undeclared (first use in this function) q_htb.c:210: `TCA_HTB_RTAB' undeclared (first use in this function) q_htb.c:211: `TCA_HTB_CTAB' undeclared (first use in this function) q_htb.c:102: warning: unused variable `opt' q_htb.c: In function `htb_print_opt': q_htb.c:218: `TCA_HTB_RTAB' undeclared (first use in this function) q_htb.c:218: size of array `tb' has non-integer type q_htb.c:231: `TCA_HTB_PARMS' undeclared (first use in this function) q_htb.c:234: dereferencing pointer to incomplete type q_htb.c:236: dereferencing pointer to incomplete type q_htb.c:237: dereferencing pointer to incomplete type q_htb.c:239: dereferencing pointer to incomplete type q_htb.c:241: dereferencing pointer to incomplete type q_htb.c:242: dereferencing pointer to incomplete type q_htb.c:242: dereferencing pointer to incomplete type q_htb.c:243: dereferencing pointer to incomplete type q_htb.c:244: dereferencing pointer to incomplete type q_htb.c:244: dereferencing pointer to incomplete type q_htb.c:247: dereferencing pointer to incomplete type q_htb.c:247: dereferencing pointer to incomplete type q_htb.c:249: dereferencing pointer to incomplete type q_htb.c:249: dereferencing pointer to incomplete type q_htb.c:250: dereferencing pointer to incomplete type q_htb.c:257: dereferencing pointer to incomplete type q_htb.c:257: dereferencing pointer to incomplete type q_htb.c:259: `TCA_HTB_INIT' undeclared (first use in this function) q_htb.c:261: dereferencing pointer to incomplete type q_htb.c:264: dereferencing pointer to incomplete type q_htb.c:264: dereferencing pointer to incomplete type q_htb.c:264: dereferencing pointer to incomplete type q_htb.c:266: dereferencing pointer to incomplete type q_htb.c:266: dereferencing pointer to incomplete type q_htb.c: In function `htb_print_xstats': q_htb.c:277: dereferencing pointer to incomplete type q_htb.c:282: dereferencing pointer to incomplete type q_htb.c:282: dereferencing pointer to incomplete type q_htb.c:282: dereferencing pointer to incomplete type q_htb.c:283: dereferencing pointer to incomplete type q_htb.c:283: dereferencing pointer to incomplete type make[1]: *** [q_htb.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/iproute2-2.4.7-r2/work/iproute2/tc' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 1, Exitcode 2 !!! (no error message) ...done!
Should be fixed in sys-apps/iproute-r1 (iproute2 deprecated)