php ssh make: *** [ssh2.lo] Error 1

Standard

ssh2.c patch:

LINE 480:
search and change following line:
#if LIBSSH2_APINO < 200412301450

#else
to:
#if (defined(LIBSSH2_APINO) && LIBSSH2_APINO < 200412301450)

#else

LINE 1216:
search and change following line:
#if (LIBSSH2_APINO > 200503221619)
to:
#if (defined(LIBSSH2_APINO) && (LIBSSH2_APINO > 200503221619)) ||
(defined(LIBSSH2_VERSION_NUM) && LIBSSH2_VERSION_NUM >= 0x001000)

Compile again.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.