# GIT error compiling

**URL:** <https://community.zeek.org/t/git-error-compiling/3352>\
**Category:** Zeek\
**Created:** [November 7, 2014, 9:00pm UTC](https://community.zeek.org/t/git-error-compiling/3352 "2014-11-07T21:00:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harry\_Hoffman](https://avatars.discourse-cdn.com/v4/letter/h/6bbea6/32.png) [@Harry\_Hoffman](https://community.zeek.org/u/Harry_Hoffman)\
**Post date:** [November 7, 2014, 9:00pm UTC](https://community.zeek.org/t/git-error-compiling/3352/1 "2014-11-07T21:00:54Z")

</div>

Hi All,

Just did a git pull and run into this error

/root/downloads/bro/src/main.cc: In function ‘int main(int, char\*\*)’:  
/root/downloads/bro/src/main.cc:779: error: ‘init’ is not a member of  
‘binpac’  
make[3]: \*\*\* [src/CMakeFiles/bro.dir/main.cc.o] Error 1  
make[3]: Leaving directory `/root/downloads/bro/build'  
make[2]: \*\*\* [src/CMakeFiles/bro.dir/all] Error 2  
make[2]: Leaving directory `/root/downloads/bro/build'  
make[1]: \*\*\* [all] Error 2  
make[1]: Leaving directory `/root/downloads/bro/build'  
make: \*\*\* [all] Error 2

Thought I'd give a heads up.

Cheers,  
Harry

---

<div class="post-metadata">

**Author:** ![Siwek\_Jon](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@Siwek\_Jon](https://community.zeek.org/u/Siwek_Jon)\
**Post date:** [November 7, 2014, 9:21pm UTC](https://community.zeek.org/t/git-error-compiling/3352/2 "2014-11-07T21:21:44Z")

</div>

Can you try running the command `submodule update --recursive --init` inside your bro clone before compiling again? When updating a git clone of bro, you usually need to do that after `git pull` in order to keep everything in sync.

- Jon

---

<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:42pm UTC](https://community.zeek.org/t/git-error-compiling/3352/3 "2022-05-06T15:42:13Z")

</div>


