libtool: compile: gcc -I/home/david/arch/pkg/abs/bind/src/bind-9.11.0-P3 -I../../.. -I./include -I./../pthreads/include -I../include -I./../include -I./.. -I/usr/include -D_REENTRANT -D_GNU_SOURCE -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DDIG_SIGCHASE -I/usr/include -I/usr/include/libxml2 -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -fno-delete-null-pointer-checks -c app.c -fPIC -DPIC -o .libs/app.o In file included from /usr/include/json/autolink.h:9:0, from /usr/include/json/json.h:9, from ../include/isc/json.h:33, from ../include/isc/mem.h:16, from app.c:29: /usr/include/json/config.h:9:35: fatal error: string: No such file or directory #include <string> //typedef String
huh, that's a C++ style #include* and you are compiling with a C compiler (and obviously app.c is a C program) have no idea, see upstream. * and indeed /usr/include/json/config.h is part of jsoncpp "C++ library for interacting with JSON" how did that get included in a C program??? -- damjan