# Compiling Bro

**URL:** https://community.zeek.org/t/compiling-bro/69
**Category:** Zeek
**Created:** [November 21, 1999, 8:23am UTC](https://community.zeek.org/t/compiling-bro/69 "1999-11-21T08:23:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Vern](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.zeek.org/vern/32/630_2.png) [@Vern](https://community.zeek.org/u/Vern)
#### Post date: [November 21, 1999, 8:23am UTC](https://community.zeek.org/t/compiling-bro/69/1 "1999-11-21T08:23:36Z")

</div>

> I've tried to compile Bro on Linux version 2.2.12 with gcc (version  
> egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)), but it didn't work. The  
> problem is, that the symbols from yacc/lex (yylhs, yylen, yydefred,  
> yydgoto,) are defined in libpcap and in Bro. I got the following errors:

Those are all yacc symbols. I suspect the problem is that your version  
of yacc doesn't support the -p \<sym prefix\> flag. If not, then you'll  
have to get one that does, such as GNU bison.

&nbsp;&nbsp;&nbsp;&nbsp;Vern

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)
#### Post date: [May 6, 2022, 3:36pm UTC](https://community.zeek.org/t/compiling-bro/69/2 "2022-05-06T15:36:08Z")

</div>


