Skip to contentSkip to conversation

iproute2 2.6.14-051107

LARTC Damjan 4 participants 6 messages Nov 9, 2005 – Nov 22, 2005

lore
Share & tools
lore

Damjan

author
#0 lore raw
Quoted 3 lines

Update to iproute2 is available. Most of the changes were to repair the things that broke with the introduction of the batch mode to the ip command.

	http://developer.osdl.org/dev/iproute2/download/iproute2-2.6.14-051107.tar.gz

I'm getting this error when trying to compile on Slackware-10.2. The version of bison is 1.35.

make[1]: Entering directory `/home/damjan/src/iproute2-2.6.14-051107/tc' 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

Signature · 6 lines
damjan | дамјан
This is my jabber ID --> [email protected] <-- not my mail address!!!
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#1 lore raw
Quoted 4 lines · On Wed, 9 Nov 2005 17:34:33 +0100 Damjan <[email protected]> wrote:
Quoted 3 lines

Update to iproute2 is available. Most of the changes were to repair the things that broke with the introduction of the batch mode to the ip command.

	http://developer.osdl.org/dev/iproute2/download/iproute2-2.6.14-051107.tar.gz
Quoted 10 lines

I'm getting this error when trying to compile on Slackware-10.2. The version of bison is 1.35.

make[1]: Entering directory `/home/damjan/src/iproute2-2.6.14-051107/tc' 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

The ematch stuff probably needs bison 2.0 talk to Thomas.
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#2 lore raw
In reply to Damjan

* Stephen Hemminger <[email protected]> 2005-11-09 09:15

Quoted 18 lines
Quoted 4 lines · On Wed, 9 Nov 2005 17:34:33 +0100 Damjan <[email protected]> wrote:
Quoted 3 lines

Update to iproute2 is available. Most of the changes were to repair the things that broke with the introduction of the batch mode to the ip command.

	http://developer.osdl.org/dev/iproute2/download/iproute2-2.6.14-051107.tar.gz
Quoted 10 lines

I'm getting this error when trying to compile on Slackware-10.2. The version of bison is 1.35.

make[1]: Entering directory `/home/damjan/src/iproute2-2.6.14-051107/tc' 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

Quoted 1 line

The ematch stuff probably needs bison 2.0 talk to Thomas.

Yes, bison 2.0 or a compatible version is required. It should be possible to remove '%error-verbose' from the yacc grammar at the cost of less precise grammar error messages.
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

author
#3 lore raw
In reply to Damjan
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

I'm getting this error when trying to compile on Slackware-10.2. The version of bison is 1.35.

The ematch stuff probably needs bison 2.0 talk to Thomas.

Yes, bison 2.0 or a compatible version is required. It should be possible to remove '%error-verbose' from the yacc grammar at the cost of less precise grammar error messages.

I've upgraded to Bison 1.875d and it compiled fine.

Signature · 6 lines
damjan | дамјан
This is my jabber ID --> [email protected] <-- not my mail address!!!
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
author
#4 lore raw
In reply to Damjan
Quoted 2 lines

Patrick McHardy
* Fix ip command shortcuts

Hmm.. what's this change?

I've noticed that "ip address" no longer works, only "ip addr" works.

Signature · 6 lines
damjan | дамјан
This is my jabber ID --> [email protected] <-- not my mail address!!!
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#5 lore raw
In reply to Damjan
Quoted 7 lines · Damjan
Quoted 2 lines

Patrick McHardy
* Fix ip command shortcuts

Hmm.. what's this change?

I've noticed that "ip address" no longer works, only "ip addr" works.

This seems to be one of the things the introduction of batch mode broke. This patch fixes it.

Index: ip/ip.c
===================================================================
RCS file: /repos/iproute2/ip/ip.c,v
retrieving revision 1.10

ip.c +5 -3
diff -u -r1.10 ip.c
@@ -62,13 +62,15 @@
 	const char *cmd;
 	int (*func)(int argc, char **argv);
 } cmds[] = {
-	{ "addr", 	do_ipaddr },
-	{ "maddr",	do_multiaddr },
+	{ "address", 	do_ipaddr },
+	{ "maddress",	do_multiaddr },
 	{ "route",	do_iproute },
 	{ "rule",	do_iprule },
-	{ "neigh",	do_ipneigh },
+	{ "neighbour",	do_ipneigh },
+	{ "neighbor",	do_ipneigh },
 	{ "link",	do_iplink },
 	{ "tunnel",	do_iptunnel },
+	{ "tunl",	do_iptunnel },
 	{ "monitor",	do_ipmonitor },
 	{ "xfrm",	do_xfrm },
 	{ "mroute",	do_multiroute },

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc