Hi, mhh... I tried my best but all I got was
https://www.dropbox.com/s/6trd6hif7be7usn/json-c-0.9-gdb1.txt?dl=0 On 2015-01-20 10:53, singh.janmejay wrote: > I was trying to build it with 0.9 package here: > https://github.com/json-c/json-c/downloads > > Rsyslog doesn't compile, here is the error: > rainerscript.c: In function var2Number: rainerscript.c:1204:4: error: > implicit declaration of function json_object_get_int64 > [-Werror=implicit-function-declaration] > > We need to fix this, but that is besides the point. What im trying to say > is, the package in ubuntu is probably some patches ahead of stock 0.9 im > trying to build with. > json-c repo doesn't have any tag for 0.9.x, so im going to try to get > my hands on an ubuntu 12.04 box. json-c-0.9 source: https://github.com/downloads/json-c/json-c/json-c-0.9.tar.gz But you need https://github.com/json-c/json-c/commit/259c5c0b5fe87c2db41e7a989cc0ab5865170d81 to get json-c-0.9 working. When you try json-c-0.10 (https://github.com/downloads/json-c/json-c/json-c-0.10.tar.gz), which is working for me, you have to manually copy the json_object_iterator.h header file, which wasn't installed by json-c's installer (fixed bug). PS: Do we really want to "waste" time on json-c-0.9? If we would declare json-c-0.10 (or even json-c-0.11 which is working out of the box) as a requirement... -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.

