Hi Daniel,
I tried to compile libssh2 with aCC (HP ANSI C++ B3910B A.03.37) on a HP-UX
PA-risc B.11.11 U and I got the following error:
[HR00D380]_[pulviren] > make
No suffix list.
Making all in src
make all-am
source='session.c' object='session.lo' libtool=yes \
DEPDIR=.deps depmode=hp2 /bin/sh ../depcomp \
/bin/sh ../libtool --tag=CC --mode=compile /opt/aCC/bin/aCC -Ae
-DHAVE_CONFIG_H -I../include -I../src -g -I/usr/local/include
-I/usr/local/include -c -o session.lo session.c
/opt/aCC/bin/aCC -Ae -DHAVE_CONFIG_H -I../include -I../src -g
-I/usr/local/include -I/usr/local/include -c +Maked session.c -DPIC -o
.libs/session.o
Warning 942: "session.c", line 442 # Types 'void *' and 'void
(*)(_LIBSSH2_SESSION *,const char
*,int,void **)' are not assignment-compatible.
oldcb = session->ssh_msg_ignore;
^^^^^^^^^^^^^^^^^^^^^^^
Warning 942: "session.c", line 447 # Types 'void *' and 'void
(*)(_LIBSSH2_SESSION *,int,const
char *,int,const char *,int,void **)' are not assignment-compatible.
oldcb = session->ssh_msg_debug;
^^^^^^^^^^^^^^^^^^^^^^
Warning 942: "session.c", line 452 # Types 'void *' and 'void
(*)(_LIBSSH2_SESSION *,int,const
char *,int,const char *,int,void **)' are not assignment-compatible.
oldcb = session->ssh_msg_disconnect;
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 942: "session.c", line 457 # Types 'void *' and 'int
(*)(_LIBSSH2_SESSION *,const char
*,int,void **)' are not assignment-compatible.
oldcb = session->macerror;
^^^^^^^^^^^^^^^^^
Warning 942: "session.c", line 462 # Types 'void *' and 'void
(*)(_LIBSSH2_SESSION
*,_LIBSSH2_CHANNEL *,const char *,int,void **)' are not
assignment-compatible.
oldcb = session->x11;
^^^^^^^^^^^^
Error 176: "session.c", line 1134 # Size of array must be an integral constant
expression of value
greater than 0.
struct pollfd sockets[nfds];
^^^^
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
Any suggestion?
Thanks in advance,
Roberto
----- Messaggio originale -----
Da: Daniel Stenberg <[EMAIL PROTECTED]>
A: roberto pulvirenti <[EMAIL PROTECTED]>
Cc: libssh2-devel@lists.sourceforge.net
Inviato: Giovedì 19 luglio 2007, 11:22:46
Oggetto: Re: [libssh2] compilation in HP-UX
On Thu, 19 Jul 2007, roberto pulvirenti wrote:
> Has anyone compiled libssh2 on HP-UX platform? Do you see any issues on
> that?
Why don't you just try and report back your findings? I don't think there's
anything particular that should cause trouble on HP-UX.
___________________________________
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail:
http://it.docs.yahoo.com/nowyoucan.html
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel