# NEW Bro compile problems

**URL:** <https://community.zeek.org/t/new-bro-compile-problems/382>\
**Category:** Zeek\
**Created:** [June 16, 2003, 10:45pm UTC](https://community.zeek.org/t/new-bro-compile-problems/382 "2003-06-16T22:45:30Z")\
**Posts on this page:** 3\
**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:** [June 16, 2003, 10:45pm UTC](https://community.zeek.org/t/new-bro-compile-problems/382/1 "2003-06-16T22:45:30Z")

</div>

> PktSrc.h:26:18: pcap.h: No such file or directory  
> make: \*\*\* [main.o] Error 1
> 
> I "fix" it by adding 'INCLS = -Ilinux-include -I/usr/include/pcap'

One of the recent additions was to change

&nbsp;&nbsp;#include "pcap.h"

in PktSrc.h to

&nbsp;&nbsp;#include \<pcap.h\>

I imagine this is the problem. I'm not quite sure what's the "right"  
solution here, but maybe we should just go back to using "pcap.h". That's  
what I've tentatively done.

> util.cc: In function `void init\_random\_seed ()':  
> util.cc:395: `uint32\_t' undeclared (first use this function)

I've changed this to uint32 (and also for the declaration of "result" a  
little later in the function. That should do the trick.

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

---

<div class="post-metadata">

**Author:** ![Anton\_Chuvakin\_Ph.D](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@Anton\_Chuvakin\_Ph.D](https://community.zeek.org/u/Anton_Chuvakin_Ph.D)\
**Post date:** [June 25, 2003, 7:28pm UTC](https://community.zeek.org/t/new-bro-compile-problems/382/2 "2003-06-25T19:28:55Z")

</div>

All,

While I am enjoying running my new bro-0.8\_32, I find that some of the  
stuff gets reported to syslog (such as ContentGap and some FTP attacks),  
while the rest is getting piled to multiple files (ftp.log, http.log,  
etc). I looked at the manual and the \*.bro file and it looks like its  
hard-coded with ALERT statements. Is there any way to globally redirect  
everything to syslog?

Best,

---

<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/new-bro-compile-problems/382/3 "2022-05-06T15:36:46Z")

</div>


