On Mon, Jan 22, 2007 at 06:35:05PM +0530, Neeraj Chowdhry wrote:
Hi Chris
In the config.log file one error section include the following :
configure :5972: checking where to find pcap.h configure:5988: gcc -E -I/usr/include/pcap -I/software/include/pcap conftest.c
In file included from /usr/include/pcap/pcap.h:28 from /usr/include/pcap/pcap.h:28\ from /usr/include/pcap/pcap.h:28 from /usr/include/pcap/pcap.h:28
[...]
/usr/include/pcap/pcap.h:28:18: error: #include nested too deeply
hmm, interesting. is there also a /usr/include/pcap.h on your machine? what happens if you create a file test.c containing, #include <pcap.h> and then run gcc -E on it?