Compile problem - iproute with ESFQ patch
Hello,
I've problem with compiling iproute with ESFQ patch. Kernel is patched with ESFQ, recompiled. iproute package is also patched with ESFQ, but during compiling I get message
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include -I../include-glibc -include ../include-glibc/glibc-bugs.h -I/usr/include
-DRESOLVE_HOSTNAMES -c -o q_esfq.o q_esfq.cq_esfq.c: In function `esfq_parse_opt':
q_esfq.c:45: structure has no member named hash_kind' q_esfq.c:45: TCA_SFQ_HASH_CLASSIC' undeclared (first use in this function) ...<deleted>...
Only reachable kernel sources contains patched file kernel-headers-2.4.23/include/linux/pkt_sched.h, it defines structure 'tc_sfq_qopt' with member 'hash_kind'. None other file with this structure definition exists :-(
Do you know where is problem?
Thanks
Patrick Spousta
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hi Patrick,
# savo "old" header cp /usr/include/linux/pkt_sched.h /usr/include/linux/pkt_sched.h.XXX
# place actual header from kernel tree in the /usr/include/linux cp /usr/src/linux/include/linux/pkt_sched.h /usr/include/linux
and then compile the stuff.
iproute2 package is searching the header in /usr/include and NOT in the actual kernel-includes.
This was my solution, hope this helps
Toni
Quoted 18 lines
Hello,
I've problem with compiling iproute with ESFQ patch. Kernel is patched with ESFQ, recompiled. iproute package is also patched with ESFQ, but during compiling I get messagegcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include
(quoted diff) +0
-2-I../include-glibc -include ../include-glibc/glibc-bugs.h -I/usr/include -DRESOLVE_HOSTNAMES -c -o q_esfq.o q_esfq.c
q_esfq.c: In function `esfq_parse_opt':
q_esfq.c:45: structure has no member namedhash_kind' q_esfq.c:45:TCA_SFQ_HASH_CLASSIC' undeclared (first use in this function) ...<deleted>...Only reachable kernel sources contains patched file
kernel-headers-2.4.23/include/linux/pkt_sched.h, it defines structure 'tc_sfq_qopt' with member 'hash_kind'. None other file with this structure definition exists :-(
Quoted 8 lines
Do you know where is problem?
Thanks
Patrick Spousta_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/