Hi, I can confirm the problem while building "librsyslog_la-msg.lo" also on Gentoo:
> libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. > -DSD_EXPORT_SYMBOLS -D_PATH_MODDIR=\"/usr/lib64/rsyslog/\" -I.. -I../grammar > -pthread -I/usr/include/uuid -I/usr/include/j > son-c -I../tools -O2 -pipe -march=core-avx-i -mno-movbe -mno-abm -mno-lwp > -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx2 -mno-lzcnt > --param l1-cache-size=32 --param l1-cac > he-line-size=64 --param l2-cache-size=8192 -mtune=generic -c msg.c -fPIC > -DPIC -o .libs/librsyslog_la-msg.o > msg.c: In function 'getJSONPropVal': > msg.c:2736:3: warning: 'json_object_object_get' is deprecated (declared at > /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations] > field = json_object_object_get(parent, (char*)leaf); > ^ > msg.c: In function 'msgGetJSONPropJSON': > msg.c:2789:2: warning: 'json_object_object_get' is deprecated (declared at > /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations] > *pjson = json_object_object_get(parent, (char*)leaf); > ^ > msg.c: In function 'MsgSetPropsViaJSON': > msg.c:4077:14: error: 'json_tokener_errors' undeclared (first use in this > function) > errMsg = json_tokener_errors[err]; > ^ > msg.c:4077:14: note: each undeclared identifier is reported only once for > each function it appears in > msg.c: In function 'jsonPathFindNext': > msg.c:4149:3: warning: 'json_object_object_get' is deprecated (declared at > /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations] > json = json_object_object_get(root, (char*)namebuf); > ^ > msg.c: In function 'jsonFind': > msg.c:4218:3: warning: 'json_object_object_get' is deprecated (declared at > /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations] > field = json_object_object_get(parent, (char*)leaf); > ^ > msg.c: In function 'msgAddJSON': > msg.c:4263:3: warning: 'json_object_object_get' is deprecated (declared at > /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations] > leafnode = json_object_object_get(parent, (char*)leaf); > ^ > msg.c: In function 'msgDelJSON': > msg.c:4338:3: warning: 'json_object_object_get' is deprecated (declared at > /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations] > leafnode = json_object_object_get(parent, (char*)leaf); > ^ > Makefile:1070: recipe for target 'librsyslog_la-msg.lo' failed > make[2]: *** [librsyslog_la-msg.lo] Error 1 -Thomas _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

