For example, if i type
Code: Select all
#include<iostream.h>
#include<pcap.h>
int main()
{ printf("Hello world");
return 0;
}
Then I go to the terminal, and i type
g++ /.../...../.../hello.c (This is the address where the program is stored)
Here it gives an error saying cant find pcap.h
I'm using Debian 4.0. I've installed all the libpcap apckages I could find using the Synaptic package manager.
Please forgive me if my queries are a little too basic, I've just started on linux.
I searched the forum for pcap.h, but couldnt find anything useful