-
Problem report
-
Resolution: Unresolved
-
Trivial
-
7.2.2
-
None
-
Sprint candidates
Steps to reproduce:
- Update with latest libraries and latest source code (7.2.2)
- configure --prefix=/usr --enable-server --enable-agent --enable-agent2 --enable-webservice --enable-java --with-mysql --with-libxml2 --with-unixodbc --with-net-snmp --with-openipmi --with-zlib --with-libevent --with-openssl --with-libcurl --with-libpcre
- make install
Result:
gcc -DHAVE_CONFIG_H -I../../../include/common -I../../../include -I/usr/include -I/usr/include/libxml2 -I/usr/include/db5.3 -I/usr/lib/perl5/5.40/core_perl/CORE -I/usr/include/libnl3 -I. -I/usr/include -I/usr/include -g -O2 -MT lib zbxpoller_a-ssh2_run.o -MD -MP -MF .deps/libzbxpoller_a-ssh2_run.Tpo -c -o libzbxpoller_a-ssh2_run.o `test -f 'ssh2_run.c' || echo './'`ssh2_run.c ssh2_run.c: In function ‘ssh_run’: ssh2_run.c:282:9: warning: ‘libssh2_session_startup’ is deprecated: since libssh2 1.2.8. Use libssh2_session_handshake() [-Wdeprecated-declarations] 282 | while (0 != (rc = libssh2_session_startup(session, s.socket))) | ^~~~~ In file included from ssh2_run.c:17: /usr/include/libssh2.h:670:17: note: declared here 670 | LIBSSH2_API int libssh2_session_startup(LIBSSH2_SESSION *session, int sock); | ^~~~~~~~~~~~~~~~~~~~~~~
Expected:
Clean compile