Yes. xmlDump won't compile in 3.1. We've discussed it on-list. In plugins/ edit the .xml file to remove the erroneous fields...
-----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bahya NASSR EDDINE Sent: Thursday, September 29, 2005 10:25 AM To: [email protected] Subject: [Ntop] Failure of ntop-3.1 compilation on RedHat 9.0 Hi all, The compilation of ntop-3.1 fails with the following: make[2]: *** [xmldumpPlugin.lo] Erreur 1 make[2]: Quitte le répertoire `/path/to/ntop/plugins' make[1]: *** [check-recursive] Erreur 1 make[1]: Quitte le répertoire `/path/to/ntop/plugins' make: *** [check-recursive] Erreur 1 ========================================== Compilation output reports also the following: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../myrrd -I/usr/kerberos/include/ -DLINUX -I/usr/include/libxml2/libxml -I/usr/include/glib-1.2 -I/usr/include/libgdome -I/usr/lib/glib/include -I/usr/local/include -g -O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -MT xmldumpPlugin.lo -MD -MP -MF .deps/xmldumpPlugin.Tpo -c xmldumpPlugin.c -fPIC -DPIC -o .libs/xmldumpPlugin.lo xmldumpPlugin.c:36:2: warning: #warning xmldumpPlugin.c:37:2: warning: #warning =========================================================== xmldumpPlugin.c:38:2: warning: #warning xmldumpPlugin.c:39:2: warning: #warning The include of gdome.h that follows will generate a lot of xmldumpPlugin.c:40:2: warning: #warning compile warnings about 'shadows a global declaration'. xmldumpPlugin.c:41:2: warning: #warning Unfortunately, it's the way this crud is coded and can't xmldumpPlugin.c:42:2: warning: #warning be fixed. Just ignore them! xmldumpPlugin.c:43:2: warning: #warning In file included from xmldumpPlugin.c:44: /usr/include/libgdome/gdome.h:264: warning: declaration of `index' shadows a global declaration /usr/include/string.h:267: warning: shadowed declaration is here /usr/include/libgdome/gdome.h:331: warning: declaration of `version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/include/libgdome/gdome.h:483: warning: declaration of `version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/include/libgdome/gdome.h:585: warning: declaration of `version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/include/libgdome/gdome.h:649: warning: declaration of `version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/include/libgdome/gdome.h:694: warning: declaration of `version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/include/libgdome/gdome.h:739: warning: declaration of `version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/include/libgdome/gdome.h:783: warning: declaration of `version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/include/libgdome/gdome.h:801: warning: declaration of `version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/include/libgdome/gdome.h:857: warning: declaration of `version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/include/libgdome/gdome.h:893: warning: declaration of `version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/include/libgdome/gdome.h:935: warning: declaration of `version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/include/libgdome/gdome.h:977: warning: declaration of `version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/include/libgdome/gdome.h:1013: warning: declaration of `version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/include/libgdome/gdome.h:1033: warning: declaration of `index' shadows a global declaration /usr/include/string.h:267: warning: shadowed declaration is here /usr/include/libgdome/gdome.h:1044: warning: declaration of `index' shadows a global declaration /usr/include/string.h:267: warning: shadowed declaration is here /usr/include/libgdome/gdome.h:1073: warning: declaration of `version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here /usr/include/libgdome/gdome.h:1112: warning: declaration of `version' shadows a global declaration ../globals-core.h:53: warning: shadowed declaration is here xmldumpPlugin.c:45:2: warning: #warning xmldumpPlugin.c:46:2: warning: #warning =========================================================== xmldumpPlugin.c:47:2: warning: #warning In file included from xmldumpPlugin.c:1429: xml_s_simpleprototrafficinfo.inc: In function `newxml_simpleprototrafficinfo': xml_s_simpleprototrafficinfo.inc:49: structure has no member named `lastLocal' xml_s_simpleprototrafficinfo.inc:49: structure has no member named `lastLocal' xml_s_simpleprototrafficinfo.inc:55: structure has no member named `lastLocal2remote' xml_s_simpleprototrafficinfo.inc:55: structure has no member named `lastLocal2remote' xml_s_simpleprototrafficinfo.inc:61: structure has no member named `lastRem' xml_s_simpleprototrafficinfo.inc:61: structure has no member named `lastRem' xml_s_simpleprototrafficinfo.inc:67: structure has no member named `lastRem2local' xml_s_simpleprototrafficinfo.inc:67: structure has no member named `lastRem2local' Would you have any idea on what could the problem be? Thanks ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
