<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hello,<br>
      <br>
      The scripts generated by libtool aren't part of the final
      delivery. The executables in .libs/ will get installed during
      'make install' into their final destination and then libtool will
      (re)link executables against the freshly installed libraries. This
      is why a successful 'make install' is needed and then the result
      could get copied to the target host.<br>
      <br>
      gmake compares timestamps of source and compiled files to track
      dependencies so if there was a change after the build process then
      reconfigure / rebuild gets triggered - this should get avoided but
      it is more or less impossible to guess what happened on your
      system after running make... For example many years ago I had
      issues with certain filesystems not storing fractions of seconds
      so timestamps were rounded to seconds and comparision became a bit
      stochastic...<br>
      <br>
      Regards,<br>
      <br>
      Sandor<br>
      <br>
      On 10/04/2017 05:08 PM, Robert King wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:6fe932d613794737be89d2a537403cbe@S12-MBX12-20.S12.local">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Not easily, and not without getting
          permission from the director of development.<br>
          <br>
          Let’s start with an easy question.  …/syslog-ng/syslog-ng is a
          script.  Is this part of the *<b>final</b>* distribution to be
          installed on the target system?  There is also
          …/syslog-ng/.libs/syslog-ng with is an ELF binary executable. 
          Is this part of the *<b>final</b>* distribution to be
          installed on the target system?  Why are there two executable
          files with the same name?<br>
          <br>
          …/syslog-ng/.libs/syslog-ng is being natively built on a
          generic Linux Mint system, but not on my cross-development
          system.  How do you suggest troubleshooting this?  Going
          through the generated Makefile in the project root directory
          is a nightmare.  There is no makefile in …/syslog-ng, so I
          can’t try to build just that.<br>
          <br>
          Sorry that I was irritated earlier, but I’ve been fighting
          this for three weeks and my boss is getting angry.<br>
          <br>
          <br>
          <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><b>From:</b> syslog-ng
          [<a class="moz-txt-link-freetext" href="mailto:syslog-ng-bounces@lists.balabit.hu">mailto:syslog-ng-bounces@lists.balabit.hu</a>]
          <b>On Behalf Of </b>Budai, László<br>
          <b>Sent:</b> Wednesday, October 04, 2017 10:00 AM<br>
          <b>To:</b> Syslog-ng users' and developers' mailing list
          <a class="moz-txt-link-rfc2396E" href="mailto:syslog-ng@lists.balabit.hu"><syslog-ng@lists.balabit.hu></a><br>
          <b>Subject:</b> Re: [syslog-ng] Cross-compiling syslog-ng
          3.11.1 for an embedded application.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Hi,<o:p></o:p></p>
        <div>
          <p class="MsoNormal"><o:p> </o:p></p>
        </div>
        <div>
          <p class="MsoNormal">could you share a build environment where
            we can easily reproduce the issue(eg.: a docker file, or,
            image )? <o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><o:p> </o:p></p>
        </div>
        <div>
          <p class="MsoNormal">Laszlo Budai<o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><br>
            On Wednesday, October 4, 2017, Robert King <<a
              href="mailto:robert.king@tellabs.com"
              moz-do-not-send="true">robert.king@tellabs.com</a>>
            wrote:<o:p></o:p></p>
          <blockquote style="border:none;border-left:solid #CCCCCC
            1.0pt;padding:0in 0in 0in
            6.0pt;margin-left:4.8pt;margin-right:0in">
            <div>
              <div>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b>From:</b>
                  syslog-ng [mailto:<a
href="javascript:_e(%7B%7D,'cvml','syslog-ng-bounces@lists.balabit.hu');"
                    target="_blank" moz-do-not-send="true">syslog-ng-bounces@lists.balabit.hu</a>]
                  <b>On Behalf Of </b>Scheidler, Balázs<br>
                  <b>Sent:</b> Tuesday, October 03, 2017 11:32 PM<br>
                  <b>To:</b> Syslog-ng users' and developers' mailing
                  list <<a
                    href="javascript:_e(%7B%7D,'cvml','syslog-ng@lists.balabit.hu');"
                    target="_blank" moz-do-not-send="true">syslog-ng@lists.balabit.hu</a>><br>
                  <b>Subject:</b> Re: [syslog-ng] Cross-compiling
                  syslog-ng 3.11.1 for an embedded application.<o:p></o:p></p>
                <p class="MsoNormal"
                  style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                <div>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi,<o:p></o:p></p>
                  <div>
                    <p class="MsoNormal"
                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal"
                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">Again,
                      so without your help and a civilized exchange of
                      emails this can't be troubleshot, as I never saw
                      your environment, and can't check various details
                      that would affect compilation.<o:p></o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal"
                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                    <p class="MsoNormal"
                      style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
                    <p class="MsoNormal"
                      style="mso-margin-top-alt:auto;margin-bottom:12.0pt">What
                      information would you like from me to progress?<br>
                      <br>
                      We are using gmake to build the targets.  We are
                      calling the configure script with the following
                      arguments:<o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><br>
                      <span style="font-family:Consolas">PKG_CONFIG_PATH=$PCRERELEASE/lib/pkgconfig:$EVENTLOGRELEASE/lib/pkgconfig:$GLIBRELEASE/lib/pkgconfig
                        \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">SED=/bin/sed \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">./configure \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">--host=$HOST \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">PKG_CONFIG_PATH=$PCRERELEASE/lib/pkgconfig:$EVENTLOGRELEASE/lib/pkgconfig:$GLIBRELEASE/lib/pkgconfig
                        \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">--build=$BUILD \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">--prefix=$INSTALLDIR
                        \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">--bindir=$INSTALLDIR/bin
                        \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">--sbindir=$INSTALLDIR/sbin
                        \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">--includedir=$INSTALLDIR/include
                        \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">--libdir=$INSTALLDIR/lib
                        \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">--sharedstatedir=$INSTALLDIR/share
                        \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">--exec-prefix=$EXECDIR
                        \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">--libexecdir=$EXECDIR/lib
                        \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">--localstatedir=$EXECDIR/etc/syslog-ng/var
                        \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">--sysconfdir=$EXECDIR/etc/syslog-ng/etc
                        \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">--enable-shared=yes
                        \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">--enable-ssl \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">--enable-static=yes
                        \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">--enable-dynamic-linking=yes
                        \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">--disable-json \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">--enable-pcre=no \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">--with-libmongo-client=no
                        \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">--with-librabbitmq-client=no
                        \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">CC=$MVL/bin/ppc_440-gcc
                        \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">CFLAGS="-g -O2" \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">CPP=$MVL/bin/ppc_440-cpp
                        \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">CPPFLAGS="-I$EVENTLOGRELEASE/include
                        -I$GLIBRELEASE/include -I$TARGET/usr/include
                        -I$TARGET/usr/local/include" \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">LDFLAGS="-L/vobs/tools/openssl/openssl/release/$OS/lib
                        -L$EVENTLOGRELEASE/lib -L$GLIBRELEASE/lib
                        -L$TARGET/lib -L$TARGET/usr/lib" \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">OPENSSL_CFLAGS="${OPENSSL_CC_INC_PATH}
                        ${OPENSSL_CC_FIPS_INC_PATH} -DBUILD_WITH_SSL" \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">OPENSSL_LIBS="-lssl
                        -lcrypto" \</span><o:p></o:p></p>
                    <p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in"><span
                        style="font-family:Consolas">LIBS="-lssl
                        -lcrypto"</span><o:p></o:p></p>
                  </div>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">______________________________________________________________________________
Member info: <a class="moz-txt-link-freetext" href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a>
Documentation: <a class="moz-txt-link-freetext" href="http://www.balabit.com/support/documentation/?product=syslog-ng">http://www.balabit.com/support/documentation/?product=syslog-ng</a>
FAQ: <a class="moz-txt-link-freetext" href="http://www.balabit.com/wiki/syslog-ng-faq">http://www.balabit.com/wiki/syslog-ng-faq</a>

</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>