[Iftop-users] iftop Installation //
Neeraj Chowdhry
neeraj.c.c.c at gmail.com
Tue, 23 Jan 2007 11:32:02 +0530
------=_Part_236512_28421475.1169532122778
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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)
>
------=_Part_236512_28421475.1169532122778
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi Chris<br><br>The error msg displayed after using gcc -E on test.c is :<br><br>error: pcap.h: No such file or directory<br><br>With thanks<br>Neeraj<br><br><br><div><span class="gmail_quote">On 1/22/07, <b class="gmail_sendername">
Chris Lightfoot</b> <
<a href="mailto:chris@ex-parrot.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">chris@ex-parrot.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, Jan 22, 2007 at 06:35:05PM +0530, Neeraj Chowdhry wrote:
<br>> Hi Chris<br>><br>> In the config.log file one error section include the following :<br>><br>> configure :5972: checking where to find pcap.h<br>> configure:5988: gcc -E -I/usr/include/pcap -I/software/include/pcap
<br>> conftest.c<br>><br>> In file included from /usr/include/pcap/pcap.h:28<br>> from /usr/include/pcap/pcap.h:28\<br>> from /usr/include/pcap/pcap.h:28<br>> from /usr/include/pcap/pcap.h:28
<br> [...]<br>> /usr/include/pcap/pcap.h:28:18: error: #include nested too deeply<br><br>hmm, interesting. is there also a /usr/include/pcap.h on<br>your machine? what happens if you create a file test.c<br>containing,
<br> #include <pcap.h><br>and then run gcc -E on it?<br><br>--<br>You cannot win the game, and you are not allowed to stop playing<br>(the third law)<br></blockquote></div><br>
------=_Part_236512_28421475.1169532122778--