Stanley,
can you please delete webInterface.c and do "cvs co ntop/webInterface.c"?

Thansk, Luca

Stanley Hopcroft wrote:

Dear Gentlefolk,

I am writing to report a compilation problem with todays CVS (2.2.95 24
Sep 2003) on FreeBSD 4.8-RELEASE (-p7), i386.

./configure ...

This is your ntop 2.2.95 configuration:

Host System Type : i386-unknown-freebsd4.8
Preprocessor (cppflags) : -DHAVE_FILEDESCRIPTORBUG -DFREEBSD
-I/usr/local/include -I/usr/local//include
Compiler (cflags) : gcc -g -O2 -I/usr/local/include -Wshadow
-Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -fPIC
Defines : -DHAVE_CONFIG_H
Loader (ldflags) : -L/usr/local/lib -L/usr/local//lib
Include path : -I/usr/local//include System Libs : -lpthread -lc -lcrypt -lssl -lcrypto -lpcap
-lgdbm -lgd -lpng -lz MultiThread mode : enabled
Locale : /usr/share/locale


External packages:

LBL pcap .h             : standard system headers
LBL pcap library        : standard system libraries
GNU gdbm .h             : standard system headers
GNU gdbm library        : standard system libraries
zlib     .h             : standard system headers
zlib     library        : standard system libraries
gd       .h             : /usr/local//include
gd       library        : /usr/local//lib
png      .h             : standard system headers
png      library        : standard system libraries
openSSL  .h             : standard system headers
openSSL  library        : standard system libraries

Install directories:

   Default prefix: /usr/local
   Install into:   /usr/local/ntop-2.2.95 (default or via --prefix
request)

   Data files are in     /usr/local/ntop-2.2.95/share/ntop
   Config files are in   /usr/local/ntop-2.2.95/etc/ntop
   Run directory is      /usr/local/ntop-2.2.95/var/ntop
   Plugin files are in   /usr/local/ntop-2.2.95/lib/ntop/plugins
   Database files are in /usr/local/ntop-2.2.95/var/ntop

-------------------------------------------------------------------

gmake ....

gcc -shared address.lo argv.lo dataFormat.lo getopt.lo getopt1.lo
globals-core.lo hash.lo initialize.lo leaks.lo netflow.lo ntop.lo
pbuf.lo plugin.lo protocols.lo sessions.lo term.lo util.lo traffic.lo
vendor.lo version.lo ntop_darwin.lo -L/usr/local/lib -L/usr/local//lib
-L/home/anwsmh/build/ntop-cvs-24_Sep_2003/ntop/myrrd -lpthread -lc
-lcrypt -lssl -lcrypto -lpcap -lgdbm -lgd -lpng -lz -Wl,-soname
-Wl,libntop-2.2.95.so -o .libs/libntop-2.2.95.so
(cd .libs && rm -f libntop.so && ln -s libntop-2.2.95.so libntop.so)
ar cru .libs/libntop.a address.o argv.o dataFormat.o getopt.o getopt1.o
globals-core.o hash.o initialize.o leaks.o netflow.o ntop.o pbuf.o
plugin.o protocols.o sessions.o term.o util.o traffic.o vendor.o
version.o ntop_darwin.o ranlib .libs/libntop.a
creating libntop.la


(cd .libs && rm -f libntop.la && ln -s ../libntop.la libntop.la)
source='webInterface.c' object='webInterface.lo' libtool=yes \
depfile='.deps/webInterface.Plo' tmpdepfile='.deps/webInterface.TPlo' \
depmode=gcc /usr/local/bin/bash ./depcomp \
/usr/local/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I. -I. -I/usr/local//include
-I/home/anwsmh/build/ntop-cvs-24_Sep_2003/ntop/myrrd
-DHAVE_FILEDESCRIPTORBUG  -DFREEBSD -I/usr/local/include
-I/usr/local//include
-I/home/anwsmh/build/ntop-cvs-24_Sep_2003/ntop/myrrd -g -O2
-I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs  -fPIC -g -O2
-I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs  -fPIC -c -o webInterface.lo
`test -f 'webInterface.c' || echo './'`webInterface.c
rm -f .libs/webInterface.lo

gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/local//include
-I/home/anwsmh/build/ntop-cvs-24_Sep_2003/ntop/myrrd
-DHAVE_FILEDESCRIPTORBUG -DFREEBSD -I/usr/local/include
-I/usr/local//include
-I/home/anwsmh/build/ntop-cvs-24_Sep_2003/ntop/myrrd -g -O2
-I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fPIC -g -O2
-I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fPIC -c webInterface.c
-Wp,-MD,.deps/webInterface.TPlo -fPIC -DPIC -o .libs/webInterface.lo
webInterface.c:4627: warning: no previous prototype for `initSocket'
webInterface.c: In function `initSocket':
webInterface.c:4710: syntax error before `<'
webInterface.c:4715: syntax error before `=='
webInterface.c:4721: syntax error before `>'
webInterface.c:4782: syntax error before `void'
webInterface.c:4826: warning: declaration of `rc' shadows previous local
gmake[2]: *** [webInterface.lo] Error 1
gmake[2]: Leaving directory
`/usr/home/anwsmh/build/ntop-cvs-24_Sep_2003/ntop'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/home/anwsmh/build/ntop-cvs-24_Sep_2003/ntop'
gmake: *** [all] Error 2
pc09011>


Yours sincerely.






--
Luca Deri <[EMAIL PROTECTED]>     http://luca.ntop.org/
Hacker: someone who loves to program and enjoys being
clever about it - Richard Stallman


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

Reply via email to