Find the answer to your Linux question:
Results 1 to 10 of 10
Will somebody help in installing and configuring ntop3.3 ?? I get error while running make........ Error starts as; linux-bkqe:~/Desktop/ntop-3.3 # make make all-recursive make[1]: Entering directory `/root/Desktop/ntop-3.3' Making all in ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    4

    Installing NTOP


    Will somebody help in installing and configuring ntop3.3 ??
    I get error while running make........
    Error starts as;
    linux-bkqe:~/Desktop/ntop-3.3 # make
    make all-recursive
    make[1]: Entering directory `/root/Desktop/ntop-3.3'
    Making all in .
    make[2]: Entering directory `/root/Desktop/ntop-3.3'
    if /bin/sh ./libtool --mode=3Dcompile --tag=3DCC gcc -DHAVE_CONFIG_H -I. =
    -I. -I.
    -I. -DINET6 -O2 -march=3Di586 -mtune=3Di686 -fmessage-length=3D0 -Wall
    -D_FORTIFY_SOURCE=3D2 -g -fno-strict-aliasing -fstack-protector-all =
    -Dlinux
    -I/usr/include/rpm -I. -I/usr/include -DLINUX -I/usr/local/include -g =
    -O2
    -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes
    -Wmissing-declarations -Wnested-externs -fPIC -DPIC -MT iface.lo -MD -MP =
    -MF
    ".deps/iface.Tpo" -c -o iface.lo iface.c; \
    then mv -f ".deps/iface.Tpo" ".deps/iface.Plo"; else rm -f
    ".deps/iface.Tpo"; exit 1; fi
    gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -DINET6 -O2 -march=3Di586 =
    -mtune=3Di686
    -fmessage-length=3D0 -Wall -D_FORTIFY_SOURCE=3D2 -g -fno-strict-aliasing
    -fstack-protector-all -Dlinux -I/usr/include/rpm -I. -I/usr/include =
    -DLINUX



    Please assist in providing installation staps.
    Thanks!

  2. #2
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,104
    Looks like you are missing some dependency. Most likely the development version.

  3. #3
    Just Joined!
    Join Date
    Jun 2008
    Posts
    4
    Thank You Very Much, So do you suggest downloading the older version and test?

    Thank You again!

  4. $spacer_open
    $spacer_close
  5. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    I can't see an error in the output you posted, so can you post the part with the actual error message (and about 5 lines before the error shows up).

  6. #5
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,104
    Ntop 3.2-41 is on the opensuse repository. No compiling needed

  7. #6
    Just Joined!
    Join Date
    Jun 2008
    Posts
    4

    Ntop

    Hello and Thank You, i will try 3.2 but for complete information this is the error i get!

    ECA-SMTP-01:/usr/local/ntop/ntop-3.3 # make
    make all-recursive
    make[1]: Entering directory `/usr/local/ntop/ntop-3.3'
    Making all in .
    make[2]: Entering directory `/usr/local/ntop/ntop-3.3'
    if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -DINET6 -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE= 2 -g -fno-strict-aliasing -fstack-protector-all -Dlinux -I/usr/include/rpm -I. - I/usr/include -DLINUX -I/usr/local/include -g -O2 -I/usr/local/include -Wsha dow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -DPIC -MT iface.lo -MD -MP -MF ".deps/iface.Tpo" -c -o iface.lo iface.c; \
    then mv -f ".deps/iface.Tpo" ".deps/iface.Plo"; else rm -f ".deps/iface.Tpo"; ex it 1; fi
    gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -DINET6 -O2 -march=i586 -mtune=i686 -fmessa ge-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing -fstack-protector- all -Dlinux -I/usr/include/rpm -I. -I/usr/include -DLINUX -I/usr/local/include - g -O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissi ng-declarations -Wnested-externs -fPIC -DPIC -MT iface.lo -MD -MP -MF .deps/ifac e.Tpo -c iface.c -fPIC -DPIC -o .libs/iface.o
    iface.c:765:38: error: net-snmp/net-snmp-config.h: No such file or directory
    iface.c:766:40: error: net-snmp/net-snmp-includes.h: No such file or directory
    iface.c: In function ‘getIfName’:
    iface.c:775: error: storage size of ‘session’ isn’t known
    iface.c:779: error: ‘oid’ undeclared (first use in this function)
    iface.c:779: error: (Each undeclared identifier is reported only once
    iface.c:779: error: for each function it appears in.)
    iface.c:779: error: expected ‘;’ before ‘anOID’
    iface.c:780: error: ‘MAX_OID_LEN’ undeclared (first use in this function)
    iface.c:791: warning: implicit declaration of function ‘init_snmp’
    iface.c:791: warning: nested extern declaration of ‘init_snmp’
    iface.c:796: warning: implicit declaration of function ‘snmp_sess_init’
    iface.c:796: warning: nested extern declaration of ‘snmp_sess_init’
    iface.c:802: error: ‘SNMP_VERSION_1’ undeclared (first use in this function)
    iface.c:811: warning: implicit declaration of function ‘snmp_open’
    iface.c:811: warning: nested extern declaration of ‘snmp_open’
    iface.c:811: warning: assignment makes pointer from integer without a cast
    iface.c:816: warning: implicit declaration of function ‘snmp_pdu_create’
    iface.c:816: warning: nested extern declaration of ‘snmp_pdu_create’
    iface.c:816: error: ‘SNMP_MSG_GET’ undeclared (first use in this function)
    iface.c:816: warning: assignment makes pointer from integer without a cast
    iface.c:819: warning: implicit declaration of function ‘read_objid’
    iface.c:819: warning: nested extern declaration of ‘read_objid’
    iface.c:819: error: ‘anOID’ undeclared (first use in this function)
    iface.c:819: warning: implicit declaration of function ‘snmp_add_null_var’
    iface.c:819: warning: nested extern declaration of ‘snmp_add_null_var’
    iface.c:827: warning: implicit declaration of function ‘snmp_synch_response’
    iface.c:827: warning: nested extern declaration of ‘snmp_synch_response’
    iface.c:832: error: ‘STAT_SUCCESS’ undeclared (first use in this function)
    iface.c:832: error: dereferencing pointer to incomplete type
    iface.c:832: error: ‘SNMP_ERR_NOERROR’ undeclared (first use in this function)
    iface.c:834: error: dereferencing pointer to incomplete type
    iface.c:834: error: dereferencing pointer to incomplete type
    iface.c:835: error: dereferencing pointer to incomplete type
    iface.c:835: error: ‘ASN_OCTET_STR’ undeclared (first use in this function)
    iface.c:836: error: dereferencing pointer to incomplete type
    iface.c:836: error: dereferencing pointer to incomplete type
    iface.c:837: error: dereferencing pointer to incomplete type
    iface.c:837: error: dereferencing pointer to incomplete type
    iface.c:848: warning: implicit declaration of function ‘snmp_free_pdu’
    iface.c:848: warning: nested extern declaration of ‘snmp_free_pdu’
    iface.c:849: warning: implicit declaration of function ‘snmp_close’
    iface.c:849: warning: nested extern declaration of ‘snmp_close’
    iface.c:784: warning: unused variable ‘count’
    iface.c:775: warning: unused variable ‘session’
    make[2]: *** [iface.lo] Error 1
    make[2]: Leaving directory `/usr/local/ntop/ntop-3.3'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/local/ntop/ntop-3.3'
    make: *** [all] Error 2

  8. #7
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    I think you need to install net-snmp-devel in order to resolve that problem. Another option is to install ntop using YAST as mentioned above.

  9. #8
    Just Joined!
    Join Date
    Jun 2008
    Posts
    4

    Configuring NTOP

    Thank You very much for your time and assistance. i have managed to install ntop3.2 . i can access it through the web as well. but i need addidtional information on the settings that i have to make.
    If i need to only monitor the switches and routers instead of all the workstations what changes do i have to make? or if i just need to monitor the routers, what changes do i have to make. Please assit..............

    Thank You again!

  10. #9
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,104
    Try info or man ntop this will normally get you how to set things up. If that does not work try the developers web page.

  11. #10
    Linux Newbie harner's Avatar
    Join Date
    Jun 2004
    Location
    PA, USA
    Posts
    209
    ntop - network top

    Check that website out and join their mailing list. When I set up NTop I asked in the mailing list and got my issues resolved promptly.
    I praise Webmin and PuTTy!
    Registered Linux User: 439431

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •