Hello,

I've a system LINUX10.3 and NTOP 3.3 installed via yast. This is running
. Now I deinstall it and decie to install ntop 3.3.5
But I've problem compiling ntop3.3.5. Any idea what's the problem ?

Regards

Rolf


Download  svn co https://svn.ntop.org/svn/ntop/trunk/ntop ntop

export CPPFLAGS="-lm"
export LDFLAGS="-L/opt/lib"

I need to edit configureextra/LINUXsuse and replace   /usr/X11R6/lib
against /usr/lib

./autogen.sh ...

..
2. Preparing for libtool ....
You should update your `aclocal.m4' by running aclocal.
    Finding libtool.m4.in
        .... found /usr/share/aclocal/libtool.m4
        .... done
...
4. Running aclocal to create aclocal.m4 ...
acinclude.m4:206: the serial number must appear before any macro
definition
        .... done
....
6. Running automake to create Makefile.in ...
Makefile.am:119: compiling `main.c' with per-target flags requires
`AM_PROG_CC_C_O' in `configure.in'
        .... done

make
...
address.c: In function 'handleDNSpacket':
address.c:1634: warning: 'strtokState' may be used uninitialized in this
function
...
fcUtils.c: In function 'processFcNSCacheFile':
fcUtils.c:660: warning: array subscript is above array bounds
....
In file included from /usr/include/net-snmp/utilities.h:54,
                 from /usr/include/net-snmp/net-snmp-includes.h:74,
                 from iface.c:769:
/usr/include/net-snmp/library/container.h: In function 'CONTAINER_FREE':
/usr/include/net-snmp/library/container.h:416: error: lvalue required as
left operand of assignment
make[2]: *** [iface.lo] Fehler 1
make[2]: Leaving directory `/root/install/ntop'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/root/install/ntop'
make: *** [all] Fehler 2 
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to