It should NOT need this - there is already code for a nop version:
#ifndef MAKE_WITH_XMLDUMP
static int dumpXML(char * url) {
return(0);
}
#else
...
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Ola Lundqvist
Sent: Sunday, October 16, 2005 1:36 PM
To: [email protected]
Subject: [Ntop-dev] Fix for some architectures.
Hello
ntop do not build on some architectures on Debian with gcc 4.
Here is the patch that fix that.
--- xmldumpPlugin.c.old 2005-10-08 16:25:07.760558536 +0200
+++ xmldumpPlugin.c 2005-10-08 16:29:19.279226640 +0200
@@ -486,8 +486,10 @@
return;
}
+#ifdef MAKE_WITH_XMLDUMP
/* Process it */
dumpXML(url);
+#endif
#if defined(PARM_FORK_CHILD_PROCESS) && (!defined(WIN32))
if(myGlobals.childntoppid != 0)
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=332775 for more
information about the issue and who submitted that patch.
Regards,
// Ola
--
--------------------- Ola Lundqvist ---------------------------
/ [EMAIL PROTECTED] Annebergsslingan 37 \
| [EMAIL PROTECTED] 654 65 KARLSTAD |
| +46 (0)54-10 14 30 +46 (0)70-332 1551 |
| http://www.opal.dhs.org UIN/icq: 4912500 |
\ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 /
---------------------------------------------------------------
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev