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