<p dir="ltr"><br>
On Feb 5, 2016 06:53, &quot;Girish Kumar&quot; &lt;<a href="mailto:girish.kumar@al-enterprise.com">girish.kumar@al-enterprise.com</a>&gt; wrote:<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; Configure asked only for event log  library. But did not ask for openssl or glib.<br>
&gt;<br>
&gt; 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>
&gt;</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>
&gt; /tmp/ccrnicrJ.s: Assembler messages:<br>
&gt;<br>
&gt; /tmp/ccrnicrJ.s:260: Error: invalid operands (.text and *UND* sections) for `-&#39;<br>
&gt;<br></p>
<p dir="ltr">Which looks.like a toolchain issue.<br>
&gt;  <br>
&gt;<br>
&gt; Syslog version: syslog-ng-3.6.4<br>
&gt;<br>
&gt; Os : linux<br>
&gt;<br>
&gt; Arch : armv7<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; Later compilation failed with following error<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; /home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps/syslog-ng-3.6.4/lib/stats/stats-counter.h: In function &#39;stats_counter_dec&#39;:<br>
&gt;<br>
&gt; /usr/include/glib-2.0/glib/gmacros.h:162:53: warning: typedef &#39;_GStaticAssertCompileTimeAssertion_6&#39; locally defined but not used [-Wunused-local-typedefs]<br>
&gt;<br>
&gt; #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]<br>
&gt;<br>
&gt;                                                      ^<br>
&gt;<br>
&gt; /usr/include/glib-2.0/glib/gmacros.h:159:47: note: in definition of macro &#39;G_PASTE_ARGS&#39;<br>
&gt;<br>
&gt; #define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2<br>
&gt;<br>
&gt;                                                ^<br>
&gt;<br>
&gt; /usr/include/glib-2.0/glib/gmacros.h:162:44: note: in expansion of macro &#39;G_PASTE&#39;<br>
&gt;<br>
&gt; #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]<br>
&gt;<br>
&gt;                                             ^<br>
&gt;<br>
&gt; /usr/include/glib-2.0/glib/gatomic.h:111:5: note: in expansion of macro &#39;G_STATIC_ASSERT&#39;<br>
&gt;<br>
&gt;      G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint));                     \<br>
&gt;<br>
&gt;      ^<br>
&gt;<br>
&gt; /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 &#39;g_atomic_int_add&#39;<br>
&gt;<br>
&gt;      g_atomic_int_add(&amp;counter-&gt;value, -1);<br>
&gt;<br>
&gt;      ^<br>
&gt;<br>
&gt;   CC     lib/lib_libsyslog_ng_la-mainloop-call.lo<br>
&gt;<br>
&gt; /tmp/ccrnicrJ.s: Assembler messages:<br>
&gt;<br>
&gt; /tmp/ccrnicrJ.s:260: Error: invalid operands (.text and *UND* sections) for `-&#39;<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; /tmp/ccrnicrJ.s:269: Error: invalid operands (.text and *UND* sections) for `-&#39;<br>
&gt;<br>
&gt; make[4]: *** [lib/lib_libsyslog_ng_la-mainloop-call.lo] Error 1<br>
&gt;<br>
&gt; make[3]: *** [all-recursive] Error 1<br>
&gt;<br>
&gt; make[2]: *** [all] Error 2<br>
&gt;<br>
&gt; 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&#39;<br>
&gt;<br>
&gt; 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&#39;<br>
&gt;<br>
&gt; make --no-print-directory install-recursive<br>
&gt;<br>
&gt;   CC     lib/lib_libsyslog_ng_la-mainloop-call.lo<br>
&gt;<br>
&gt; /tmp/ccgfQ6Q9.s: Assembler messages:<br>
&gt;<br>
&gt; /tmp/ccgfQ6Q9.s:260: Error: invalid operands (.text and *UND* sections) for `-&#39;<br>
&gt;<br>
&gt; /tmp/ccgfQ6Q9.s:269: Error: invalid operands (.text and *UND* sections) for `-&#39;<br>
&gt;<br>
&gt; make[4]: *** [lib/lib_libsyslog_ng_la-mainloop-call.lo] Error 1<br>
&gt;<br>
&gt; make[3]: *** [install-recursive] Error 1<br>
&gt;<br>
&gt; make[2]: *** [install] Error 2<br>
&gt;<br>
&gt; 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&#39;<br>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; make[1]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-gg/engr/sw/tps&#39;<br>
&gt;<br>
&gt; make: *** [tps-build] Error 2<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Girish<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; 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>
&gt; Sent: Friday, February 05, 2016 12:38 AM<br>
&gt;<br>
&gt; To: Syslog-ng users&#39; and developers&#39; mailing list<br>
&gt; Subject: Re: [syslog-ng] syslog-ng and dependency libraries for sending log messages for remote log server with TLS support<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; What was the configure output?<br>
&gt;<br>
&gt; On Feb 4, 2016 12:22 PM, &quot;Girish Kumar&quot; &lt;<a href="mailto:girish.kumar@al-enterprise.com">girish.kumar@al-enterprise.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Thank you very much for the information.<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; /configure --prefix=/ --host=$(CCPREFIX)  --enable-ssl --enable-glib<br>
&gt;<br>
&gt; Could you please guide me on this.<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Girish<br>
&gt;<br>
&gt; 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>
&gt; Sent: Thursday, February 04, 2016 1:47 PM<br>
&gt; To: Syslog-ng users&#39; and developers&#39; mailing list<br>
&gt; Subject: Re: [syslog-ng] syslog-ng and dependency libraries for sending log messages for remote log server with TLS support<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; 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&#39;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>
&gt;<br>
&gt; Bazsi<br>
&gt;<br>
&gt;  <br>
&gt;<br>
&gt; On Thu, Feb 4, 2016 at 6:00 AM, Girish Kumar &lt;<a href="mailto:girish.kumar@al-enterprise.com">girish.kumar@al-enterprise.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi All,<br>
&gt;<br>
&gt; My requirement is to send the log messages to remote log server securely (with TLS).<br>
&gt;<br>
&gt; The project which I am implementing is on embedded systems. So the space is very important.<br>
&gt;<br>
&gt; Please let me know the latest stable version of syslog-ng which can be used for this.<br>
&gt; Also please let me know the mandatory dependency libraries required.<br>
&gt;<br>
&gt; Thanks in advance.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Girish<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; Bazsi<br>
&gt;<br>
&gt;<br>
&gt; ______________________________________________________________________________<br>
&gt; Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
&gt; Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
&gt; FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
&gt;<br>
&gt;<br>
&gt; ______________________________________________________________________________<br>
&gt; Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
&gt; Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
&gt; FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
&gt;<br>
&gt;<br>
</p>