Re: Compile problem - iproute with ESFQ patch

Linux Advanced Routing and Traffic Control

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

 



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


> 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.c
> q_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 / LARTC@xxxxxxxxxxxxxxx
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
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