Hello to the list, and a little question.
Ondrej Feela Filip
feela at network.cz
Tue Sep 30 19:04:53 CEST 2003
On Mon, 29 Sep 2003, Felix Llorente Pastora wrote:
> I have downloaded Bird, but i cannot compile it, it tell me that (whe i do
> "make"):
> cf-parse.y:1310.2: syntax error, unexpected "|"
> cf-parse.y:1338.3: syntax error, unexpected "|"
>
> Them I try to fix it doing
> [....]
> pref_item:
> - pref_el;
> - | pref_hid;
>
> + pref_el
> + | pref_hid
> [....]
>
> But them I get this other:
>
> cf-parse.y:1287.13-17: se usa el símbolo DELAY, pero no está definido como
> terminal y no tiene reglas
> cf-parse.y:1291.9-17: se usa el símbolo BROADCAST, pero no está definido como
> terminal y no tiene reglas
> cf-parse.y:1289.4-7: se usa el símbolo WAIT, pero no está definido como
> terminal y no tiene reglas
>
> I am compiling it with:
> "./configure --with-protocols=ospf",
> gcc version 2.95.4 20011002 (Debian prerelease),
> bison (GNU bison) 1.875a and GNU m4 1.4
>
>
> Thanks.
>
> P.D.: Sorry for the spanish bison output.
:-) Quite interesting.
Please apply this patch (it will go to the next release):
--- proto/ospf/config.Y 12 Aug 2001 00:04:42 -0000 1.28
+++ proto/ospf/config.Y 30 Sep 2003 17:02:53 -0000
@@ -26,6 +26,7 @@
CF_KEYWORDS(HELLO, TRANSMIT, PRIORITY, DEAD, NONBROADCAST, POINTOPOINT, TYPE)
CF_KEYWORDS(NONE, SIMPLE, AUTHENTICATION, PASSWORD, STRICT)
CF_KEYWORDS(ELIGIBLE, POLL, NETWORKS, HIDDEN)
+CF_KEYWORDS(DELAY, BROADCAST, WAIT)
%type <t> opttext
Ondrej Filip
>
>
More information about the Bird-users
mailing list