gcc -D_GNU_SOURCE -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -D_LINUX_BYTEORDER_LITTLE_ENDIAN_H -D_LINUX_BYTEORDER_BIG_ENDIAN_H -Wstrict-prototypes -Wall -g -I../include -include ../include-glibc/glibc-bugs.h -I/usr/include -DRESOLVE_HOSTNAMES -c -o q_htb.o q_htb.c q_htb.c:28:2: #error "Different kernel and TC HTB versions" ar rcs libtc.a tc_core.o tc_red.o tc_cbq.o tc_estimator.o q_htb.c: En la funci
gcc -D_GNU_SOURCE -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -D_LINUX_BYTEORDER_LITTLE_ENDIAN_H -D_LINUX_BYTEORDER_BIG_ENDIAN_H -Wstrict-prototypes -Wall -g -I../include -include ../include-glibc/glibc-bugs.h -I/usr/include -DRESOLVE_HOSTNAMES -c -o q_htb.o q_htb.c q_htb.c:28:2: #error "Different kernel and TC HTB versions" ar rcs libtc.a tc_core.o tc_red.o tc_cbq.o tc_estimator.o q_htb.c: En la función `htb_parse_opt': q_htb.c:61: error: storage size of `opt' isn't known q_htb.c:94: error: `TCA_HTB_INIT' undeclared (first use in this function) q_htb.c:94: error: (Each undeclared identifier is reported only once q_htb.c:94: error: for each function it appears in.) q_htb.c:61: aviso: unused variable `opt' q_htb.c: En la función `htb_parse_class_opt': q_htb.c:102: error: storage size of `opt' isn't known q_htb.c:209: error: `TCA_HTB_PARMS' undeclared (first use in this function) q_htb.c:210: error: `TCA_HTB_RTAB' undeclared (first use in this function) q_htb.c:211: error: `TCA_HTB_CTAB' undeclared (first use in this function) q_htb.c:102: aviso: unused variable `opt' q_htb.c: En la función `htb_print_opt': q_htb.c:218: error: `TCA_HTB_RTAB' undeclared (first use in this function) q_htb.c:231: error: `TCA_HTB_PARMS' undeclared (first use in this function) q_htb.c:234: error: dereferencing pointer to incomplete type q_htb.c:236: error: dereferencing pointer to incomplete type q_htb.c:237: error: dereferencing pointer to incomplete type q_htb.c:239: error: dereferencing pointer to incomplete type q_htb.c:241: error: dereferencing pointer to incomplete type q_htb.c:242: error: dereferencing pointer to incomplete type q_htb.c:242: error: dereferencing pointer to incomplete type q_htb.c:243: error: dereferencing pointer to incomplete type q_htb.c:244: error: dereferencing pointer to incomplete type q_htb.c:244: error: dereferencing pointer to incomplete type q_htb.c:247: error: dereferencing pointer to incomplete type q_htb.c:247: error: dereferencing pointer to incomplete type q_htb.c:249: error: dereferencing pointer to incomplete type q_htb.c:249: error: dereferencing pointer to incomplete type q_htb.c:250: error: dereferencing pointer to incomplete type q_htb.c:257: error: dereferencing pointer to incomplete type q_htb.c:257: error: dereferencing pointer to incomplete type q_htb.c:259: error: `TCA_HTB_INIT' undeclared (first use in this function) q_htb.c:261: error: dereferencing pointer to incomplete type q_htb.c:264: error: dereferencing pointer to incomplete type q_htb.c:264: error: dereferencing pointer to incomplete type q_htb.c:264: error: dereferencing pointer to incomplete type q_htb.c:266: error: dereferencing pointer to incomplete type q_htb.c:266: error: dereferencing pointer to incomplete type q_htb.c:218: aviso: unused variable `tb' q_htb.c: En la función `htb_print_xstats': q_htb.c:277: error: dereferencing pointer to incomplete type q_htb.c:282: error: dereferencing pointer to incomplete type q_htb.c:282: error: dereferencing pointer to incomplete type q_htb.c:282: error: dereferencing pointer to incomplete type q_htb.c:283: error: dereferencing pointer to incomplete type q_htb.c:283: error: dereferencing pointer to incomplete type make[1]: *** [q_htb.o] Error 1 make[1]: *** Se espera a que terminen otras tareas.... make[1]: Leaving directory `/var/tmp/portage/iproute-20010824-r5/work/iproute2/tc' make: *** [all] Error 2 !!! ERROR: sys-apps/iproute-20010824-r5 failed. !!! Function src_compile, Line 72, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1) ================================================================= System uname: 2.6.3-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1500MHz Gentoo Base System version 1.4.3.13 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.caliu.info/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bonobo cdr crypt cups directfb dvd encode esd foomaticdb gdbm gif gpm gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tetex tiff truetype x86 xml2 xmms xv zlib" I have version [20010824-r4] installed and did not have any problems with it.
I have been reading on the forums and maybe the solution is emerging the new kernel headers, recompile glibc (seems to be necessary after changing the kernel headers) and emerging iproute again. Can someone confirm this ? Is there a dependancy to the kernel headers missing in iproute ?
what version of kernel headers do you have installed ? i doubt you have to re-emerge glibc since TC_HTB_PROTOVER is defined in a kernel header file, not a glibc header file
The glibc re-emerging would be part of the kernel-headers update. If I need to update the kernel-headers to fix the iproute problem (I still don't know if this is true), i have read that it is recommended to recompile glibc so that the kernel headers glibcis compiled with match the kernel headers that are installed.
Sorry I forgot to answer the question first. Here it goes: sys-kernel/linux-headers Latest version available: 2.4.21-r1 Latest version installed: 2.4.19-r1
I just emerged linux-headers 2.4.22 (had 2.4.19) and iproute now compiles fine.
2.4.19 isnt even in portage anymore :p update your kernel-headers and then try to update iproute and yes, sometimes you should rebuild glibc against new headers, but you shouldnt have to inorder to emerge iproute with the new headers
It worked. Thanks. Updated the kernel-headers and emerged iproute successfully.
*** Bug 47725 has been marked as a duplicate of this bug. ***
should this be closed before at least putting a dependency in iproute that it needs the new kernel-headers?
update your portage tree and you'll see i already updated DEPEND :P
yep! after kernel-headers update all work 8) thnks
*** Bug 47897 has been marked as a duplicate of this bug. ***