Incerc sa instalez iproute2-2.6.9 + patch esfq 2.0 pe un debian woody
proaspat instalat ... kernel 2.4.28 ...
Problema e ca imi da urmataorea eroare :
make[1]: Entering directory `/home/src/iproute2-2.6.9/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/src/iproute2-2.6.9/lib'
make[1]: Entering directory `/home/src/iproute2-2.6.9/ip'
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include
-DRESOLVE_HOSTNAMES -c -o ipxfrm.o ipxfrm.c
ipxfrm.c: In function `xfrm_selector_print':
ipxfrm.c:395: `IPPROTO_SCTP' undeclared (first use in this function)
ipxfrm.c:395: (Each undeclared identifier is reported only once
ipxfrm.c:395: for each function it appears in.)
ipxfrm.c: In function `xfrm_selector_upspec_parse':
ipxfrm.c:790: `IPPROTO_SCTP' undeclared (first use in this function)
make[1]: *** [ipxfrm.o] Error 1
make[1]: Leaving directory `/home/src/iproute2-2.6.9/ip'
make[1]: Entering directory `/home/src/iproute2-2.6.9/tc'
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include
-DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -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)
q_esfq.c:45: (Each undeclared identifier is reported only once
q_esfq.c:45: for each function it appears in.)
q_esfq.c:91: structure has no member named `hash_kind'
q_esfq.c:94: structure has no member named `hash_kind'
q_esfq.c:94: `TCA_SFQ_HASH_DST' undeclared (first use in this function)
q_esfq.c:97: structure has no member named `hash_kind'
q_esfq.c:97: `TCA_SFQ_HASH_SRC' undeclared (first use in this function)
q_esfq.c: In function `esfq_print_opt':
q_esfq.c:140: structure has no member named `hash_kind'
q_esfq.c:142: `TCA_SFQ_HASH_CLASSIC' undeclared (first use in this function)
q_esfq.c:145: `TCA_SFQ_HASH_DST' undeclared (first use in this function)
q_esfq.c:148: `TCA_SFQ_HASH_SRC' undeclared (first use in this function)
q_esfq.c:143: warning: unreachable code at beginning of switch statement
make[1]: *** [q_esfq.o] Error 1
make[1]: Leaving directory `/home/src/iproute2-2.6.9/tc'
make[1]: Entering directory `/home/src/iproute2-2.6.9/misc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/src/iproute2-2.6.9/misc'
daca ma uit in /usr/src/linux/include/linux/pkt_sched.h gasesc :
/* SFQ section */
enum
{
TCA_SFQ_HASH_CLASSIC,
TCA_SFQ_HASH_DST,
TCA_SFQ_HASH_SRC,
};
struct tc_sfq_qopt
{
unsigned quantum; /* Bytes per round allocated to flow */
int perturb_period; /* Period of hash perturbation */
__u32 limit; /* Maximal packets in queue */
unsigned divisor; /* Hash divisor */
unsigned flows; /* Maximal number of flows */
unsigned hash_kind; /* Hash function to use for
flow identification */
};
deci sunt declarate.
Am o problema la include ... cum o rezolv ?
Am incercat sa bag inca un -I/usr/src/linux/include in Makefileu
iproutelui dar degeaba !
Sugestii ?
---
Detalii despre listele noastre de mail: http://www.lug.ro/