Hi,

On Sun, Sep 21, 2014, at 11:29 PM, Rainer Gerhards wrote:
> for v8 this was fixed post 8.4.0. You currently need the git version. 8.4.1
> will most probably be released tomorrow (so "just waiting" may be an
> option...).

It's late -- 'just waiting' comes next :-)

Just fyi,

I switched to  diy-build from git sources,

        cd rsyslog
        git log | head
                commit 546cd40be07bd09c55a88bab7d9595972a0aab56
                Merge: f10aa11 d350480
                Author: Rainer Gerhards <[email protected]>
                Date:   Fri Sep 19 14:44:58 2014 +0200

                    Merge branch 'v8-stable'

                commit d350480603014fa885501707f0b752ea246f79e1
                Merge: c8bb099 64de2f9
                Author: Rainer Gerhards <[email protected]>

the build fails still @ "error: 'json_tokener_errors' undeclared"

        make
                ...
                make  all-recursive
                make[1]: Entering directory `/usr/local/src/rsyslog'
                Making all in compat
                make[2]: Entering directory `/usr/local/src/rsyslog/compat'
                make[2]: Nothing to be done for `all'.
                make[2]: Leaving directory `/usr/local/src/rsyslog/compat'
                Making all in runtime
                make[2]: Entering directory `/usr/local/src/rsyslog/runtime'
                  CC       librsyslog_la-msg.lo
                msg.c: In function 'getJSONPropVal':
                msg.c:2739:3: warning: 'json_object_object_get' is deprecated 
(declared at /usr/local/include/json-c/json_object.h:295) 
[-Wdeprecated-declarations]
                   field = json_object_object_get(parent, (char*)leaf);
                   ^
                msg.c: In function 'msgGetJSONPropJSON':
                msg.c:2792:2: warning: 'json_object_object_get' is deprecated 
(declared at /usr/local/include/json-c/json_object.h:295) 
[-Wdeprecated-declarations]
                  *pjson = json_object_object_get(parent, (char*)leaf);
                  ^
                msg.c: In function 'MsgSetPropsViaJSON':
                msg.c:4083:15: error: 'json_tokener_errors' undeclared (first 
use in this function)
                      errMsg = json_tokener_errors[err];
                               ^
                msg.c:4083:15: note: each undeclared identifier is reported 
only once for each function it appears in
                msg.c: In function 'jsonPathFindNext':
                msg.c:4156:3: warning: 'json_object_object_get' is deprecated 
(declared at /usr/local/include/json-c/json_object.h:295) 
[-Wdeprecated-declarations]
                   json = json_object_object_get(root, (char*)namebuf);
                   ^
                msg.c: In function 'jsonFind':
                msg.c:4225:3: warning: 'json_object_object_get' is deprecated 
(declared at /usr/local/include/json-c/json_object.h:295) 
[-Wdeprecated-declarations]
                   field = json_object_object_get(parent, (char*)leaf);
                   ^
                msg.c: In function 'msgAddJSON':
                msg.c:4270:3: warning: 'json_object_object_get' is deprecated 
(declared at /usr/local/include/json-c/json_object.h:295) 
[-Wdeprecated-declarations]
                   leafnode = json_object_object_get(parent, (char*)leaf);
                   ^
                msg.c: In function 'msgDelJSON':
                msg.c:4345:3: warning: 'json_object_object_get' is deprecated 
(declared at /usr/local/include/json-c/json_object.h:295) 
[-Wdeprecated-declarations]
                   leafnode = json_object_object_get(parent, (char*)leaf);
                   ^
                make[2]: *** [librsyslog_la-msg.lo] Error 1
                make[2]: Leaving directory `/usr/local/src/rsyslog/runtime'
                make[1]: *** [all-recursive] Error 1
                make[1]: Leaving directory `/usr/local/src/rsyslog'
                make: *** [all] Error 2

fyi, my local json-c is from

        cd json-c*
        git log | head
                commit ec4879ac5b502ae81f6b73450b960ede11ad2560
                Merge: 6ec6fda 37f5d86
                Author: Eric Haszlakiewicz <[email protected]>
                Date:   Sat Sep 13 22:18:51 2014 -0400

                    Merge pull request #153 from LeSpocky/doc

                    improve doc for json_object_to_json_string()

                commit 6ec6fdaf8c89dc78d2c0f1a3482a93195de110e3

could be my build, of course.

Thanks

Grant
_______________________________________________
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.

Reply via email to