<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-2">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dzien Dobry</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Is there some error witch iproute2-050929.tar.gz
becouse when i compile I don't get tc</FONT></DIV>
<DIV><FONT face=Arial size=2>I have kernel 2.6.12.3</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>this is my log with compile</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2># make<BR>make[1]: Entering directory
`/home/src/a/04102005/iproute2-050929/lib'<BR>gcc -D_GNU_SOURCE -O2
-Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o
ll_map.o ll_map.c<BR>gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
-I../include -DRESOLVE_HOSTNAMES -c -o libnetlink.o
libnetlink.c<BR>ar rcs libnetlink.a ll_map.o libnetlink.o<BR>gcc -D_GNU_SOURCE
-O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o
utils.o utils.c<BR>gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include
-DRESOLVE_HOSTNAMES -c -o rt_names.o rt_names.c<BR>gcc -D_GNU_SOURCE
-O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o
ll_types.o ll_types.c<BR>gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
-I../include -DRESOLVE_HOSTNAMES -c -o ll_proto.o ll_proto.c<BR>gcc
-D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include
-DRESOLVE_HOSTNAMES -c -o ll_addr.o ll_addr.c<BR>gcc -D_GNU_SOURCE
-O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o
inet_proto.o inet_proto.c<BR>gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
-I../include -DRESOLVE_HOSTNAMES -c -o dnet_ntop.o
dnet_ntop.c<BR>gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include
-DRESOLVE_HOSTNAMES -c -o dnet_pton.o dnet_pton.c<BR>gcc
-D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include
-DRESOLVE_HOSTNAMES -c -o ipx_ntop.o ipx_ntop.c<BR>gcc -D_GNU_SOURCE
-O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o
ipx_pton.o ipx_pton.c<BR>ar rcs libutil.a utils.o rt_names.o ll_types.o
ll_proto.o ll_addr.o inet_proto.o dnet_ntop.o dnet_pton.o ipx_ntop.o
ipx_pton.o<BR>make[1]: Leaving directory
`/home/src/a/04102005/iproute2-050929/lib'<BR>make[1]: Entering directory
`/home/src/a/04102005/iproute2-050929/ip'<BR>gcc -D_GNU_SOURCE -O2
-Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o
ip.o ip.c<BR>gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include
-DRESOLVE_HOSTNAMES -c -o ipaddress.o ipaddress.c<BR>gcc
-D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include
-DRESOLVE_HOSTNAMES -c -o iproute.o iproute.c<BR>gcc -D_GNU_SOURCE
-O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o
iprule.o iprule.c<BR>gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
-I../include -DRESOLVE_HOSTNAMES -c -o rtm_map.o rtm_map.c<BR>gcc
-D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include
-DRESOLVE_HOSTNAMES -c -o iptunnel.o iptunnel.c<BR>gcc -D_GNU_SOURCE
-O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o
ipneigh.o ipneigh.c<BR>gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
-I../include -DRESOLVE_HOSTNAMES -c -o iplink.o iplink.c<BR>gcc
-D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include
-DRESOLVE_HOSTNAMES -c -o ipmaddr.o ipmaddr.c<BR>gcc -D_GNU_SOURCE
-O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o
ipmonitor.o ipmonitor.c<BR>gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
-I../include -DRESOLVE_HOSTNAMES -c -o ipmroute.o ipmroute.c<BR>gcc
-D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include
-DRESOLVE_HOSTNAMES -c -o ipprefix.o ipprefix.c<BR>gcc -D_GNU_SOURCE
-O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o
ipxfrm.o ipxfrm.c<BR>gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
-I../include -DRESOLVE_HOSTNAMES -c -o xfrm_state.o
xfrm_state.c<BR>gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include
-DRESOLVE_HOSTNAMES -c -o xfrm_policy.o xfrm_policy.c<BR>gcc
-D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include
-DRESOLVE_HOSTNAMES -c -o xfrm_monitor.o
xfrm_monitor.c<BR>gcc ip.o ipaddress.o iproute.o iprule.o rtm_map.o
iptunnel.o ipneigh.o iplink.o ipmaddr.o ipmonitor.o ipmroute.o ipprefix.o
ipxfrm.o xfrm_state.o xfrm_policy.o xfrm_monitor.o ../lib/libnetlink.a
../lib/libutil.a -lresolv -L../lib -lnetlink -lutil -o ip<BR>gcc
-D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include
-DRESOLVE_HOSTNAMES -c -o rtmon.o rtmon.c<BR>gcc rtmon.o
../lib/libnetlink.a ../lib/libutil.a -lresolv -L../lib -lnetlink -lutil -o
rtmon<BR>make[1]: Leaving directory
`/home/src/a/04102005/iproute2-050929/ip'<BR>make[1]: Entering directory
`/home/src/a/04102005/iproute2-050929/tc'<BR>gcc -D_GNU_SOURCE -O2
-Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT
-DCONFIG_GACT_PROB -c -o tc_core.o tc_core.c<BR>gcc -D_GNU_SOURCE
-O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT
-DCONFIG_GACT_PROB -c -o tc_red.o tc_red.c<BR>gcc -D_GNU_SOURCE -O2
-Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT
-DCONFIG_GACT_PROB -c -o tc_cbq.o tc_cbq.c<BR>gcc -D_GNU_SOURCE -O2
-Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT
-DCONFIG_GACT_PROB -c -o tc_estimator.o tc_estimator.c<BR>ar rcs
libtc.a tc_core.o tc_red.o tc_cbq.o tc_estimator.o<BR>gcc -D_GNU_SOURCE -O2
-Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT
-DCONFIG_GACT_PROB -c -o tc.o tc.c<BR>gcc -D_GNU_SOURCE -O2
-Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT
-DCONFIG_GACT_PROB -c -o tc_qdisc.o tc_qdisc.c<BR>gcc -D_GNU_SOURCE
-O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT
-DCONFIG_GACT_PROB -c -o tc_class.o tc_class.c<BR>gcc -D_GNU_SOURCE
-O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT
-DCONFIG_GACT_PROB -c -o tc_filter.o tc_filter.c<BR>gcc
-D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES
-DCONFIG_GACT -DCONFIG_GACT_PROB -c -o tc_util.o tc_util.c<BR>gcc
-D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES
-DCONFIG_GACT -DCONFIG_GACT_PROB -c -o m_police.o m_police.c<BR>gcc
-D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES
-DCONFIG_GACT -DCONFIG_GACT_PROB -c -o m_estimator.o
m_estimator.c<BR>gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include
-DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o
m_action.o m_action.c<BR>gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
-I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c
-o m_ematch.o m_ematch.c<BR><STRONG>bison -d -t -v -o emp_ematch.yacc.c
emp_ematch.y<BR>emp_ematch.y:11: unrecognized:
%error-verbose<BR>emp_ematch.y:11: Skipping to next
%<BR>make[1]: *** [emp_ematch.yacc.c] Error 1<BR></STRONG>make[1]: Leaving
directory `/home/src/a/04102005/iproute2-050929/tc'<BR>make[1]: Entering
directory `/home/src/a/04102005/iproute2-050929/misc'<BR>gcc -D_GNU_SOURCE -O2
-Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o
ss.o ss.c<BR>bison ssfilter.y -o ssfilter.c<BR>ssfilter.y contains 27
shift/reduce conflicts.<BR>gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
-I../include -DRESOLVE_HOSTNAMES -c -o ssfilter.o
ssfilter.c<BR>gcc ss.o ssfilter.o -lresolv -L../lib -lnetlink
-lutil -o ss<BR>gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include
-DRESOLVE_HOSTNAMES -o nstat nstat.c -lm<BR>gcc -D_GNU_SOURCE -O2
-Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -o ifstat
ifstat.c ../lib/libnetlink.a ../lib/libutil.a -lm<BR>gcc -D_GNU_SOURCE -O2
-Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -o rtacct
rtacct.c ../lib/libnetlink.a ../lib/libutil.a -lm<BR>gcc -D_GNU_SOURCE -O2
-Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -I/usr/include
-o arpd arpd.c ../lib/libnetlink.a ../lib/libutil.a -ldb
-lpthread<BR>arpd.c:19:20: db_185.h: No such file or directory<BR>arpd.c:42:
error: parse error before '*' token<BR>arpd.c:42: warning: type defaults to
`int' in declaration of `dbase'<BR>arpd.c:42: warning: data definition has no
type or storage class<BR>arpd.c: In function `do_one_request':<BR>arpd.c:304:
error: `DBT' undeclared (first use in this function)<BR>arpd.c:304: error: (Each
undeclared identifier is reported only once<BR>arpd.c:304: error: for each
function it appears in.)<BR>arpd.c:304: error: parse error before
"dbkey"<BR>arpd.c:308: error: request for member `sync' in something not a
structure or union<BR>arpd.c:338: error: `dbkey' undeclared (first use in this
function)<BR>arpd.c:341: error: request for member `get' in something not a
structure or union<BR>arpd.c:341: error: `dbdat' undeclared (first use in this
function)<BR>arpd.c:365: error: request for member `del' in something not a
structure or union<BR>arpd.c:391: error: request for member `put' in something
not a structure or union<BR>arpd.c:409: error: request for member `put' in
something not a structure or union<BR>arpd.c:421: error: request for member
`put' in something not a structure or union<BR>arpd.c: In function
`get_arp_pkt':<BR>arpd.c:485: error: `DBT' undeclared (first use in this
function)<BR>arpd.c:485: error: parse error before "dbkey"<BR>arpd.c:517: error:
`dbkey' undeclared (first use in this function)<BR>arpd.c:520: error: request
for member `get' in something not a structure or union<BR>arpd.c:520: error:
`dbdat' undeclared (first use in this function)<BR>arpd.c:530: error: request
for member `put' in something not a structure or union<BR>arpd.c: In function
`main':<BR>arpd.c:670: warning: implicit declaration of function
`dbopen'<BR>arpd.c:670: error: `DB_HASH' undeclared (first use in this
function)<BR>arpd.c:670: warning: assignment makes pointer from integer without
a cast<BR>arpd.c:680: error: `DBT' undeclared (first use in this
function)<BR>arpd.c:680: error: parse error before "dbkey"<BR>arpd.c:682: error:
`dbkey' undeclared (first use in this function)<BR>arpd.c:712: error: `dbdat'
undeclared (first use in this function)<BR>arpd.c:717: error: request for member
`put' in something not a structure or union<BR>arpd.c:722: error: request for
member `sync' in something not a structure or union<BR>arpd.c:728: error: parse
error before "dbkey"<BR>arpd.c:730: error: request for member `seq' in something
not a structure or union<BR>arpd.c:730: error: `R_NEXT' undeclared (first use in
this function)<BR>arpd.c:822: error: request for member `sync' in something not
a structure or union<BR>arpd.c:841: error: request for member `close' in
something not a structure or union<BR>arpd.c:845: error: request for member
`close' in something not a structure or union<BR>make[1]: *** [arpd] Error
1<BR>make[1]: Leaving directory
`/home/src/a/04102005/iproute2-050929/misc'<BR>make[1]: Entering directory
`/home/src/a/04102005/iproute2-050929/netem'<BR>gcc -Wall -O1 -I../include -o
maketable maketable.c -lm<BR>gcc -Wall -O1 -I../include -o normal normal.c
-lm<BR>gcc -Wall -O1 -I../include -o pareto pareto.c -lm<BR>gcc -Wall -O1
-I../include -o paretonormal paretonormal.c -lm<BR>./normal >
normal.dist<BR>./pareto > pareto.dist<BR>7./paretonormal >
paretonormal.dist<BR>./maketable experimental.dat >
experimental.dist<BR>make[1]: Leaving directory
`/home/src/a/04102005/iproute2-050929/netem'<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>When I do make tc in tc directry I get
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>"bison -o emp_ematch.yacc.c
emp_ematch.y<BR>emp_ematch.y:11: unrecognized:
%error-verbose<BR>emp_ematch.y:11: Skipping to next %<BR>make:
*** [emp_ematch.yacc.c] Error 1"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I hvae "bison-1.35-i386-1"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Whta I do wrong ??</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thenks for help</DIV>
<DIV><BR></DIV></FONT>
<DIV><FONT face=Arial size=2> </DIV></FONT></BODY></HTML>