Mailing List Archive

Regarding installation of ntop-1.3.1
Hello
While trying to install ntop-1.3.1 we received follwoing error msg:

############################################################################
#########
# make
make all-recursive
Making all in gdchart0.94b
Making all in .
Making all in plugins
Making all in intop
gcc -DHAVE_CONFIG_H -I.. -I/usr/include/pcap -I/usr/local/include -g -O2
-pipe -c gnuline.c
gnuline.c:41: readline/history.h: No such file or directory
gnuline.c:44: readline/readline.h: No such file or directgnuline.c: In
function `completion':
gnuline.c:111: warning: assignment makes pointer from integer without a cast
gnuline.c: In function `initialize_gnu_readline':
gnuline.c:127: `rl_readline_name' undeclared (first use in this function)
gnuline.c:127: (Each undeclared identifier is reported only once
gnuline.c:127: for each function it appears in.)
gnuline.c:132: `rl_attempted_completion_function' undeclared (first use in
this function)ory

############################################################################
#########

We search for the file history.h. But there isn't any. Pls inform us that
where can we get these files.
RE: Regarding installation of ntop-1.3.1 [ In reply to ]
Hello
We want to know if we have to capture all ie (including BAD also ) packets
in the network, then what we have to do. As by using libpcap we r getting
only good packets. As packets which we r getting won't contain ethernet CRC.
If u have handled it in some of your file pls tell me about that also.


-----Original Message-----
From: Neeta Srivastava [mailto:neetas@noida.hcltech.com]
Sent: Wednesday, July 25, 2001 12:33 PM
To: ntop@unipi.it
Subject: [Ntop] Regarding installation of ntop-1.3.1


Hello
While trying to install ntop-1.3.1 we received follwoing error msg:

############################################################################
#########
# make
make all-recursive
Making all in gdchart0.94b
Making all in .
Making all in plugins
Making all in intop
gcc -DHAVE_CONFIG_H -I.. -I/usr/include/pcap -I/usr/local/include -g -O2
-pipe -c gnuline.c
gnuline.c:41: readline/history.h: No such file or directory
gnuline.c:44: readline/readline.h: No such file or directgnuline.c: In
function `completion':
gnuline.c:111: warning: assignment makes pointer from integer without a cast
gnuline.c: In function `initialize_gnu_readline':
gnuline.c:127: `rl_readline_name' undeclared (first use in this function)
gnuline.c:127: (Each undeclared identifier is reported only once
gnuline.c:127: for each function it appears in.)
gnuline.c:132: `rl_attempted_completion_function' undeclared (first use in
this function)ory

############################################################################
#########

We search for the file history.h. But there isn't any. Pls inform us that
where can we get these files.

_______________________________________________
Ntop mailing list
Ntop@unipi.it
http://listmanager.unipi.it/mailman/listinfo/ntop
RE: Regarding installation of ntop-1.3.1 [ In reply to ]
While making ntop1.3.1 I am getting following error.
Is there something wrong with the address.c file.
Tell me the correct path from where I can get the tar file for ntop.

