[bird2]: babel compile bug?

Leo Vandewoestijne bird at unicycle.net
Mon Mar 5 11:33:34 CET 2018


Hello list,

If I compile using the following:


BIRD was configured with the following options:
        Source directory:	.
        Object directory:	obj
        Iproute2 directory:
        System configuration:	./sysdep/cf/bsd.h
        Debugging:		no
        POSIX threads:		yes
        Routing protocols:	bfd babel bgp static
        Kernel MPLS support:	no
        Client:			yes

Then I end up with this:

===>  Building for bird-2.0.1
gmake[2]: Entering directory '/usr/ports/net/bird2/work/bird-2.0.1'
MKDIR -p obj/client obj/conf obj/doc obj/filter obj/lib obj/nest obj/test obj/proto/bfd obj/proto/babel obj/proto/bgp obj/proto/static obj/sysdep/unix 
obj/sysdep/bsd obj/doc
gm4 -P conf/gen_parser.m4 conf/confbase.Y conf/flowspec.Y obj/.dir-stamp filter/config.Y nest/config.Y proto/bfd/config.Y proto/babel/config.Y 
proto/bgp/config.Y proto/static/config.Y sysdep/unix/config.Y sysdep/unix/krt.Y sysdep/bsd/krt-sock.Y >obj/conf/cf-parse.y
bison  -dv -pcf_ -b obj/conf/cf-parse obj/conf/cf-parse.y
obj/conf/cf-parse.y:2707.7-14: error: symbol PRIORITY is used, but is not defined as a token and has no rules
  | TX PRIORITY expr { BABEL_IFACE->tx_priority = $3; }
       ^^^^^^^^
gmake[2]: *** [conf/Makefile:23: obj/conf/cf-parse.tab.c] Error 1


If I do
        Routing protocols:      bfd bgp static
or
        Routing protocols:      bfd babel bgp ospf pipe radv rip static
or
        Routing protocols:      bfd babel bgp rip static
all goes well.

Was I trieng something impossible, or is this an error?
Is RIP a dependency for Babel?

-- 

Met vriendelijke groet,
With kind regards,


Leo Vandewoestijne
<***@dns.company>
<www.dns.company>


More information about the Bird-users mailing list