Alessandro Forghieri wrote:
>       This has been going on for a few days. I am appending the last lines of
> the build (prob'ly looking for stuff that should be in ./libs but is
> not, or viceversa)
>
> Things that are also problematic:
> *) The fedora ntop.spec is broken. as of now, I have put together a
> semi-functional version which,however, is no longer working because of
> libraries that do not get packaged (ntop, ntopreport).The existing
> version (which needs to have various Patch statement removed to even
> start working) plays games with libraries and ends up removing their .so
> extension, then fails to package a number of the files it has so
> mangled. No idea why).
>   
1. contact the Fedora package maintained
> *) more crucially, I cannot keep an ntop going on a box connected to a
> SPANned switch for more than 4/5 vhours at a time (either crashes OR -
> older versions- freezes). This has been going on since the 3.2 rpms (my
> reason for getting involved in the cvs version in the first place). One
> cannot simply restart ntop when it crashes because (a) it tends to crash
> a lot, (b) it inserts large spikes in the RRD graphs, which become
> instantly useless. I did debug the original crash (ostensibly caused by
> a bad gdbm allocation) did not get attention from the list, moved on to
> CVS - the last time I could get a working RPM, ntop was crashing with
> some memory violation.
>   

Are you using the code that's on the CVS?

Luca
> Cheers,
> alf
>
> == build fails n FC6: output
>
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DINET6 -O2 -g -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables -lcrypto -Dlinux -D_REENTRANT -D_GNU_SOURCE
> -fno-strict-aliasing -pipe -Wdeclaration-after-statement
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -I/usr/include/gdbm -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE
> -I. -I/usr/include/net-snmp -DLINUX -I/usr/local/include -O2 -g -pipe
> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables -I/usr/local/include -Wshadow
> -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
> -Wnested-externs -fPIC -DPIC -MT libsflowPlugin_la-sflowPlugin.lo -MD
> -MP -MF .deps/libsflowPlugin_la-sflowPlugin.Tpo -c sflowPlugin.c  -fPIC
> -DPIC -o .libs/libsflowPlugin_la-sflowPlugin.o
> In file included from sflowPlugin.c:29:
> ../ntop.h:136:1: warning: "_XOPEN_SOURCE" redefined
> In file included from ../ntop.h:88,
>                  from sflowPlugin.c:29:
> /usr/include/features.h:156:1: warning: this is the location of the
> previous definition
> gcc: -lcrypto: linker input file unused because linking not done
> /bin/sh ../libtool --tag=CC --mode=link gcc  -O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables -I/usr/local/include -Wshadow
> -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
> -Wnested-externs  -fPIC -DPIC  -L/usr/local/lib -o libsflowPlugin.la
> -rpath /usr/lib -shared -release 3.3rc_final
> libsflowPlugin_la-sflowPlugin.lo  -lpthread -lcrypt -lc -lssl -lrrd_th
> -lpcre -lgdbm -lz -L/usr/lib -lnetsnmp -lcrypto -lm -L/usr/lib/lib
> -lwrap 
> gcc -shared  .libs/libsflowPlugin_la-sflowPlugin.o  -L/usr/local/lib
> -lpthread -lcrypt -lc -lssl -lrrd_th -lpcre -lgdbm -lz -L/usr/lib
> -lnetsnmp -lcrypto -lm -L/usr/lib/lib -lwrap -lc  -m32 -march=i386
> -mtune=generic -Wl,-soname -Wl,libsflowPlugin-3.3rc_final
> -o .libs/libsflowPlugin-3.3rc_final
> (cd .libs && rm -f libsflowPlugin && ln -s libsflowPlugin-3.3rc_final
> libsflowPlugin)
> creating libsflowPlugin.la
> (cd .libs && rm -f libsflowPlugin.la && ln -s ../libsflowPlugin.la
> libsflowPlugin.la)
> gcc: icmpPlugin.o: No such file or directory
> gcc: no input files
> make[3]: *** [.libs/libicmpPlugin.so] Error 1
> make[3]: Leaving directory `/usr/src/redhat/BUILD/ntop/plugins'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/redhat/BUILD/ntop/plugins'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/redhat/BUILD/ntop'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.25355 (%build)
>
>
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.25355 (%build)
>
>
> ________________________________________________________________________
>
>
>
> Ing. Alessandro Forghieri
> <[EMAIL PROTECTED]>
> Partner, Nouvelle S.r.l.
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ntop-dev mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-dev
>   


-- 
Luca Deri <[EMAIL PROTECTED]>   http://luca.ntop.org/
                                skype://lucaderi/
Don't be encumbered by past history. Go off and do
something wonderful - Robert Noyce

_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to