Unable to build Bird2 with --with-protocols=bgp

Nabeel Omer me at nabeelomer.me
Fri May 22 16:55:23 CEST 2020


Hi Everyone,

I am trying to build Bird2 with `./configure --with-protocols=bgp` and it prints the following information:

ubuntu at ip-172-26-14-214:~/bird$ make
MKDIR -p obj/client obj/conf obj/doc obj/filter obj/lib obj/nest obj/test obj/proto/bgp obj/sysdep/linux obj/sysdep/unix obj/doc
m4 -s -P conf/gen_parser.m4 conf/confbase.Y conf/flowspec.Y client/cmds.Y filter/config.Y nest/config.Y proto/bgp/config.Y sysdep/linux/netlink.Y sysdep/unix/config.Y sysdep/unix/krt.Y >obj/conf/cf-parse.y
bison  -Dparse.lac=full -Dparse.error=verbose -dv -pcf_ -b obj/conf/cf-parse obj/conf/cf-parse.y
conf/gen_parser.m4: warning: 11 nonterminals useless in grammar [-Wother]
conf/gen_parser.m4: warning: 34 rules useless in grammar [-Wother]
conf/confbase.Y:111.13-29: warning: nonterminal useless in grammar: label_stack_start [-Wother]
 %type <mls> label_stack_start label_stack
             ^^^^^^^^^^^^^^^^^
conf/confbase.Y:111.31-41: warning: nonterminal useless in grammar: label_stack [-Wother]
 %type <mls> label_stack_start label_stack
                               ^^^^^^^^^^^
conf/confbase.Y:107.22-25: warning: nonterminal useless in grammar: time [-Wother]
 %type <time> expr_us time
                      ^^^^
nest/config.Y:94.162-164: warning: nonterminal useless in grammar: tos [-Wother]
 
%token END CLI_MARKER INVALID_TOKEN ELSECOL DDOT
                                                                                                                                                                  ^^^
nest/config.Y:438.1-13: warning: nonterminal useless in grammar: password_list [-Wother]

And gets stuck. Does not produce any further output and doesn’t quit.

Ctrl+C produces the following output:

conf/Makefile:23: recipe for target 'obj/conf/cf-parse.tab.c' failed
make: *** [obj/conf/cf-parse.tab.c] Interrupt

Does anyone have any idea about why this might be happening? I am able to build successfully without passing --with-protocols=bgp to autoconf.

Thanks,
Nabeel Omer
https://nabeelomer.me




More information about the Bird-users mailing list