>From : https://svn.ntop.org/svn/ntop/trunk/ntop/globals-structtypes.h
#ifdef PARM_USE_SESSIONS_CACHE
IPSession *sessionsCache[MAX_SESSIONS_CACHE_LEN];
FCSession *fcSessionsCache[MAX_SESSIONS_CACHE_LEN];
u_short sessionsCacheLen, sessionsCacheLenMax;
int sessionsCacheReused;
#endif
I recall changing this in the globals-defines.h; so I'm gonna change it
back to default and see if I can get past this error.
then mv -f ".deps/sessions.Tpo" ".deps/sessions.Plo"; else rm -f
".deps/sessions.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/local/include
-I/tmp/ntop-svn/ntop/lua-5.1.4/src
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.9/BSDPAN -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include
-I/usr/local/lib/perl5/5.8.9/mach/CORE -DFREEBSD -I/usr/local/include
-I/opt/local/include -g -O2 -I/usr/local/include -I/opt/local/include
-Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -fPIC -DPIC -I/tmp/ntop-svn/ntop/GeoIP-1.4.6/libGeoIP/
-MT sessions.lo -MD -MP -MF .deps/sessions.Tpo -c sessions.c -fPIC
-DPIC -o .libs/sessions.o
In file included from ntop.h:417,
from sessions.c:24:
/usr/local/include/evdns.h:510: warning: declaration of 'socket' shadows
a global declaration
/usr/include/sys/socket.h:576: warning: shadowed declaration is here
sessions.c: In function `freeFcSession':
sessions.c:444: warning: assignment from incompatible pointer type
sessions.c: In function `handleFcSession':
sessions.c:3810: error: structure has no member named `fcsessionsCache'
gmake[2]: *** [sessions.lo] Error 1
gmake[2]: Leaving directory `/tmp/ntop-svn/ntop'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/ntop-svn/ntop'
gmake: *** [all] Error 2
wanmon1#
<font size="1">
<div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in
1.0pt 0in'>
</div>
"This email is intended to be reviewed by only the intended recipient
and may contain information that is privileged and/or confidential.
If you are not the intended recipient, you are hereby notified that
any review, use, dissemination, disclosure or copying of this email
and its attachments, if any, is strictly prohibited. If you have
received this email in error, please immediately notify the sender by
return email and delete this email from your system."
</font>
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop