Hi!<br><br>I got strange error about 'handler_config': <br><br>===========================================================<br><div id=":5jd"># git clone git://<a href="http://git.verplant.org/collection4.git" target="_blank">git.verplant.org/collection4.git</a><br>

# cd collection4 <br># LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include ./configure<br>===========================================================<br>checking for a BSD-compatible install... /usr/bin/install -c<br>
checking whether build environment is sane... yes<br>
checking for a thread-safe mkdir -p... ./install-sh -c -d<br>checking for gawk... no<br>checking for mawk... no<br>checking for nawk... nawk<br>checking whether make sets $(MAKE)... yes<br>checking for gcc... gcc<br>checking whether the C compiler works... yes<br>

checking for C compiler default output file name... a.out<br>checking for suffix of executables...<br>checking whether we are cross compiling... no<br>checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>

checking whether gcc accepts -g... yes<br>checking for gcc option to accept ISO C89... none needed<br>checking for style of include used by make... GNU<br>checking dependency style of gcc... none<br>checking how to run the C preprocessor... gcc -E<br>

checking for flex... flex<br>checking lex output file root... lex.yy<br>checking lex library... -lfl<br>checking whether yytext is a pointer... yes<br>checking for bison... bison -y<br>checking for pkg-config... /usr/local/bin/pkg-config<br>

checking pkg-config is at least version 0.9.0... yes<br>checking for grep that handles long lines and -e... /usr/bin/grep<br>checking for egrep... /usr/bin/grep -E<br>checking for ANSI C header files... yes<br>checking for sys/types.h... yes<br>

checking for sys/stat.h... yes<br>checking for stdlib.h... yes<br>checking for string.h... yes<br>checking for memory.h... yes<br>checking for strings.h... yes<br>checking for inttypes.h... yes<br>checking for stdint.h... yes<br>

checking for unistd.h... yes<br>checking stdbool.h usability... yes<br>checking stdbool.h presence... yes<br>checking for stdbool.h... yes<br>checking for sys/types.h... (cached) yes<br>checking sys/socket.h usability... yes<br>

checking sys/socket.h presence... yes<br>checking for sys/socket.h... yes<br>checking netdb.h usability... yes<br>checking netdb.h presence... yes<br>checking for netdb.h... yes<br>checking fcgiapp.h usability... yes<br>
checking fcgiapp.h presence... yes<br>
checking for fcgiapp.h... yes<br>checking fcgi_stdio.h usability... yes<br>checking fcgi_stdio.h presence... yes<br>checking for fcgi_stdio.h... yes<br>checking rrd.h usability... yes<br>checking rrd.h presence... yes<br>

checking for rrd.h... yes<br>checking yajl/yajl_gen.h usability... yes<br>checking yajl/yajl_gen.h presence... yes<br>checking for yajl/yajl_gen.h... yes<br>checking for FCGI_Accept in -lfcgi... yes<br>checking for rrd_graph_v in -lrrd_th... yes<br>

checking for yajl_gen_alloc in -lyajl... yes<br>checking for libcollectdclient... yes<br>configure: creating ./config.status<br>config.status: creating Makefile<br>config.status: creating share/Makefile<br>config.status: creating src/Makefile<br>

config.status: creating src/config.h<br>config.status: src/config.h is unchanged<br>config.status: executing depfiles commands<br>===========================================================<br># make<br>===========================================================<br>

Making all in share<br>Making all in src<br>make  all-am<br>gcc -DHAVE_CONFIG_H -I.  -DPREFIX='"/opt/collection4"'  -DCONFIGFILE='"/opt/collection4/etc/collection.conf"'
 -I/usr/local/include -Wall -Wextra -I/usr/local/include -g -O2 -c -o 
collection_fcgi-main.o `test -f 'main.c' || echo './'`main.c<br>
gcc -DHAVE_CONFIG_H -I.  -DPREFIX='"/opt/collection4"'  -DCONFIGFILE='"/opt/collection4/etc/collection.conf"'
 -I/usr/local/include -Wall -Wextra -I/usr/local/include -g -O2 -c -o 
collection_fcgi-oconfig.o `test -f 'oconfig.c' || echo './'`oconfig.c<br>
gcc -DHAVE_CONFIG_H -I.  -DPREFIX='"/opt/collection4"'  -DCONFIGFILE='"/opt/collection4/etc/collection.conf"'
 -I/usr/local/include -Wall -Wextra -I/usr/local/include -g -O2 -c -o 
collection_fcgi-scanner.o `test -f 'scanner.c' || echo './'`scanner.c<br>
scanner.l: In function 'yylex':<br>scanner.l:83: warning: implicit declaration of function 'strlen'<br>scanner.l:83: warning: incompatible implicit declaration of built-in function 'strlen'<br>scanner.l:99: warning: incompatible implicit declaration of built-in function 'strlen'<br>

scanner.l: In function 'ml_append':<br>scanner.l:120: warning: incompatible implicit declaration of built-in function 'strlen'<br>scanner.l: At top level:<br>scanner.c:1288: warning: 'yyunput' defined but not used<br>

gcc -DHAVE_CONFIG_H -I.  -DPREFIX='"/opt/collection4"'  -DCONFIGFILE='"/opt/collection4/etc/collection.conf"'
 -I/usr/local/include -Wall -Wextra -I/usr/local/include -g -O2 -c -o 
