gamelinux / passivedns

A network sniffer that logs all DNS server replies for use in a passive DNS setup
http://gamelinux.org/
1.67k stars 372 forks source link

cant make in debian #62

Closed alnc closed 8 years ago

alnc commented 8 years ago

make Making all in src make[1]: Entering directory /root/passivedns/src' gcc -O3 -c passivedns.c -o passivedns.o gcc -O3 -c dns.c -o dns.o dns.c: In function 'cache_dns_objects': dns.c:361: error: 'LDNS_RR_TYPE_NSEC3PARAM' undeclared (first use in this function) dns.c:361: error: (Each undeclared identifier is reported only once dns.c:361: error: for each function it appears in.) dns.c: In function 'print_passet': dns.c:748: error: 'LDNS_RR_TYPE_NSEC3PARAM' undeclared (first use in this function) make[1]: *** [dns.o] Error 1 make[1]: Leaving directory/root/passivedns/src' make: *\ [all-recursive] Error 1

any idea?

tkx

muratbeser commented 8 years ago

I just able to make it on Debian Jessie can u provide more information about your system. Also I'm trying to debianize passivedns .

thus commented 8 years ago

@alnc: Which version of LDNS are you using? It looks like LDNS_RR_TYPE_NSEC3PARAM was added to LDNS in 2012, so there's a real possibility that an older version is causing this problem.

thus commented 8 years ago

I was able to reproduce this error on an old test machine running Debian Squeeze (oldoldstable).

Could you try the latest git version? I pushed a patch that (hopefully) should fix this issue.

thus commented 8 years ago

No reply from reporter, so closing issue.