Trouble compiling Bro release 0.8a48 on OpenBSD3.3

Moss de Kahn moskahn at hotmail.com
Sun Nov 2 20:05:59 PST 2003


I get the following errors when I try to compile Bro on
OpenBSD 3.3.

===============================================
gcc -I. -Ilibedit -O  -c nb_dns.c
nb_dns.c:81: `NS_MAXDNAME' undeclared here (not in a function)
nb_dns.c:81: size of array `name' has non-integer type
nb_dns.c: In function `_nb_dns_mkquery':
nb_dns.c:274: `NS_INADDRSZ' undeclared (first use in this function)
nb_dns.c:274: (Each undeclared identifier is reported only once
nb_dns.c:274: for each function it appears in.)
nb_dns.c:279: `NS_IN6ADDRSZ' undeclared (first use in this function)
nb_dns.c:291: `ns_o_query' undeclared (first use in this function)
nb_dns.c:293: `ns_c_in' undeclared (first use in this function)
nb_dns.c: In function `nb_dns_addr_request2':
nb_dns.c:376: `NS_MAXDNAME' undeclared (first use in this function)
nb_dns.c:376: size of array `name' has non-integer type
nb_dns.c:394: `NS_IN6ADDRSZ' undeclared (first use in this function)
nb_dns.c: In function `nb_dns_activity':
nb_dns.c:457: syntax error before `handle'
nb_dns.c:473: `handle' undeclared (first use in this function)
nb_dns.c:516: `ns_f_rcode' undeclared (first use in this function)
nb_dns.c:518: `ns_r_nxdomain' undeclared (first use in this function)
nb_dns.c:523: `ns_r_servfail' undeclared (first use in this function)
nb_dns.c:528: `ns_r_noerror' undeclared (first use in this function)
nb_dns.c:531: `ns_r_formerr' undeclared (first use in this function)
nb_dns.c:532: `ns_r_notimpl' undeclared (first use in this function)
nb_dns.c:533: `ns_r_refused' undeclared (first use in this function)
nb_dns.c:519: warning: unreachable code at beginning of switch statement
nb_dns.c:541: `rr' undeclared (first use in this function)
nb_dns.c:556: `ns_s_an' undeclared (first use in this function)
nb_dns.c:572: warning: assignment makes pointer from integer without a cast
*** Error code 1

Stop in /home/bro/bro-pub-0.8a48 (line 509 of Makefile).
======================================================

Any ideas?  The last Bro version I was able to compile on OpenBSD was
0.8a32.

Thanks

MdK



More information about the Bro mailing list