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.

On Tue, Jan 20, 2015 at 8:57 AM, singh.janmejay <[email protected]>
wrote:

> Info proc maps (or map, whatever) will help.
>
> --
> Regards,
> Janmejay
>
> PS: Please blame the typos in this mail on my phone's uncivilized soft
> keyboard sporting it's not-so-smart-assist technology.
>
> On Jan 20, 2015 7:04 AM, "Thomas D." <[email protected]> wrote:
>
>> Hi,
>>
>> this is an Ubuntu system. I am not that familiar with Ubuntu... but I
>> think
>> I have installed all the required *-dbg packages or build everything on my
>> own with debug symbols. But:
>>
>> (gdb) info sharedlibrary
>> From                To                  Syms Read   Shared Object Library
>> 0x00002b6c84b06050  0x00002b6c84b12528  Yes
>> /lib/x86_64-linux-gnu/libz.so.1
>> 0x00002b6c84d20740  0x00002b6c84d2c358  Yes
>> /lib/x86_64-linux-gnu/libpthread.so.0
>> 0x00002b6c84f38de0  0x00002b6c84f39918  Yes
>> /lib/x86_64-linux-gnu/libdl.so.2
>> 0x00002b6c8513e1e0  0x00002b6c851416b8  Yes
>> /lib/x86_64-linux-gnu/librt.so.1
>> 0x00002b6c85344bb0  0x00002b6c85346108  Yes
>> /opt/libestr-0.1.10/lib/libestr.so.0
>> 0x00002b6c8554a290  0x00002b6c8554f658  Yes
>> /opt/json-c-0.9/lib/libjson.so.0
>> 0x00002b6c85753570  0x00002b6c85754be8  Yes (*)
>> /lib/x86_64-linux-gnu/libuuid.so.1
>> 0x00002b6c85975fa0  0x00002b6c85aba4c0  Yes
>> /lib/x86_64-linux-gnu/libc.so.6
>> 0x00002b6c848dfaf0  0x00002b6c848f9eaa  Yes
>> /lib64/ld-linux-x86-64.so.2
>> 0x00002b6c85d17710  0x00002b6c85d1ac08  Yes
>> /srv/build/rsyslog/runtime/.libs/lmnet.so
>> 0x00002b6c85f20140  0x00002b6c85f27a08  Yes
>> /lib/x86_64-linux-gnu/libnss_files.so.2
>> 0x00002b6c8612bc00  0x00002b6c8612d4d8  Yes
>> /srv/build/rsyslog/plugins/imdiag/.libs/imdiag.so
>> 0x00002b6c8632ff50  0x00002b6c86333828  Yes
>> /srv/build/rsyslog/runtime/.libs/lmnetstrms.so
>> 0x00002b6c86537870  0x00002b6c8653d5b8  Yes
>> /srv/build/rsyslog/.libs/lmtcpsrv.so
>> 0x00002b6c86741d70  0x00002b6c86743308  Yes
>> /srv/build/rsyslog/plugins/mmjsonparse/.libs/mmjsonparse.so
>> 0x00002b6c86946bc0  0x00002b6c8694c058  Yes
>> /srv/build/rsyslog/plugins/imptcp/.libs/imptcp.so
>> 0x00002b6c87153600  0x00002b6c87157748  Yes
>> /srv/build/rsyslog/runtime/.libs/lmnsd_ptcp.so
>> (*): Shared library is missing debugging information.
>> (gdb) bt
>> #0  0x00002b6c90002d70 in ?? ()
>> #1  0x00002b6c8554eeda in lh_table_lookup_entry (t=0x2b6c90002d10,
>> k=0xb01e26) at linkhash.c:159
>> #2  0x00002b6c8554efd9 in lh_table_lookup (t=0x2b6c90002d10, k=0xb01e26)
>> at
>> linkhash.c:175
>> #3  0x00002b6c8554b096 in json_object_object_get (jso=0x2b6c900064c0,
>> key=0xb01e26 "bar") at json_object.c:272
>> #4  0x000000000042468e in jsonVarExtract (root=0x2b6c900064c0,
>> key=0xb01e26
>> "bar", value=0x2b6c87150960) at msg.c:4218
>> #5  0x0000000000420b44 in msgGetJSONPropJSON (pMsg=0x2b6c8c004470,
>> pProp=0xafb7a0, pjson=0x2b6c87150960) at msg.c:2848
>> #6  0x000000000047a3a7 in evalVar (var=0xafb790, usrptr=0x2b6c8c004470,
>> ret=0x2b6c87150a30) at rainerscript.c:1785
>> #7  0x000000000047c286 in cnfexprEval (expr=0xafb790, ret=0x2b6c87150a30,
>> usrptr=0x2b6c8c004470) at rainerscript.c:2322
>> #8  0x000000000047cacc in cnfexprEvalCollection (expr=0xafb790,
>> usrptr=0x2b6c8c004470) at rainerscript.c:2483
>> #9  0x0000000000447d8e in execForeach (stmt=0xb03800, pMsg=0x2b6c8c004470,
>> pWti=0xafae60) at ruleset.c:271
>> #10 0x0000000000448599 in scriptExec (root=0xb01e40, pMsg=0x2b6c8c004470,
>> pWti=0xafae60) at ruleset.c:464
>> #11 0x0000000000447e3d in execForeach (stmt=0xb03870, pMsg=0x2b6c8c004470,
>> pWti=0xafae60) at ruleset.c:284
>> #12 0x0000000000448599 in scriptExec (root=0xafb5c0, pMsg=0x2b6c8c004470,
>> pWti=0xafae60) at ruleset.c:464
>> #13 0x0000000000448711 in processBatch (pBatch=0xafae98, pWti=0xafae60) at
>> ruleset.c:503
>> #14 0x000000000045f109 in msgConsumer (notNeeded=0x0, pBatch=0xafae98,
>> pWti=0xafae60) at rsyslogd.c:576
>> #15 0x0000000000443396 in ConsumerReg (pThis=0xafa980, pWti=0xafae60) at
>> queue.c:1897
>> #16 0x000000000043e3cb in wtiWorker (pThis=0xafae60) at wti.c:334
>> #17 0x000000000043ce89 in wtpWorker (arg=0xafae60) at wtp.c:389
>> #18 0x00002b6c84d22e9a in start_thread (arg=0x2b6c87151700) at
>> pthread_create.c:308
>> #19 0x00002b6c85a4b2ed in clone () at
>> ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
>> #20 0x0000000000000000 in ?? ()
>>
>>
>> ...if you or anybody else can help me to get "0x00002b6c90002d70 "
>> resolved... that would be nice ;)
>>
>>
>> -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.
>>
>


-- 
Regards,
Janmejay
http://codehunk.wordpress.com
_______________________________________________
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