On Tue, Jun 24, 2008 at 11:05:24PM -0500, Carlo Marcelo Arenas Belon wrote: > > but it is not the only code that is not C++ clean either : > > mod_example.c:119: error: redefinition of 'mmodule example_module' > mod_example.c:42: error: 'mmodule example_module' previously declared here
this one and the others that were missing fixed in trunk in r1495. to compile mod_example.c using g++ from a build tree (using a equivalent command as used by make normally in a 64-bit linux system with apr headers in /usr/include/apr-1) : g++ -fpic -shared -DHAVE_CONFIG_H -I. -I../../.. -I/usr/include/apr-1 \ -I../../../include -I../../../lib -g -O2 -fno-strict-aliasing -Wall \ -D_REENTRANT -o .libs/modexample.so mod_example.c Carlo PS. you might need to use -isystem or remove the installed headers to be sure to use the right set ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general

