# Error during make

**URL:** https://community.zeek.org/t/error-during-make/296
**Category:** Zeek
**Created:** [September 26, 2002, 1:10pm UTC](https://community.zeek.org/t/error-during-make/296 "2002-09-26T13:10:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Shaofu\_Wang](https://avatars.discourse-cdn.com/v4/letter/s/439d5e/32.png) [@Shaofu\_Wang](https://community.zeek.org/u/Shaofu_Wang)
#### Post date: [September 26, 2002, 1:10pm UTC](https://community.zeek.org/t/error-during-make/296/1 "2002-09-26T13:10:43Z")

</div>

> I guess that you're using Linux, right? Please try the attached

Right ! I am using Linux. Could you tell me which system is the best to run Bro?

> patch. But even if it helps, you may get more errors during linking  
> (which I haven't tried to solve yet).

Great, it almost works! Why , just changing h\_errno to host\_errno ?

But new error like :  
nb\_dns.o: In function '\_nb\_dns\_mkquery':  
\*/bro/nb\_dns.c:203: undefined reference to '\_\_res\_mkquery'  
...

\<\< attach5 \>\>

How to open the attach5?

---

<div class="post-metadata">

### Author: ![robin](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.zeek.org/robin/32/599_2.png) [@robin](https://community.zeek.org/u/robin)
#### Post date: [September 26, 2002, 3:30pm UTC](https://community.zeek.org/t/error-during-make/296/2 "2002-09-26T15:30:20Z")

</div>

> Right ! I am using Linux. Could you tell me which system is the best to run  
> Bro?

I don't know which is the best. Operationally, we're running it on  
FreeBSD here, but I am doing some developing on Linux as well. I  
would guess that there isn't a big difference between the two, but  
I've never compared them. If anyone has some experiences in this  
respect, I would really like to hear them.

(In the near future, I will probably give Solaris a try, too.)

> Great, it almost works! Why , just changing h\_errno to host\_errno ?

Some system header file defines h\_error as a macro on Linux.

> nb\_dns.o: In function '\_nb\_dns\_mkquery':  
> \*/bro/nb\_dns.c:203: undefined reference to '\_\_res\_mkquery'

Right, that are the linker errors I had mentioned. No solution for  
them yet, but I will try to fix them, too.

> How to open the attach5?

That's a PGP signature.

Robin

---

<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/error-during-make/296/3 "2022-05-06T15:36:36Z")

</div>


