2016-01-15 19:07 GMT+01:00 Rainer Gerhards <[email protected]>: > 2016-01-15 18:59 GMT+01:00 Girish Kumar <[email protected]>: >> Thanks Rainer for the suggestion. >> >> Still I am getting same error after commenting AC_FUNC_MALLOC and >> AC_FUNC_REALLOC. I commented this both in libestr and rsylog >> >> /home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/built/46/7.X.X.R01/armv7/lib/libestr.so: >> undefined reference to `rpl_malloc' >> >> Could you please let me know what is the problem. > > https://www.google.de/search?q=%60rpl_malloc&oq=%60rpl_malloc&aqs=chrome..69i57j0l5.543j0j7&sourceid=chrome&es_sm=93&ie=UTF-8#q=rpl_malloc > > first two restults look promising. That's the way how I found out ;)
I should add that it just worked for me following the advise to comment out these macros. So I do not know any internals of this autoconf macro problem. Rainer > > HTH > Rainer > >> Am I missing any library ? >> >> Regards, >> Girish >> >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of Rainer Gerhards >> Sent: Wednesday, January 13, 2016 7:26 PM >> To: rsyslog-users >> Subject: Re: [rsyslog] Compiling rsyslog-8.15.0 : undefined reference to >> `rpl_malloc' >> >> I recently stumbled over this myself when compiling with clang. This seems >> to be caused by problems in those autoconf macros in >> configure.ac: >> >> AC_FUNC_MALLOC >> AC_FUNC_REALLOC >> >> On the web, you find suggestions that everything is fine if these are >> commented out. As it looks, this seems to be the case, but I have not yet >> fully evaluated the impact. >> >> HTH >> Rainer >> >> 2016-01-13 14:47 GMT+01:00 Girish Kumar <[email protected]>: >>> Hi All, >>> >>> I am getting following error while compiling rsyslog-8.15.0 for armv7 >>> platform . Could you please help on this >>> >>> >>> >>> configure:4039: arm-unknown-linux-gnueabi-gcc -mcpu=cortex-a9 >>> -mabi=aapcs-linux -msoft-float -O -fPIC -fno-omit-frame-pointer >>> -mapcs-frame -mno-sched-prolog >>> -I/soft/gnu/cross/linux_64/13/arm/sysroot/usr/include >>> -I/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/built/46/ >>> 7.X.X.R01/armv7/include -mcpu=cortex-a9 -mabi=aapcs-linux -msoft-float >>> -O -fno-omit-frame-pointer -mapcs-frame -mno-sched-prolog >>> -I/soft/gnu/cross/linux_64/13/arm/sysroot/usr/include >>> -I/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/built/46/ >>> 7.X.X.R01/armv7/include -mcpu=cortex-a9 -mabi=aapcs-linux -msoft-float >>> -L/soft/gnu/cross/linux_64/13/arm/sysroot/lib >>> -L/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/built/46/ >>> 7.X.X.R01/armv7/lib -lcrypto -lestr conftest.c >&5 >>> /home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/built/46/7.X.X.R01/armv7/lib/libestr.so: >>> undefined reference to `rpl_malloc' >>> >>> >>> Regards, >>> Girish >>> _______________________________________________ >>> 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. >> _______________________________________________ >> 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. >> _______________________________________________ >> 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. _______________________________________________ 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.

