<p dir="ltr"><br>
On Feb 5, 2016 06:53, "Girish Kumar" <<a href="mailto:girish.kumar@al-enterprise.com">girish.kumar@al-enterprise.com</a>> wrote:<br>
><br>
> <br>
><br>
> Configure asked only for event log library. But did not ask for openssl or glib.<br>
><br>
> So I have complied event log library and set the library. Please let me know why the configure did not ask for openssl or glib library<br>
></p>
<p dir="ltr">Probably because the configure script found it anyway.</p>
<p dir="ltr">The compilation warnings clearly indicate that glib was found as those are glib defined macros.</p>
<p dir="ltr">But the error that caused the failure was<br>
> /tmp/ccrnicrJ.s: Assembler messages:<br>
><br>
> /tmp/ccrnicrJ.s:260: Error: invalid operands (.text and *UND* sections) for `-'<br>
><br></p>
<p dir="ltr">Which looks.like a toolchain issue.<br>
> <br>
><br>
> Syslog version: syslog-ng-3.6.4<br>
><br>
> Os : linux<br>
><br>
> Arch : armv7<br>
><br>
> <br>
><br>
> Later compilation failed with following error<br>
><br>
> <br>
><br>
> /home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/syslog-ng-3.6.4/lib/stats/stats-counter.h: In function 'stats_counter_dec':<br>
><br>
> /usr/include/glib-2.0/glib/gmacros.h:162:53: warning: typedef '_GStaticAssertCompileTimeAssertion_6' locally defined but not used [-Wunused-local-typedefs]<br>
><br>
> #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]<br>
><br>
> ^<br>
><br>
> /usr/include/glib-2.0/glib/gmacros.h:159:47: note: in definition of macro 'G_PASTE_ARGS'<br>
><br>
> #define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2<br>
><br>
> ^<br>
><br>
> /usr/include/glib-2.0/glib/gmacros.h:162:44: note: in expansion of macro 'G_PASTE'<br>
><br>
> #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]<br>
><br>
> ^<br>
><br>
> /usr/include/glib-2.0/glib/gatomic.h:111:5: note: in expansion of macro 'G_STATIC_ASSERT'<br>
><br>
> G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint)); \<br>
><br>
> ^<br>
><br>
> /home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/syslog-ng-3.6.4/lib/stats/stats-counter.h:53:5: note: in expansion of macro 'g_atomic_int_add'<br>
><br>
> g_atomic_int_add(&counter->value, -1);<br>
><br>
> ^<br>
><br>
> CC lib/lib_libsyslog_ng_la-mainloop-call.lo<br>
><br>
> /tmp/ccrnicrJ.s: Assembler messages:<br>
><br>
> /tmp/ccrnicrJ.s:260: Error: invalid operands (.text and *UND* sections) for `-'<br>
><br>
> <br>
><br>
> /tmp/ccrnicrJ.s:269: Error: invalid operands (.text and *UND* sections) for `-'<br>
><br>
> make[4]: *** [lib/lib_libsyslog_ng_la-mainloop-call.lo] Error 1<br>
><br>
> make[3]: *** [all-recursive] Error 1<br>
><br>
> make[2]: *** [all] Error 2<br>
><br>
> make[2]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/objs/46/7.X.X.R01/armv7/syslog-ng'<br>
><br>
> make[2]: Entering directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/objs/46/7.X.X.R01/armv7/syslog-ng'<br>
><br>
> make --no-print-directory install-recursive<br>
><br>
> CC lib/lib_libsyslog_ng_la-mainloop-call.lo<br>
><br>
> /tmp/ccgfQ6Q9.s: Assembler messages:<br>
><br>
> /tmp/ccgfQ6Q9.s:260: Error: invalid operands (.text and *UND* sections) for `-'<br>
><br>
> /tmp/ccgfQ6Q9.s:269: Error: invalid operands (.text and *UND* sections) for `-'<br>
><br>
> make[4]: *** [lib/lib_libsyslog_ng_la-mainloop-call.lo] Error 1<br>
><br>
> make[3]: *** [install-recursive] Error 1<br>
><br>
> make[2]: *** [install] Error 2<br>
><br>
> make[2]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/objs/46/7.X.X.R01/armv7/syslog-ng'<br>
><br>
> make[1]: *** [/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/built/46/7.X.X.R01/armv7/sbin/syslog-ngd] Error 2<br>
><br>
> make[1]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps'<br>
><br>
> make: *** [tps-build] Error 2<br>
><br>
> <br>
><br>
> Regards,<br>
><br>
> Girish<br>
><br>
> <br>
><br>
> From: <a href="mailto:syslog-ng-bounces@lists.balabit.hu">syslog-ng-bounces@lists.balabit.hu</a> [mailto:<a href="mailto:syslog-ng-bounces@lists.balabit.hu">syslog-ng-bounces@lists.balabit.hu</a>] On Behalf Of Balazs Scheidler<br>
> Sent: Friday, February 05, 2016 12:38 AM<br>
><br>
> To: Syslog-ng users' and developers' mailing list<br>
> Subject: Re: [syslog-ng] syslog-ng and dependency libraries for sending log messages for remote log server with TLS support<br>
><br>
> <br>
><br>
> What was the configure output?<br>
><br>
> On Feb 4, 2016 12:22 PM, "Girish Kumar" <<a href="mailto:girish.kumar@al-enterprise.com">girish.kumar@al-enterprise.com</a>> wrote:<br>
><br>
> Thank you very much for the information.<br>
><br>
> <br>
><br>
> I want to enable openssl and glib. I tried following in configure but configure did not ask/fail for following libraries. Because I currently I have not complied openssl and glib<br>
><br>
> /configure --prefix=/ --host=$(CCPREFIX) --enable-ssl --enable-glib<br>
><br>
> Could you please guide me on this.<br>
><br>
> <br>
><br>
> <br>
><br>
> Regards,<br>
><br>
> Girish<br>
><br>
> From: <a href="mailto:syslog-ng-bounces@lists.balabit.hu">syslog-ng-bounces@lists.balabit.hu</a> [mailto:<a href="mailto:syslog-ng-bounces@lists.balabit.hu">syslog-ng-bounces@lists.balabit.hu</a>] On Behalf Of Balazs Scheidler<br>
> Sent: Thursday, February 04, 2016 1:47 PM<br>
> To: Syslog-ng users' and developers' mailing list<br>
> Subject: Re: [syslog-ng] syslog-ng and dependency libraries for sending log messages for remote log server with TLS support<br>
><br>
> <br>
><br>
> Well, it certainly depends on the features that you want enabled on your platform. The syslog-ng configure script allows tailor-made configurations at a pretty granular level. But I guess it would make sense to compile syslog-ng for your use-case.<br>
><br>
> syslog-ng has not - yet - been optimized too much for the embedded use-case, but it is generally slim package implemented in C, so it should be possible. The dependency I'd be afraid the most is glib, which has grown pretty fat in recent times. There an earlier release could be enough (2.14 should be ok).<br>
><br>
> Bazsi<br>
><br>
> <br>
><br>
> On Thu, Feb 4, 2016 at 6:00 AM, Girish Kumar <<a href="mailto:girish.kumar@al-enterprise.com">girish.kumar@al-enterprise.com</a>> wrote:<br>
><br>
> Hi All,<br>
><br>
> My requirement is to send the log messages to remote log server securely (with TLS).<br>
><br>
> The project which I am implementing is on embedded systems. So the space is very important.<br>
><br>
> Please let me know the latest stable version of syslog-ng which can be used for this.<br>
> Also please let me know the mandatory dependency libraries required.<br>
><br>
> Thanks in advance.<br>
><br>
> Regards,<br>
> Girish<br>
><br>
><br>
> --<br>
><br>
> Bazsi<br>
><br>
><br>
> ______________________________________________________________________________<br>
> Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
> Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
> FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
><br>
><br>
> ______________________________________________________________________________<br>
> Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
> Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
> FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
><br>
><br>
</p>