Hi,
 
I'm trying to compile the latest cvs on Solaris.  It seems I am missing some
files.  I've tried finding them and I don't have them.  I've searched the
threads and haven't found this issue.  Please help.  Thanks.
 
I've run autoheader;autoconf;./configure;make and this is the result:

source='sessions.c' object='sessions.lo' libtool=yes \
depfile='.deps/sessions.Plo' tmpdepfile='.deps/sessions.TPlo' \
depmode=gcc /bin/bash ./depcomp \
/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I.
-I/export/home/ntop/ntop/myrrd   -DSOLARIS -I/usr/local/include
-I/opt/sfw/include -I/usr/local/include -I/export/home/ntop/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 sessions.lo `test -f 'sessions.c' || echo
'./'`sessions.c
rm -f .libs/sessions.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/export/home/ntop/ntop/myrrd -DSOLARIS
-I/usr/local/include -I/opt/sfw/include -I/usr/local/include
-I/export/home/ntop/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
sessions.c -Wp,-MD,.deps/sessions.TPlo  -fPIC -DPIC -o .libs/sessions.lo
sessions.c: In function `scanTimedoutTCPSessions':
sessions.c:477: parse error before `static'
sessions.c:493: `idx' undeclared (first use in this function)
sessions.c:493: (Each undeclared identifier is reported only once
sessions.c:493: for each function it appears in.)
make[2]: *** [sessions.lo] Error 1
make[2]: Leaving directory `/export/home/ntop/ntop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/ntop/ntop'
make: *** [all] Error 2



In the config.log I see 3 instances (2 where for net/ethernet.h; 1 for
sys/sysctl.h) where it isn't finding a file and they all say the failed
program was confdefs.h:

configure:12737: $? = 0
configure:12740: test -s conftest.o
configure:12743: $? = 0
configure:12753: result: yes
configure:12757: checking arpa/nameser.h presence
configure:12767: gcc -E  -DSOLARIS -I/usr/local/include -I/opt/sfw/include
-I/usr/local/include conftest.c
configure:12773: $? = 0
configure:12793: result: yes
configure:12828: checking for arpa/nameser.h
configure:12835: result: yes
configure:12862: checking net/ethernet.h usability
configure:12874: gcc -c -g -O2 -I/usr/local/include -Wshadow -Wpointer-arith
-Wmissing-prototypes -Wmissing-declarations -Wnes
ted-externs  -fPIC  -DSOLARIS -I/usr/local/include -I/opt/sfw/include
-I/usr/local/include conftest.c >&5
conftest.c:97: net/ethernet.h: No such file or directory
configure:12880: $? = 1
configure: failed program was:
| /* confdefs.h.  */

Thanks,
Darrick

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

Reply via email to