Názor k článku HTB - jemný úvod od David - Mam taky problem, najprv som skusal skompilovat iproute2...

  • Článek je starý, nové názory již nelze přidávat.
  • 26. 9. 2003 9:59

    David (neregistrovaný)

    Mam taky problem, najprv som skusal skompilovat iproute2 balicek, ale ten vykazal problem hned pri prvom kompilovani. Kernel som pouzil 2.4.22

    root@firewall:~/iproute2-old# make
    make[1]: Entering directory `/root/iproute2-old/lib'
    gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include-glibc -I/usr/include/db3 -include ../include-glibc/glibc-bugs.h -I/usr/src/linux/include -I../include -DRESOLVE_HOSTNAMES -c -o ll_map.o ll_map.c
    In file included from ../include-glibc/netinet/in.h:7,
    from ll_map.c:19:
    /usr/src/linux/include/linux/in.h:140: field `gr_group' has incomplete type
    /usr/src/linux/include/linux/in.h:146: field `gsr_group' has incomplete type
    /usr/src/linux/include/linux/in.h:147: field `gsr_source' has incomplete type
    /usr/src/linux/include/linux/in.h:153: field `gf_group' has incomplete type
    /usr/src/linux/include/linux/in.h:156: field `gf_slist' has incomplete type
    make[1]: *** [ll_map.o] Error 1
    make[1]: Leaving directory `/root/iproute2-old/lib'
    make: *** [all] Error 2
    root@firewall:~/iproute2-old#

    tak som pouzil kernel 2.4.20 a tam uz tc slo skompilovat v pohode. Ked som vsak tc skompilovat vyhodilo to dalsiu chybu pri pokuse nahodit HTB na eth0 interface

    root@firewall:~/iproute2-old/tc# ./tc qdisc add dev eth0 root handle 1:0 htb default 14
    Unknown qdisc "htb", hence option "default" is unparsable
    root@firewall:~/iproute2-old/tc#

    dokaze mi niekto poradit, co som bud zrobil zle, alebo co by sa s tym dalo spravit???