Using RHEL5 with libssh2 0.17, get the following compile error:
checks_ssh.c: In function 'waitsocket':
checks_ssh.c:64: error: 'LIBSSH2_SESSION_BLOCK_INBOUND' undeclared (first use in this function)
checks_ssh.c:64: error: (Each undeclared identifier is reported only once
checks_ssh.c:64: error: for each function it appears in.)
checks_ssh.c:67: error: 'LIBSSH2_SESSION_BLOCK_OUTBOUND' undeclared (first use in this function)
I realize 0.17 is old, but it is what is available via yum on that platform. Those defines were released after 0.19.
For reference, google found this:
Will a certain version of libssh2 be required?
checks_ssh.c: In function 'waitsocket':
checks_ssh.c:64: error: 'LIBSSH2_SESSION_BLOCK_INBOUND' undeclared (first use in this function)
checks_ssh.c:64: error: (Each undeclared identifier is reported only once
checks_ssh.c:64: error: for each function it appears in.)
checks_ssh.c:67: error: 'LIBSSH2_SESSION_BLOCK_OUTBOUND' undeclared (first use in this function)
I realize 0.17 is old, but it is what is available via yum on that platform. Those defines were released after 0.19.
For reference, google found this:
Will a certain version of libssh2 be required?
), try w/o trailing 'lib'
Comment