[collectd] collection4: handler_config errors when compiling action_instance_data_json.c

Cyril Bouthors cyril.bouthors at isvtec.com
Thu Dec 27 12:18:55 CET 2012


Hi again,

I'm also unable to compile collection-4.0.0:

make 
Making all in share
make[1]: Entering directory `/tmp/collection-4.0.0/share'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/collection-4.0.0/share'
Making all in src
make[1]: Entering directory `/tmp/collection-4.0.0/src'
make  all-am
make[2]: Entering directory `/tmp/collection-4.0.0/src'
gcc -DHAVE_CONFIG_H -I.  -DPREFIX='"/opt/collection4"' -DCONFIGFILE='"/opt/collection4/etc/collection.conf"'  -Wall -Wextra -g -O2 -c action_instance_data_json.c
action_instance_data_json.c: In function ‘action_instance_data_json’:
action_instance_data_json.c:63:3: warning: statement with no effect [-Wunused-value]
action_instance_data_json.c:63:19: error: expected ‘;’ before ‘handler_config’
action_instance_data_json.c:89:12: error: ‘handler_config’ undeclared (first use in this function)
action_instance_data_json.c:89:12: note: each undeclared identifier is reported only once for each function it appears in
action_instance_data_json.c:93:3: warning: implicit declaration of function ‘yajl_gen_alloc2’ [-Wimplicit-function-declaration]
make[2]: *** [action_instance_data_json.o] Error 1
make[2]: Leaving directory `/tmp/collection-4.0.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/collection-4.0.0/src'
make: *** [all-recursive] Error 1

I have tried both on Debian/sid and /squeeze.

Anyone knows how to fix that?

Regards,
-- 
Cyril Bouthors - Administration Système, Infogérance
ISVTEC SARL, 14 avenue de l'Opéra, 75001 Paris
1 rue Émile Zola, 69002 Lyon
Tél : 01 84 16 16 17 - Fax : 01 77 72 57 24
Ligne directe : 0x7B9EE3B0E



More information about the collectd mailing list