Just as an FYI, building libssh2-1.1.1-20090618 on an HP/UX B.11.23  
Itanium system gives the following warnings:
"session.c", line 520: warning #2167-D: argument of type "fd_set *" is  
incompatible with parameter of type "int *"
       rc = select(session->socket_fd + 1, readfd, writefd, NULL, NULL);
                                           ^
"session.c", line 520: warning #2167-D: argument of type "fd_set *" is  
incompatible with parameter of type "int *"
       rc = select(session->socket_fd + 1, readfd, writefd, NULL, NULL);
                                                   ^
On HP/UX, these can be resolved by compiling with - 
D_XOPEN_SOURCE_EXTENDED in the CFLAGS.
There are some other warnings due to assigning void* pointers to  
function pointers, but this is already noted in the source files (see  
the FIXME at session.c:451).
Thanks.
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-06-19