Hi Chris
The error msg displayed after using gcc -E on test.c is :
error: pcap.h: No such file or directory
With thanks Neeraj
On 1/22/07, Chris Lightfoot < chris@ex-parrot.com> wrote:
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?
-- You cannot win the game, and you are not allowed to stop playing (the third law)