esfq & htb

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I just upgraded to kernel 2.6.2 patched with IMQ-NAT patch & ESFQ from Jim
diGriz's QoS Script and now I need to patch iproutefor esfq and the latest
HTB patch. I grabbed iproute2-2.4.7-now-ss010824.tar.gz and I applied the
folowinf patches:
iproute2-2.2.4-now-ss001007-esfq.diff and htb3.6_tc.diff

I did set the corect path in Makefile pointing to
/usr/src/linux-2.6.2/include and when I do "make" I get this:

make[1]: Entering directory `/work/new/iproute2/lib'
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -Werror -g -I../include-glib
c -include
../include-glibc/glibc-bugs.h -I/usr/src/linux-2.6.2/include -I../include -D
RESOLVE_HOSTNAMES   -c -o ll_map.o ll_map.c
In file included from /usr/src/linux-2.6.2/include/linux/compiler.h:16,
                 from /usr/src/linux-2.6.2/include/asm/byteorder.h:5,
                 from /usr/src/linux-2.6.2/include/linux/in.h:241,
                 from ../include-glibc/netinet/in.h:7,
                 from ll_map.c:19:
/usr/src/linux-2.6.2/include/linux/compiler-gcc3.h:19:1:
"__attribute_used__" redefined
In file included from /usr/include/features.h:291,
                 from ../include-glibc/glibc-bugs.h:4,
                 from <command line>:1:
/usr/include/sys/cdefs.h:192:1: this is the location of the previous
definition
In file included from /usr/src/linux-2.6.2/include/linux/compiler.h:16,
                 from /usr/src/linux-2.6.2/include/asm/byteorder.h:5,
                 from /usr/src/linux-2.6.2/include/linux/in.h:241,
                 from ../include-glibc/netinet/in.h:7,
                 from ll_map.c:19:
/usr/src/linux-2.6.2/include/linux/compiler-gcc3.h:22:1:
"__attribute_pure__" redefined
In file included from /usr/include/features.h:291,
                 from ../include-glibc/glibc-bugs.h:4,
                 from <command line>:1:
/usr/include/sys/cdefs.h:183:1: this is the location of the previous
definition
make[1]: *** [ll_map.o] Error 1
make[1]: Leaving directory `/work/new/iproute2/lib'
make: *** [all] Error 2

My config is RH9 with gcc-3.2.2-5 and glibc-2.3.2-27.9

Any solutions in this case?

Another thing: I have a squid server setup with equalize load-balancing over
3 internet links and it runs on kernel 2.4.23. I know that for the 2.4.X
kernel I had to apply a patch for equalize to work at packet level and not
at connection level. For kernel 2.6.2 is it included (I don;t think so...)
or do I have to get another patch. If so, from where?

++++++++++++++++++++++++++++++++
Alex Iruc
++++++++++++++++++++++++++++++++
Administrator Retea
LG-NET
http://www.hostingcenter.ro
Suport Tehnic: admin@xxxxxxxxxxxxxxxx
Marketing:       office@xxxxxxxxxxxxxxxx
++++++++++++++++++++++++++++++++


_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux