but I have compiled pb with freebsd v4.9R,
This is strange, as Bro is primarily developed under FreeBSD.
bison -y -d -t -v builtin-func.y
flex -obif_lex.cc builtin-func.l
g++ -o bif_lex.o -c bif_lex.cc
g++ -o bif_parse.o -c bif_parse.cc
y.tab.c: In function `int yyparse()':
y.tab.c:1705: syntax error before `goto'
Can you please send the y.tab.c file? That's necessary for diagnosing
what's going on here.
Vern