collection_fcgi-parser.o `test -f 'parser.c' || echo './'`parser.c<br>
parser.c: In function 'yyparse':<br>parser.c:1315: warning: implicit declaration of function 'yylex'<br>gcc -DHAVE_CONFIG_H -I.  -DPREFIX='"/opt/collection4"'  -DCONFIGFILE='"/opt/collection4/etc/collection.conf"'
 -I/usr/local/include -Wall -Wextra -I/usr/local/include -g -O2 -c -o 
collection_fcgi-action_graph.o `test -f 'action_graph.c' || echo 
'./'`action_graph.c<br>
gcc -DHAVE_CONFIG_H -I.  -DPREFIX='"/opt/collection4"'  -DCONFIGFILE='"/opt/collection4/etc/collection.conf"' -I/usr/local/include -Wall -Wextra -I/usr/local/include -g -O2 -c -o collection_fcgi-action_instance_data_json.o `test -f 'action_instance_data_json.c' || echo './'`action_instance_data_json.c<br>

action_instance_data_json.c: In function 'action_instance_data_json':<br>action_instance_data_json.c:87: warning: statement with no effect<br>action_instance_data_json.c:87: error: expected ';' before 'handler_config'<br>

action_instance_data_json.c:104: warning: passing argument 1 of 'get_time_args' from incompatible pointer type<br>action_instance_data_json.c:104: warning: passing argument 2 of 'get_time_args' from incompatible pointer type<br>

action_instance_data_json.c:104: warning: passing argument 3 of 'get_time_args' from incompatible pointer type<br>action_instance_data_json.c:116: error: 'handler_config' undeclared (first use in this function)<br>

action_instance_data_json.c:116: error: (Each undeclared identifier is reported only once<br>action_instance_data_json.c:116: error: for each function it appears in.)<br>action_instance_data_json.c:120: warning: implicit declaration of function 'yajl_gen_alloc2'<br>

action_instance_data_json.c:123: warning: assignment makes pointer from integer without a cast<br>*** Error code 1<br><br>Stop in /usr/local/src/collection4/src.<br>*** Error code 1<br><br>Stop in /usr/local/src/collection4/src.<br>

*** Error code 1<br><br>Stop in /usr/local/src/collection4.<br><br>===========================================================<br>My system:<br>===========================================================<br>7.2-RELEASE-p6 FreeBSD<br>

gcc (GCC) 4.2.1 20070719  [FreeBSD]<br><br>fcgi-devkit-2.4.0   FastCGI Development Kit<br>rrdtool-1.4.5       Round Robin Database Tools<br>yajl-2.0.1          A Portable JSON parsing and serialization library in ANSI C<br>

===========================================================<br>There  are all headers and libs: <br># pkg_info -xL yajl rrdtool fcgi-devkit | egrep "lib|\.h$"<br>===========================================================<br>

/usr/local/include/fastcgi.h<br>/usr/local/include/fcgi_config.h<br>/usr/local/include/fcgi_stdio.h<br>/usr/local/include/fcgiapp.h<br>/usr/local/include/fcgimisc.h<br>/usr/local/include/fcgio.h<br>/usr/local/include/fcgios.h<br>

/usr/local/lib/libfcgi++.a<br>/usr/local/lib/libfcgi++.la<br>/usr/local/lib/libfcgi++.so<br>/usr/local/lib/libfcgi++.so.0<br>/usr/local/lib/libfcgi.a<br>/usr/local/lib/<a href="http://libfcgi.la/" target="_blank">libfcgi.la</a><br>
/usr/local/lib/libfcgi.so<br>
/usr/local/lib/libfcgi.so.0<br>/usr/local/lib/perl5/5.12.4/man/man3/RRDp.3.gz<br>/usr/local/lib/perl5/5.12.4/man/man3/RRDs.3.gz<br>/usr/local/include/rrd.h<br>/usr/local/include/rrd_client.h<br>/usr/local/include/rrd_format.h<br>

/usr/local/lib/librrd.a<br>/usr/local/lib/<a href="http://librrd.la/" target="_blank">librrd.la</a><br>/usr/local/lib/librrd.so<br>/usr/local/lib/librrd.so.5<br>/usr/local/lib/librrd_th.a<br>/usr/local/lib/<a href="http://librrd_th.la/" target="_blank">librrd_th.la</a><br>

/usr/local/lib/librrd_th.so<br>/usr/local/lib/librrd_th.so.5<br>/usr/local/libdata/pkgconfig/librrd.pc<br>/usr/local/lib/perl5/site_perl/5.12.4/mach/auto/RRDp/.packlist<br>/usr/local/lib/perl5/site_perl/5.12.4/mach/auto/RRDs/RRDs.so<br>

/usr/local/lib/perl5/site_perl/5.12.4/mach/auto/RRDs/RRDs.bs<br>/usr/local/lib/perl5/site_perl/5.12.4/mach/auto/RRDs/.packlist<br>/usr/local/lib/perl5/site_perl/5.12.4/mach/RRDs.pm<br>/usr/local/lib/perl5/site_perl/5.12.4/RRDp.pm<br>

/usr/local/include/yajl/yajl_version.h<br>/usr/local/include/yajl/yajl_common.h<br>/usr/local/include/yajl/yajl_gen.h<br>/usr/local/include/yajl/yajl_parse.h<br>/usr/local/include/yajl/yajl_tree.h<br>/usr/local/lib/libyajl.so<br>

/usr/local/lib/libyajl.so.2<br>/usr/local/lib/libyajl.so.2.0.1<br>/usr/local/lib/libyajl_s.a</div>