From: "ManyX" <manyx@poczta.fm>
To: lartc@vger.kernel.org
Subject: [LARTC] iproute2-050929 ERORR compiling
Date: Tue, 04 Oct 2005 09:19:32 +0000 [thread overview]
Message-ID: <001501c5c8c4$bba20570$0a0aa7c0@mx> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 11054 bytes --]
Dzien Dobry
Is there some error witch iproute2-050929.tar.gz becouse when i compile I don't get tc
I have kernel 2.6.12.3
this is my log with compile
# make
make[1]: Entering directory `/home/src/a/04102005/iproute2-050929/lib'
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o ll_map.o ll_map.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o libnetlink.o libnetlink.c
ar rcs libnetlink.a ll_map.o libnetlink.o
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o utils.o utils.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o rt_names.o rt_names.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o ll_types.o ll_types.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o ll_proto.o ll_proto.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o ll_addr.o ll_addr.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o inet_proto.o inet_proto.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o dnet_ntop.o dnet_ntop.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o dnet_pton.o dnet_pton.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o ipx_ntop.o ipx_ntop.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o ipx_pton.o ipx_pton.c
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
make[1]: Leaving directory `/home/src/a/04102005/iproute2-050929/lib'
make[1]: Entering directory `/home/src/a/04102005/iproute2-050929/ip'
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o ip.o ip.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o ipaddress.o ipaddress.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o iproute.o iproute.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o iprule.o iprule.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o rtm_map.o rtm_map.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o iptunnel.o iptunnel.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o ipneigh.o ipneigh.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o iplink.o iplink.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o ipmaddr.o ipmaddr.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o ipmonitor.o ipmonitor.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o ipmroute.o ipmroute.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o ipprefix.o ipprefix.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o ipxfrm.o ipxfrm.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o xfrm_state.o xfrm_state.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o xfrm_policy.o xfrm_policy.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o xfrm_monitor.o xfrm_monitor.c
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
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o rtmon.o rtmon.c
gcc rtmon.o ../lib/libnetlink.a ../lib/libutil.a -lresolv -L../lib -lnetlink -lutil -o rtmon
make[1]: Leaving directory `/home/src/a/04102005/iproute2-050929/ip'
make[1]: Entering directory `/home/src/a/04102005/iproute2-050929/tc'
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
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
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
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
ar rcs libtc.a tc_core.o tc_red.o tc_cbq.o tc_estimator.o
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o tc.o tc.c
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
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
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
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
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
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
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
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
bison -d -t -v -o emp_ematch.yacc.c emp_ematch.y
emp_ematch.y:11: unrecognized: %error-verbose
emp_ematch.y:11: Skipping to next %
make[1]: *** [emp_ematch.yacc.c] Error 1
make[1]: Leaving directory `/home/src/a/04102005/iproute2-050929/tc'
make[1]: Entering directory `/home/src/a/04102005/iproute2-050929/misc'
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o ss.o ss.c
bison ssfilter.y -o ssfilter.c
ssfilter.y contains 27 shift/reduce conflicts.
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -c -o ssfilter.o ssfilter.c
gcc ss.o ssfilter.o -lresolv -L../lib -lnetlink -lutil -o ss
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -o nstat nstat.c -lm
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -o ifstat ifstat.c ../lib/libnetlink.a ../lib/libutil.a -lm
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -o rtacct rtacct.c ../lib/libnetlink.a ../lib/libutil.a -lm
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
arpd.c:19:20: db_185.h: No such file or directory
arpd.c:42: error: parse error before '*' token
arpd.c:42: warning: type defaults to `int' in declaration of `dbase'
arpd.c:42: warning: data definition has no type or storage class
arpd.c: In function `do_one_request':
arpd.c:304: error: `DBT' undeclared (first use in this function)
arpd.c:304: error: (Each undeclared identifier is reported only once
arpd.c:304: error: for each function it appears in.)
arpd.c:304: error: parse error before "dbkey"
arpd.c:308: error: request for member `sync' in something not a structure or union
arpd.c:338: error: `dbkey' undeclared (first use in this function)
arpd.c:341: error: request for member `get' in something not a structure or union
arpd.c:341: error: `dbdat' undeclared (first use in this function)
arpd.c:365: error: request for member `del' in something not a structure or union
arpd.c:391: error: request for member `put' in something not a structure or union
arpd.c:409: error: request for member `put' in something not a structure or union
arpd.c:421: error: request for member `put' in something not a structure or union
arpd.c: In function `get_arp_pkt':
arpd.c:485: error: `DBT' undeclared (first use in this function)
arpd.c:485: error: parse error before "dbkey"
arpd.c:517: error: `dbkey' undeclared (first use in this function)
arpd.c:520: error: request for member `get' in something not a structure or union
arpd.c:520: error: `dbdat' undeclared (first use in this function)
arpd.c:530: error: request for member `put' in something not a structure or union
arpd.c: In function `main':
arpd.c:670: warning: implicit declaration of function `dbopen'
arpd.c:670: error: `DB_HASH' undeclared (first use in this function)
arpd.c:670: warning: assignment makes pointer from integer without a cast
arpd.c:680: error: `DBT' undeclared (first use in this function)
arpd.c:680: error: parse error before "dbkey"
arpd.c:682: error: `dbkey' undeclared (first use in this function)
arpd.c:712: error: `dbdat' undeclared (first use in this function)
arpd.c:717: error: request for member `put' in something not a structure or union
arpd.c:722: error: request for member `sync' in something not a structure or union
arpd.c:728: error: parse error before "dbkey"
arpd.c:730: error: request for member `seq' in something not a structure or union
arpd.c:730: error: `R_NEXT' undeclared (first use in this function)
arpd.c:822: error: request for member `sync' in something not a structure or union
arpd.c:841: error: request for member `close' in something not a structure or union
arpd.c:845: error: request for member `close' in something not a structure or union
make[1]: *** [arpd] Error 1
make[1]: Leaving directory `/home/src/a/04102005/iproute2-050929/misc'
make[1]: Entering directory `/home/src/a/04102005/iproute2-050929/netem'
gcc -Wall -O1 -I../include -o maketable maketable.c -lm
gcc -Wall -O1 -I../include -o normal normal.c -lm
gcc -Wall -O1 -I../include -o pareto pareto.c -lm
gcc -Wall -O1 -I../include -o paretonormal paretonormal.c -lm
./normal > normal.dist
./pareto > pareto.dist
7./paretonormal > paretonormal.dist
./maketable experimental.dat > experimental.dist
make[1]: Leaving directory `/home/src/a/04102005/iproute2-050929/netem'
When I do make tc in tc directry I get
"bison -o emp_ematch.yacc.c emp_ematch.y
emp_ematch.y:11: unrecognized: %error-verbose
emp_ematch.y:11: Skipping to next %
make: *** [emp_ematch.yacc.c] Error 1"
I hvae "bison-1.35-i386-1"
Whta I do wrong ??
Thenks for help
[-- Attachment #1.2: Type: text/html, Size: 13380 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next reply other threads:[~2005-10-04 9:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-04 9:19 ManyX [this message]
2005-10-04 9:27 ` [LARTC] iproute2-050929 ERORR compiling Dominik Werder
2005-10-04 19:44 ` Stephen Hemminger
2005-10-05 7:47 ` Krzysiek
2005-10-05 16:14 ` Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001501c5c8c4$bba20570$0a0aa7c0@mx' \
--to=manyx@poczta.fm \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.