# compile on RedHat Linux?

**URL:** <https://community.zeek.org/t/compile-on-redhat-linux/342>\
**Category:** Zeek\
**Created:** [February 4, 2003, 5:11pm UTC](https://community.zeek.org/t/compile-on-redhat-linux/342 "2003-02-04T17:11:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anton\_Chuvakin\_Ph.D](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@Anton\_Chuvakin\_Ph.D](https://community.zeek.org/u/Anton_Chuvakin_Ph.D)\
**Post date:** [February 4, 2003, 5:11pm UTC](https://community.zeek.org/t/compile-on-redhat-linux/342/1 "2003-02-04T17:11:07Z")

</div>

All,

Anybody knows why is that?

g++ -o bro main.o net\_util.o util.o parse.o scan.o re-parse.o re-scan.o  
rule-parse.o rule-scan.o Active.o Anon.o Attr.o BackDoor.o BroString.o  
CCL.o CompHash.o Conn.o DFA.o Debug.o DebugCmds.o DbgBreakpoint.o  
DbgWatch.o DbgHelp.o Desc.o Dict.o Discard.o DNS.o DNS\_Mgr.o EquivClass.o  
Event.o Expr.o File.o Finger.o Frag.o Frame.o FTP.o Func.o Hash.o HTTP.o  
ICMP.o ID.o Ident.o InterConn.o IntSet.o List.o Logger.o Login.o MIME.o  
NFA.o NTP.o NVT.o Net.o NetbiosSSN.o NetVar.o Obj.o PktSrc.o PolicyFile.o  
Portmap.o PriorityQueue.o Queue.o Reassem.o Rlogin.o RE.o RPC.o Rule.o  
RuleMatcher.o RuleAction.o RuleCondition.o Scope.o Sessions.o SMTP.o SSH.o  
SteppingStone.o Stmt.o TCP.o TCP\_Rewriter.o Telnet.o Timer.o Type.o UDP.o  
Val.o Var.o XDR.o cq.o md5.o setsignal.o version.o nb\_dns.o -Llibedit  
-ltermcap -ledit -lresolv -lpcap -lm

nb\_dns.o: In function `nb\_dns\_activity':  
nb\_dns.o(.text+0x678): undefined reference to `\_\_ns\_initparse'  
nb\_dns.o(.text+0x742): undefined reference to `\_ns\_flagdata'  
nb\_dns.o(.text+0x748): undefined reference to `\_ns\_flagdata'  
nb\_dns.o(.text+0x9bc): undefined reference to `\_\_ns\_parserr'  
collect2: ld returned 1 exit status

make: \*\*\* [bro] Error 1

System:

# Linux bastion 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686 unknown  
# Red Hat Linux release 7.3 (Valhalla)

---

<div class="post-metadata">

**Author:** ![Ruoming\_Pang1](https://avatars.discourse-cdn.com/v4/letter/r/7bcc69/32.png) [@Ruoming\_Pang1](https://community.zeek.org/u/Ruoming_Pang1)\
**Post date:** [February 7, 2003, 6:03pm UTC](https://community.zeek.org/t/compile-on-redhat-linux/342/2 "2003-02-07T18:03:22Z")

</div>

Here is the answer I got when I posted the same question on the mailing  
list: (I do not have the answer for my last question about the  
internal\_error -- anybody knows a solution?)

Ruoming

---

<div class="post-metadata">

**Author:** ![Olivier\_Grumelard](https://avatars.discourse-cdn.com/v4/letter/o/ee59a6/32.png) [@Olivier\_Grumelard](https://community.zeek.org/u/Olivier_Grumelard)\
**Post date:** [February 7, 2003, 6:45pm UTC](https://community.zeek.org/t/compile-on-redhat-linux/342/3 "2003-02-07T18:45:55Z")

</div>

Hi,

This is probably a name service configuration/connectivity issue.

You should check the "nameserver" declarations in your /etc/resolv.conf, and  
make sure that the DNS servers are reachable from your bro box.

Olivier.

---

<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/compile-on-redhat-linux/342/4 "2022-05-06T15:36:42Z")

</div>


