<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    In my case all compiled fine:<br>
    <br>
    ./configure --disable-libssh<br>
    .....<br>
    <br>
    <br>
    CC -o obj/proto/rpki/ssh_transport.o -c proto/rpki/ssh_transport.c<br>
    CC -o obj/proto/rpki/transport.o -c proto/rpki/transport.c<br>
    CC -o obj/proto/static/static.o -c proto/static/static.c<br>
    <br>
    <br>
    <div class="moz-cite-prefix">Clemens Schrimpe пишет 19.03.2020
      16:44:<br>
    </div>
    <blockquote
      cite="mid:74EBA9FF-7386-4EB2-8655-A5FCE37E50E8@gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      Hello and sorry for the late feedback ... lots of things going on
      ... 
      <div class=""><br class="">
        <div><br class="">
          <blockquote type="cite" class="">
            <div class="">On 14. Jan 2020, at 16:45, Maria Matějka <<a
                moz-do-not-send="true"
                href="mailto:maria.matejka@nic.cz" class="">maria.matejka@nic.cz</a>>
              wrote:</div>
            <br class="Apple-interchange-newline">
            <div class="">
              <div class="">
                <blockquote type="cite" class="">however, attempts to
                  build it without /--disable-libssh/ result in a
                  linking error:<br class="">
                </blockquote>
                <br class="">
                Oops, sorry, I missed one include. Here is the fixed
                patch, now it compiles both with and without libSSH.<br
                  class="">
                <br class="">
                Maria<br class="">
                <span
                  id="cid:B3867E5F-A8F4-4EC4-A2D7-31364EAD1DC5@fritz.box"><no-ssh-2.patch></span></div>
            </div>
          </blockquote>
        </div>
        <br class="">
      </div>
      <div class="">No, unfortunately it does not - not any more, at
        least:</div>
      <div class=""><br class="">
      </div>
      <div class="">Configured with</div>
      <div class=""><br class="">
      </div>
      <div class=""><span class="Apple-tab-span" style="white-space:pre">     </span>./configure
        --disable-libssh</div>
      <div class=""><br class="">
      </div>
      <div class="">it doesn't compile <i class="">proto/rpki/ssh_transport.c
        </i><span style="font-style: normal;" class="">because it
          references "</span>struct ssh_sock" and "SK_SSH_CONNECT",
        whose definitions are excluded in lib/socket.h
        unless HAVE_LIBSSH is defined →</div>
      <div class=""><br class="">
      </div>
      <blockquote style="margin: 0 0 0 40px; border: none; padding:
        0px;" class="">
        <div class="">
          <div style="font-size: 12px;" class="">CC -o
            obj/proto/rpki/ssh_transport.o -c proto/rpki/ssh_transport.c</div>
        </div>
        <div class="">
          <div style="font-size: 12px;" class="">proto/rpki/ssh_transport.c:
            In function 'rpki_tr_ssh_open':</div>
        </div>
        <div class="">
          <div style="font-size: 12px;" class="">proto/rpki/ssh_transport.c:29:40:
            error: invalid application of 'sizeof' to incomplete type
            'struct ssh_sock'</div>
        </div>
        <div class="">
          <div style="font-size: 12px;" class="">   sk->ssh =
            mb_allocz(sk->pool, sizeof(struct ssh_sock));</div>
        </div>
        <div class="">
          <div style="font-size: 12px;" class="">                       
                            ^~~~~~</div>
        </div>
        <div class="">
          <div style="font-size: 12px;" class="">proto/rpki/ssh_transport.c:30:10:
            error: dereferencing pointer to incomplete type 'struct
            ssh_sock'</div>
        </div>
        <div class="">
          <div style="font-size: 12px;" class=""> 
             sk->ssh->username = ssh_cf->user;</div>
        </div>
        <div class="">
          <div style="font-size: 12px;" class="">          ^~</div>
        </div>
        <div class="">
          <div style="font-size: 12px;" class="">proto/rpki/ssh_transport.c:34:20:
            error: 'SK_SSH_CONNECT' undeclared (first use in this
            function)</div>
        </div>
        <div class="">
          <div style="font-size: 12px;" class="">   sk->ssh->state
            = SK_SSH_CONNECT;</div>
        </div>
        <div class="">
          <div style="font-size: 12px;" class="">                   
            ^~~~~~~~~~~~~~</div>
        </div>
      </blockquote>
      <div class=""><br class="">
      </div>
      <div class="">Again: Thanks for your great support!</div>
      <div class=""><br class="">
      </div>
      <div class=""><span class="Apple-tab-span" style="white-space:pre">     </span>Clemens</div>
      <div class=""><br class="">
      </div>
      <div class=""><br class="">
      </div>
    </blockquote>
    <br>
  </body>
</html>