Thank you Burton,

I cleaned up all old version, and reinstalled 2.1.56. This time I completely followed BUILD-NTOP.txt file in docs.

After building chart libraries, I tried to build ntop but I had an error message when I make,

icmpPlugin.c: In function 'handleIcmpWatchHTTPrequest' :
icmpPlugin.c:432: Unable to generate reloads for :
(insn 2522 2520 2523 (set (reg:SF 8 st(0))
(float)truncate:SF (reg:XF 9 st(1)))) 91 {*truncxfsf2_2} (nil)
(expr_list:REG_DEAD (reg:XF 9 st(1))
(nil)))
icmpPlugin.c:432: Internal compiler error in find_reloads, at reload.c:3493
Please submit a full bug report.
make [3]:***[icmpPlugin.lo] Error 1
make [3]:Leaving directory '/home/yoshi/ntop-2.1.56/ntop/plugins'
make [2]:***[all-recursive] Error 1
make [2]:Leaving directory '/home/yoshi/ntop-2.1.56/ntop/plugins'
make [1]:***[all-recursive] Error 1
make [1]:Leaving directory '/home/yoshi/ntop-2.1.56/ntop'
make: ***[all] Error 2

Did I do anything wrong?







There are some bugs in 2.1.3, that's why the development version is long
past it.

You're long on information about your compiles but don't show how you're
invoking ntop nor the log messages, so this is a guess, but it may be in
extending the hash.

Thoughts:

0. You shouldn't need to do make install for ANY of the tools if you're
using the static versions in the ntop source tree.  In fact, that can cause
problems due to version conflicts with libpng.  DON'T DO THAT.  In fact,
uninstall them.

1. Try the current development version.

2. Run under gdb and capture the output, but frankly as we're working
towards 2.2, we don't have much interest in fixing 2.1.3.  Instructions for
running gdb and what to capture are in the docs/FAQ of recent development
snapshots and releases or at http://snapshot.ntop.org


-----Burton


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of yoshi
Sent: Friday, February 07, 2003 12:39 PM
To: [EMAIL PROTECTED]
Subject: [Ntop] Segmentation fault on ntop.


I just installed ntop in 2 Linux boxes, one is Redhat 7.2 and the other
one is 7.0.

In Redhat 7.2, it works just fine, but in 7.0, when I start ntop, it
gives me an error message,
"Segmentation fault (core dumped)".

I installed ntop in thoese 2 linux boxes exactly same way.
Here is what I did,

Downloaded ntop-2.1.3.tar.gz and libpcap-0.7.1.tar.gz.

#tar zvfx libpcap-0.7.1.tar.gz
#cd libpcap-0.7.1.tar.gz
#./configure --prefix=/usr/local/src/libpcap
#make
#make install

#tar zvfx ntop-2.1.3.tar.gz
#cd ./ntop-2.1.3/gdchart0.94c/gd-1.8.3/zlib-1.1.4
#./configure
#make
#make install

#cd ./ntop-2.1.3/gdchart0.94c/gd-1.8.3/libpng-1.2.1/script/
#cp makefile.linux ../makefile
#cd ..
#make test
#make install

#cd ./ntop-2.1.3/gdchart0.94c/gd-1.8.3
#make
#make install

#cd ./ntop-2.1.3/gdchart0.94c
#./configure
#make

#cd ./ntop-2.1.3/ntop
#./autogen.sh -1
#./configure --prefix=/usr/local/src/ntop
             --with-pcap-root=/home/yoshi/software/libpcap-0.7.1
        --with-gdchart-root=/home/yoshi/software/ntop-2.1.3/gdchart0.94c
#make
#make install


I read all FAQs and documents and tried all different parameters, but
none of them worked.  It always gives me same error,
Segmentation fault (core dumped)

However, intop works just fine.

Does anyone have any idea?


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop




________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to