# bro 1.1-current compile error

**URL:** <https://community.zeek.org/t/bro-1-1-current-compile-error/996>\
**Category:** Zeek\
**Created:** [July 13, 2006, 10:00pm UTC](https://community.zeek.org/t/bro-1-1-current-compile-error/996 "2006-07-13T22:00:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jingmin\_Zhou](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@Jingmin\_Zhou](https://community.zeek.org/u/Jingmin_Zhou)\
**Post date:** [July 13, 2006, 10:00pm UTC](https://community.zeek.org/t/bro-1-1-current-compile-error/996/1 "2006-07-13T22:00:49Z")

</div>

Hi, apology if this has been reported/fixed. I'm compiling bro on  
Mac OS X 10.4.7 (gcc 4.0.1) and get error as the following:

g++ -DHAVE\_CONFIG\_H -I. -I. -I.. -I. -I../src/binpac -I../src -I. -I.. -Ilibedit -O -W -Wall -Wno-unused -g -O2 -c -o TCP.o `test -f TCP.cc || echo './'`TCP.cc  
TCP.cc: In member function 'virtual void TCP\_Connection::NextPacket(double, int, const IP\_Hdr\*, int, int, const u\_char\*&, int&, int&, const pcap\_pkthdr\*, const u\_char\*, int)':  
TCP\_Endpoint.h:170: error: 'uint32 TCP\_Endpoint::ack\_seq' is protected  
TCP.cc:768: error: within this context  
TCP\_Endpoint.h:170: error: 'uint32 TCP\_Endpoint::ack\_seq' is protected  
TCP.cc:777: error: within this context  
make[4]: \*\*\* [TCP.o] Error 1  
make[3]: \*\*\* [all-recursive] Error 1  
make[2]: \*\*\* [all] Error 2  
make[1]: \*\*\* [all-recursive] Error 1  
make: \*\*\* [all] Error 2

A quick (crude) fix is to modify TCP\_Endpoint.h and move the line  
"uint32 start\_seq, last\_seq, ack\_seq;" above "protected:".

Other than this, it seems everything is working smoothly. 🙂

Cheers,

Jimmy

---

<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:37pm UTC](https://community.zeek.org/t/bro-1-1-current-compile-error/996/2 "2022-05-06T15:37:55Z")

</div>


