wiz@vps ~/PingTunnel $ make gcc -Wall -g -c -o ptunnel.o ptunnel.c In file included from ptunnel.c:43: ptunnel.h:60:33: pcap.h: No such file or directory In file included from ptunnel.c:43: ptunnel.h:281: error: parse error before "pcap_t" ptunnel.h:281: warning: no semicolon at end of struct or union ptunnel.h:288: error: parse error before '}' token ptunnel.h:288: warning: type defaults to `int' in declaration of `pcap_info_t' ptunnel.h:288: warning: data definition has no type or storage class ptunnel.h:294: warning: `struct pcap_pkthdr' declared inside parameter list ptunnel.h:294: warning: its scope is only this definition or declaration, which is probably not what you want ptunnel.c: In function `pt_proxy': ptunnel.c:340: error: parse error before "pc" ptunnel.c:357: error: `pc' undeclared (first use in this function) ptunnel.c:357: error: (Each undeclared identifier is reported only once ptunnel.c:357: error: for each function it appears in.) ptunnel.c:357: error: `PCAP_ERRBUF_SIZE' undeclared (first use in this function) ptunnel.c:359: warning: implicit declaration of function `pcap_open_live' ptunnel.c:361: warning: implicit declaration of function `pcap_lookupnet' ptunnel.c:364: warning: implicit declaration of function `pcap_compile' ptunnel.c:366: warning: implicit declaration of function `pcap_close' ptunnel.c:369: warning: implicit declaration of function `pcap_setfilter' ptunnel.c:492: warning: implicit declaration of function `pcap_dispatch' ptunnel.c: At top level: ptunnel.c:533: warning: `struct pcap_pkthdr' declared inside parameter list ptunnel.c:533: error: conflicting types for `pcap_packet_handler' ptunnel.h:294: error: previous declaration of `pcap_packet_handler' ptunnel.c: In function `pcap_packet_handler': ptunnel.c:540: error: dereferencing pointer to incomplete type ptunnel.c:541: error: dereferencing pointer to incomplete type ptunnel.c:545: error: dereferencing pointer to incomplete type ptunnel.c: At top level: ptunnel.h:282: error: storage size of `fp' isn't known make: *** [ptunnel.o] Error 1