Errors making program with dns.c

stefmit

Guest
I have been trying to figure out how to get etherape running on my MacOSX 10.3.5, but can't. Problem?
$ [scm@scm etherape-0.9.1]$ make
<snip>
dns.c: In function `dorequest':
dns.c:758: error: `PACKETSZ' undeclared (first use in this function)
dns.c:758: error: (Each undeclared identifier is reported only once
dns.c:758: error: for each function it appears in.)
dns.c:760: error: `QUERY' undeclared (first use in this function)
dns.c:760: error: `C_IN' undeclared (first use in this function)
dns.c: In function `resendrequest_inverse':
dns.c:803: error: `T_PTR' undeclared (first use in this function)
dns.c: In function `parserespacket_noerror':
dns.c:906: error: `MAXDNAME' undeclared (first use in this function)
dns.c:984: error: `C_IN' undeclared (first use in this function)
dns.c:996: error: `T_PTR' undeclared (first use in this function)
dns.c:1078: error: `T_CNAME' undeclared (first use in this function)
dns.c:1090: error: `T_A' undeclared (first use in this function)
dns.c: In function `parserespacket':
dns.c:1245: error: `NOERROR' undeclared (first use in this function)
dns.c:1248: error: `NXDOMAIN' undeclared (first use in this function)
dns.c: In function `dns_ack':
dns.c:1271: error: `PACKETSZ' undeclared (first use in this function)
make[2]: *** [dns.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I have tried the suggestion from:

http://www.bitwizard.nl/cgi-bin/mtr/macos?id=353;page=1;user=guest

(#define BIND_8_COMPAT 1)

to no avail.

Does anybody know how to fix this?

TIA,
Stef
 
Back
Top