############################################################################
##########
g++ -DHAVE_CONFIG_H -I. -I./gdchart0.94b -I/usr/include/pcap
-I/usr/local/include -g -O2 -pipe -c address.c -fPIC -DPIC -o
.libs/address.lo
address.c: In function `char * res_skip_rr(char *, char *)':
address.c:708: parse error before `for'
address.c:712: parse error before `for'
address.c: In function `char * res_skip(char *, int, char *)':
address.c:873: parse error before `for'
address.c:922: parse error before `{'
address.c:928: parse error before `queryType'
address.c:945: `answer' undeclared (first use this function)
address.c:945: (Each undeclared identifier is reported only once
address.c:945: for each function it appears in.)
address.c:945: `ipPtr' undeclared (first use this function)
address.c:945: `displ' undeclared (first use this function)
address.c:948: `return' with no value, in function returning non-void
address.c:963: `return' with no value, in function returning non-void
address.c:974: `return' with no value, in function returning non-void
address.c:977: `return' with no value, in function returning non-void
address.c:987: `return' with no value, in function returning non-void
address.c:989: parse error before `for'
address.c:991: parse error before `for'
address.c:992: parse error before `for'
address.c:994: parse error before `for'
address.c:1023: `hostPtr' undeclared (first use this function)
address.c:1041: `return' with no value, in function returning non-void
address.c:1051: parse error before `origClass'
address.c:1055: parse error before `else'
address.c:1061: parse error before `;'
address.c:1062: parse error before `1'
address.c:1069: break statement not within loop or switch
address.c:1073: continue statement not within a loop
address.c:1080: confused by earlier errors, bailing out
*** Error code 1
############################################################################
##########_______________________________________________
Ntop mailing list
Ntop@unipi.it
http://listmanager.unipi.it/mailman/listinfo/ntop
Re: Regarding installation of ntop-1.3.1 [ In reply to ]
Neeta Srivastava wrote:

> gnuline.c:41: readline/history.h: No such file or directory
> gnuline.c:44: readline/readline.h: No such file or directgnuline.c: In

You need to install the GNU readline (I guess) and his headers.

I guess you can find it in your favorite GNU download center (If you
don't have a favorite, get one from http://www.gnu.org/order/ftp.html),
in ftp://<server-name>/pub/gnu/readline

I get one at ftp://ftp.irisa.fr/pub/gnu/readline






--
Frédéric Hermann | Société Ferma
Administrateur réseau, Ferma Grenoble | 31 ch. du vieux chêne
Tel : +33 (0)4 76 61 79 01 | ZIRST
Fax : +33 (0)4 76 61 79 59 | 38240 MEYLAN FRANCE
Re: Regarding installation of ntop-1.3.1 [ In reply to ]
Neeta Srivastava wrote:
>
> While making ntop1.3.1 I am getting following error.
> Is there something wrong with the address.c file.
> Tell me the correct path from where I can get the tar file for ntop.
>
> ############################################################################
> ##########
> g++ -DHAVE_CONFIG_H -I. -I./gdchart0.94b -I/usr/include/pcap
^^^^^^^

You use g++ !
In your first message (concerning readline) you correctly used gcc
instead of g++.
Check the different config files, the value of the CC var, the output of
./configure (and the config.log file), but I don't think you'r supposed
to compile ntop using the C++ syntax.




--
Frédéric Hermann | Société Ferma
Administrateur réseau, Ferma Grenoble | 31 ch. du vieux chêne
Tel : +33 (0)4 76 61 79 01 | ZIRST
Fax : +33 (0)4 76 61 79 59 | 38240 MEYLAN FRANCE
RE: Regarding installation of ntop-1.3.1 [ In reply to ]
That I hade changed it in the Makefile as when I was uning gcc it was shoing
following errors
############################################################################
###########
/include/pcap -I/usr/local/include -g -O2 -pipe -c address.c
rm -f .libs/address.lo
gcc -DHAVE_CONFIG_H -I. -I./gdchart0.94b -I/usr/include/pcap
-I/usr/local/include -g -O2 -pipe -c address.c -fPIC -DPIC -o
.libs/address.lo
address.c: In function `dequeueAddress':
address.c:283: `capturePackets' undeclared (first use in this function)
address.c:283: (Each undeclared identifier is reported only once
address.c:283: for each function it appears in.)
address.c: At top level:
address.c:401: conflicting types for `ipaddr2str'
globals-core.h:546: previous declaration of `ipaddr2str'
address.c:955: conflicting types for `handleDNSpacket'
globals-core.h:473: previous declaration of `handleDNSpacket'
address.c:1197: conflicting types for `checkSpoofing'
globals-core.h:675: previous declaration of `checkSpoofing'
*** Error code 1
make: Fatal error: Command failed for target `address.lo'
############################################################################
###

-----Original Message-----
From: frederic.hermann@ferma.fr [mailto:frederic.hermann@ferma.fr]
Sent: Thursday, July 26, 2001 1:30 PM
To: ntop@unipi.it
Subject: Re: [Ntop] Regarding installation of ntop-1.3.1




Neeta Srivastava wrote:
>
> While making ntop1.3.1 I am getting following error.
> Is there something wrong with the address.c file.
> Tell me the correct path from where I can get the tar file for ntop.
>
>
############################################################################
> ##########
> g++ -DHAVE_CONFIG_H -I. -I./gdchart0.94b -I/usr/include/pcap
^^^^^^^

You use g++ !
In your first message (concerning readline) you correctly used gcc
instead of g++.
Check the different config files, the value of the CC var, the output of
./configure (and the config.log file), but I don't think you'r supposed
to compile ntop using the C++ syntax.




--
Frédéric Hermann | Société Ferma
Administrateur réseau, Ferma Grenoble | 31 ch. du vieux chêne
Tel : +33 (0)4 76 61 79 01 | ZIRST
Fax : +33 (0)4 76 61 79 59 | 38240 MEYLAN FRANCE
_______________________________________________
Ntop mailing list
Ntop@unipi.it
http://listmanager.unipi.it/mailman/listinfo/ntop
Re: Regarding installation of ntop-1.3.1 [ In reply to ]
Neeta Srivastava wrote:
>
> That I hade changed it in the Makefile as when I was uning gcc it was shoing
> following errors
> ############################################################################
> ###########
> /include/pcap -I/usr/local/include -g -O2 -pipe -c address.c
> rm -f .libs/address.lo
> gcc -DHAVE_CONFIG_H -I. -I./gdchart0.94b -I/usr/include/pcap
> -I/usr/local/include -g -O2 -pipe -c address.c -fPIC -DPIC -o
> .libs/address.lo
> address.c: In function `dequeueAddress':
> address.c:283: `capturePackets' undeclared (first use in this function)

Are you using the latest libpcap ?

Maybe, if you really want someone be able to help you, you could begin
by giving the plaform you use, the ./configure options you use, etc etc
...

I don't think ntop is the problem. I think you lack some basic
librairies, and that maybe config.log could give you some hints


--
Frédéric Hermann | Société Ferma
Administrateur réseau, Ferma Grenoble | 31 ch. du vieux chêne
Tel : +33 (0)4 76 61 79 01 | ZIRST
Fax : +33 (0)4 76 61 79 59 | 38240 MEYLAN FRANCE
Re: html page names error! [ In reply to ]
Hello ,

I thouht you might want to know of a small bug I seem to have found.

When running RedHat 7.1 kernel 2.4.2 ntop version 1.3.2-5 if I specify
a fake html page name , one that does not exist in the directory, ntop
for some odd reason instead of giving a page not found 404 error returns
a stats page entitled " Info about xxx.xxx.xxx.xxx"

for instance if i type
http://xxx.xxx.xxx.xxx:3000/thispagedoesnotexist.html i get statistics
on an IP that has been sniffed (I believe it is the last IP whose
packet ntop captured when the request for the page came to ntop.)

Am i mad or is this happenning to anyone else?

hmm maybe you shouldnt answer the first part .

Thanks

Madhav


Note: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Wagner Weber & Williams