[dnstop] Error downloading Dnstop[screenshots attach]

Terry Bassett tntbassett at yahoo.com
Tue Mar 9 16:27:49 UTC 2010


I am getting an error when I try to Compile and install dnstop around this process.
 # ./configure

# make

# make install

error message:
terry at ubuntu:~/dnstop-20080502$ make
gcc -g -O2 -DUSE_IPV6=1 -c dnstop.c
dnstop.c:20:18: error: pcap.h: No such file or directory
dnstop.c:28:20: error: curses.h: No such file or directory
dnstop.c:127: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
dnstop.c:137: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
dnstop.c:160: error: ‘printw’ undeclared here (not in a function)
dnstop.c:928: warning: ‘struct pcap_pkthdr’ declared inside parameter list
dnstop.c:928: warning: its scope is only this definition or declaration, which is probably not what you want
dnstop.c: In function ‘handle_pcap’:
dnstop.c:930: error: dereferencing pointer to incomplete type
dnstop.c:932: error: dereferencing pointer to incomplete type
dnstop.c:934: error: dereferencing pointer to incomplete type
dnstop.c: In function ‘get_nlines’:
dnstop.c:1238: error: ‘w’ undeclared (first use in this function)
dnstop.c:1238: error: (Each undeclared identifier is reported only once
dnstop.c:1238: error: for each function it appears in.)
dnstop.c: In function ‘get_ncols’:
dnstop.c:1247: error: ‘w’ undeclared (first use in this function)
dnstop.c: In function ‘init_curses’:
dnstop.c:1642: error: ‘w’ undeclared (first use in this function)
dnstop.c: At top level:
dnstop.c:1700: error: expected ‘)’ before ‘*’ token
dnstop.c: In function ‘main’:
dnstop.c:1714: error: ‘PCAP_ERRBUF_SIZE’ undeclared (first use in this function)
dnstop.c:1720: error: storage size of ‘fp’ isn’t known
dnstop.c:1796: error: ‘pcap’ undeclared (first use in this function)
dnstop.c:1833: error: ‘DLT_EN10MB’ undeclared (first use in this function)
dnstop.c:1858: error: ‘DLT_NULL’ undeclared (first use in this function)
dnstop.c:1896: error: ‘w’ undeclared (first use in this function)
make: *** [dnstop.o] Error 1





      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.measurement-factory.com/pipermail/dnstop/attachments/20100309/76317de1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot.png
Type: image/png
Size: 407353 bytes
Desc: not available
URL: <http://lists.measurement-factory.com/pipermail/dnstop/attachments/20100309/76317de1/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot-1.png
Type: image/png
Size: 413400 bytes
Desc: not available
URL: <http://lists.measurement-factory.com/pipermail/dnstop/attachments/20100309/76317de1/attachment-0001.png>


More information about the dnstop mailing list