# Bro Build on OpenBSD 5.2 amd64

**URL:** <https://community.zeek.org/t/bro-build-on-openbsd-5-2-amd64/2566>\
**Category:** Zeek\
**Created:** [February 22, 2013, 3:08am UTC](https://community.zeek.org/t/bro-build-on-openbsd-5-2-amd64/2566 "2013-02-22T03:08:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Geoff\_Sanders](https://avatars.discourse-cdn.com/v4/letter/g/b3f665/32.png) [@Geoff\_Sanders](https://community.zeek.org/u/Geoff_Sanders)\
**Post date:** [February 22, 2013, 3:08am UTC](https://community.zeek.org/t/bro-build-on-openbsd-5-2-amd64/2566/1 "2013-02-22T03:08:18Z")

</div>

Attempting to build a port on OpenBSD 5.2 amd64 and have gotten to a  
specific build error.

Was wondering if anyone might have insight into how to resolve/correct  
the issue?

FWIW, although the install docs mention a requirement for BIND8, it  
appears that the configure script accepts libbind 6.0 as equivalent.

log is attached. any help would be appreciated.

Thank you.

[build.log](https://community.zeek.org/uploads/short-url/jR4jMpHXEoEt1ERTxVXFNPCRzWc.log) (33.4 KB)

---

<div class="post-metadata">

**Author:** ![Sean\_Shoufu\_Luo](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@Sean\_Shoufu\_Luo](https://community.zeek.org/u/Sean_Shoufu_Luo)\
**Post date:** [February 22, 2013, 4:21am UTC](https://community.zeek.org/t/bro-build-on-openbsd-5-2-amd64/2566/2 "2013-02-22T04:21:08Z")

</div>

If you are in bro-dev mail list, you probably received one email which provides the solution (by Jon) for the problems shown in your log.  
Quick answer is add a line #include \<sys/types.h\> before #include \<sys/socket.h\> for bro\_inet\_ntop.h and threading/SerialTypes.h

-Shoufu-

---

<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:40pm UTC](https://community.zeek.org/t/bro-build-on-openbsd-5-2-amd64/2566/3 "2022-05-06T15:40:47Z")

</div>


