Hello everyone,
unfortunately, it doesn't build anymore with CYGWIN.
The build process hangs with this error:

libssh-0.11.0/src/misc.c: In function ‘ssh_strerror’:
libssh-0.11.0/src/misc.c:1984:8: error: assignment to ‘int’ from ‘char *’ makes 
integer from pointer without a cast [-Werror=int-conversion]
 1984 |     rv = strerror_r(err_num, buf, buflen);
      |        ^

After that, it hangs with another error:

libssh-0.11.0/src/ttyopts.c: In function ‘encode_termios_opts’:
libssh-0.11.0/src/ttyopts.c:267:26: error: ‘PENDIN’ undeclared (first use in 
this function)
  267 |     SSH_ENCODE_LOCAL_OPT(PENDIN)
      |                          ^~~~~~

At the moment, I fixed both error with the attached patch.
I hope that you will find this report useful.

Sincerely,

Carlo Bramini.




> Il 08/08/2024 13:40 CEST Sahana Prasad <sah...@redhat.com> ha scritto:
> 
> 
> Hello everyone,
> We are thrilled to announce libssh 0.11.0! This latest version brings 
> exciting new features such as better async SFTP IO, PKCS#11 provider support 
> for OpenSSL 3.0, testing for GSSAPI authentication, and proxy jump, along 
> with many other enhancements and features detailed in the changelog.
> 
> 
> If you are new to libssh you should read ourtutorial 
> (https://api.libssh.org/stable/libssh_tutorial.html)on how to get started. 
> Please join our mailing list (https://www.libssh.org/communication/)or visit 
> Matrix channel 
> (https://matrix.to/#/!yBkUIMByeIPFgUzcVM:matrix.org?via=matrix.org)if you 
> have questions.
> 
> 
> You can read the full changelog and download updatedlibssh on the following 
> announcement post:
> 
> 
> https://www.libssh.org/2024/08/08/libssh-0-11-0-release/
> Thank you,
> libssh team

Attachment: libssh-0.11.0-1.src.patch
Description: Binary data

Reply via email to