# Difficulties Compiling Bro on Solaris.

**URL:** <https://community.zeek.org/t/difficulties-compiling-bro-on-solaris/1547>\
**Category:** Zeek\
**Created:** [October 27, 2009, 8:46pm UTC](https://community.zeek.org/t/difficulties-compiling-bro-on-solaris/1547 "2009-10-27T20:46:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luca\_Renaud](https://avatars.discourse-cdn.com/v4/letter/l/838e76/32.png) [@Luca\_Renaud](https://community.zeek.org/u/Luca_Renaud)\
**Post date:** [October 27, 2009, 8:46pm UTC](https://community.zeek.org/t/difficulties-compiling-bro-on-solaris/1547/1 "2009-10-27T20:46:46Z")

</div>

Trying to compile Bro-1.4 on OpenSolaris062009 I get:

-from the the configure script:

checking term.h presence… yes  
configure: WARNING: term.h: present but cannot be compiled  
configure: WARNING: term.h: check for missing prerequisite headers?  
configure: WARNING: term.h: see the Autoconf documentation  
configure: WARNING: term.h: section “Present But Cannot Be Compiled”  
configure: WARNING: term.h: proceeding with the preprocessor’s result  
configure: WARNING: term.h: in the future, the compiler will take precedence  
configure: WARNING: ## ------------------------------------------ ##  
configure: WARNING: ## Report this to the AC\_PACKAGE\_NAME lists. ##  
configure: WARNING: ## ------------------------------------------ ##  
checking for term.h… yes

from make:

gcc -g -O2 -I/usr/lib/include -I/usr/include -L/usr/lib/lib -o hf hf.o setsignal.o version.o -lz -lpcap -lpcap -lssl -lcrypto -lnsl -lsocket -lpcap -ltermcap  
Undefined first referenced  
symbol in file  
\_res hf.o (symbol belongs to implicit dependency /lib/libresolv.so.2)  
ld: fatal: symbol referencing errors. No output written to hf  
collect2: ld returned 1 exit status  
make[4]: \*\*\* [hf] Error 1  
make[4]: Leaving directory `/export/home/luca/Downloads/bro-1.4/aux/hf' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/export/home/luca/Downloads/bro-1.4/aux’  
make[2]: \*\*\* [all] Error 2  
make[2]: Leaving directory `/export/home/luca/Downloads/bro-1.4/aux' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/luca/Downloads/bro-1.4’  
make: \*\*\* [all] Error 2

Have anyone tried to compile Bro on the same platform and got  
the same issue?How to get over this? I have libncurses  
from [sunfreeware.com](http://sunfreeware.com)

P.S. Is it possible to convert Sun snoop dump files to libpcap format?  
I tried with wireshark on Linux but there seems to have some  
incompatibility between network interfaces(eth0 on Linux,rge0 on Solaris)  
and wireshark refuses to convert.  
Is there other way to analyze snoop format files through Bro?

Thanks.

---

<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:38pm UTC](https://community.zeek.org/t/difficulties-compiling-bro-on-solaris/1547/2 "2022-05-06T15:38:58Z")

</div>


