Hello:

I tried to compile the latest CVS Checkout (checked out 11-04-2004).

When it tried to compile the dump XML plugin, I get:

xmldumpPlugin.c:857: error: syntax error before "SSL_connection"
In file included from xmldumpPlugin.c:1429:
xml_s_simpleprototrafficinfo.inc: In function `newxml_simpleprototrafficinfo':
xml_s_simpleprototrafficinfo.inc:46: error: structure has no member named
`lastLocal'
xml_s_simpleprototrafficinfo.inc:46: error: structure has no member named
`lastLocal'
xml_s_simpleprototrafficinfo.inc:52: error: structure has no member named
`lastLocal2remote'
xml_s_simpleprototrafficinfo.inc:52: error: structure has no member named
`lastLocal2remote'
xml_s_simpleprototrafficinfo.inc:58: error: structure has no member named
`lastRem'
xml_s_simpleprototrafficinfo.inc:58: error: structure has no member named
`lastRem'
xml_s_simpleprototrafficinfo.inc:64: error: structure has no member named
`lastRem2local'
xml_s_simpleprototrafficinfo.inc:64: error: structure has no member named
`lastRem2local'
xmldumpPlugin.c: At top level:
xmldumpPlugin.c:1440: error: syntax error before "SSL_connection"
xmldumpPlugin.c:1441: warning: no previous prototype for
`newxml_ssl_connection'In file included from xmldumpPlugin.c:1693:
xml_g_invoke.inc: In function `dumpXML_invoke':
xml_g_invoke.inc:79: error: structure has no member named `accessLogFile'
xml_g_invoke.inc:85: error: structure has no member named
`enablePacketDecoding'xml_g_invoke.inc:91: error: structure has no member named
`stickyHosts'
xml_g_invoke.inc:97: error: structure has no member named `daemonMode'
xml_g_invoke.inc:103: error: structure has no member named `maxNumLines'
xml_g_invoke.inc:110: error: structure has no member named `rFileName'
xml_g_invoke.inc:116: error: structure has no member named
`trackOnlyLocalHosts'xml_g_invoke.inc:122: error: structure has no member named
`devices'
xml_g_invoke.inc:128: error: structure has no member named
`enableOtherPacketDump'
xml_g_invoke.inc:134: error: structure has no member named
`filterExpressionInExtraFrame'
xml_g_invoke.inc:140: error: structure has no member named `pcapLog'
xml_g_invoke.inc:146: error: structure has no member named `localAddresses'
xml_g_invoke.inc:152: error: structure has no member named `numericFlag'
xml_g_invoke.inc:158: error: structure has no member named `dontTrustMACaddr'
xml_g_invoke.inc:164: error: structure has no member named `protoSpecs'
xml_g_invoke.inc:170: error: structure has no member named
`enableSuspiciousPacketDump'
xml_g_invoke.inc:176: error: structure has no member named `refreshRate'
xml_g_invoke.inc:183: error: structure has no member named
`disablePromiscuousMode'
xml_g_invoke.inc:189: error: structure has no member named `traceLevel'
xml_g_invoke.inc:196: error: structure has no member named `maxNumHashEntries'
xml_g_invoke.inc:203: error: structure has no member named `maxNumSessions'
xml_g_invoke.inc:227: error: structure has no member named `defaultVsan'
xml_g_invoke.inc:234: error: structure has no member named `webAddr'
xml_g_invoke.inc:240: error: structure has no member named `webPort'
xml_g_invoke.inc:247: error: structure has no member named
`enableSessionHandling'
xml_g_invoke.inc:253: error: structure has no member named
`currentFilterExpression'
xml_g_invoke.inc:259: error: structure has no member named `domainName'
xml_g_invoke.inc:265: error: structure has no member named `flowSpecs'
xml_g_invoke.inc:273: error: structure has no member named `debugMode'
xml_g_invoke.inc:279: error: structure has no member named `useSyslog'
xml_g_invoke.inc:288: error: structure has no member named `mergeInterfaces'
xml_g_invoke.inc:294: error: structure has no member named `pcapLogBasePath'
xml_g_invoke.inc:300: error: structure has no member named `fcNSCacheFile'
xml_g_invoke.inc:318: error: structure has no member named `printFcOnly'
xml_g_invoke.inc:324: error: structure has no member named `mapperURL'
xml_g_invoke.inc:359: error: structure has no member named `disableSchedYield'
xml_g_invoke.inc:367: error: structure has no member named `P3Pcp'
xml_g_invoke.inc:373: error: structure has no member named `P3Puri'
xml_g_invoke.inc:379: error: structure has no member named `disableStopcap'
xml_g_invoke.inc:385: error: structure has no member named
`disableInstantSessionPurge'
xml_g_invoke.inc:391: error: structure has no member named `noFc'
xml_g_invoke.inc:397: error: structure has no member named
`noInvalidLunDisplay'xml_g_invoke.inc:403: error: structure has no member named
`disableMutexExtraInfo'
xml_g_invoke.inc:409: error: structure has no member named `skipVersionCheck'
xmldumpPlugin.c: In function `dumpXML':
xmldumpPlugin.c:1878: error: structure has no member named `sslPort'
xmldumpPlugin.c:1882: error: structure has no member named `sslPort'
xmldumpPlugin.c:1882: error: structure has no member named `sslPort'
make[3]: *** [xmldumpPlugin.lo] Error 1
make[3]: Leaving directory `/opt/ntop/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/ntop/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/ntop'
make: *** [all] Error 2

If I do: grep sslPort *.h, I get:

globals-defines.h:#define NTOP_PREF_SSLPORT          "ntop.sslPort"
globals-structtypes.h:  int  sslPort;

which means that it has been defined, but for some reason the xmldump is not
taking the NTOP_PREF_SSLPORT define somehow... any help?

Here is my configure statement:

export CPPFLAGS="-I/usr/include/glib-2.0 -I/usr/include/libgdome
-I/usr/include/libxml2 -I/usr/lib/glib-2.0/include"
export CFLAGS=$CPPFLAGS
./configure --without-ssl


Thanks in advance,


-- Juan





--------------------
Juan F. Arjona
email:: [EMAIL PROTECTED]
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to