[collectd] Collectd compile error on mongo

Jester jester at atlansys.com
Sun May 13 00:15:57 CEST 2012


Hi !

Here's the error that I get :
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DPREFIX=\"/opt/collectd\" 
-DCONFIGFILE=\"/opt/collectd/etc/collectd.conf\" 
-DLOCALSTATEDIR=\"/opt/collectd/var\" 
-DPKGLOCALSTATEDIR=\"/opt/collectd/var/lib/collectd\" 
-DPIDFILE=\"/opt/collectd/var/run/collectd.pid\" 
-DPLUGINDIR=\"/opt/collectd/lib/collectd\" 
-DPKGDATADIR=\"/opt/collectd/share/collectd\" -Wall -Werror -g -O2 -MT 
write_mongodb_la-write_mongodb.lo -MD -MP -MF 
.deps/write_mongodb_la-write_mongodb.Tpo -c write_mongodb.c -fPIC -DPIC 
-o .libs/write_mongodb_la-write_mongodb.o
write_mongodb.c: In function 'wm_write':
write_mongodb.c:201: erreur: too few arguments to function 'mongo_insert'
make[3]: *** [write_mongodb_la-write_mongodb.lo] Erreur 1

Has anybody seen this before ?

Cheers,
Franck



More information about the collectd mailing list