[stunnel-users] Stunnel 4.14 & 4.15 don't compile on Tru64 (5.1A)!
Alberto D'Ambrosio
Alberto.DAmbrosio at to.infn.it
Wed Jan 11 11:50:59 CET 2006
Hi!
I'd like to upgrade Stunnel from 4.04 to 4.14/4.15
on my Tru64 box, but it no longer compiles:
=========================================
cc: Error: client.c, line 173: In this declaration, "socklen_t" must specify a
type. (badparsedecl)
socklen_t addrlen;
----^
cc: Error: client.c, line 893: In this declaration, "socklen_t" must specify a
type. (badparsedecl)
socklen_t addrlen;
----^
cc: Error: client.c, line 1003: In this declaration, "socklen_t" must specify a
type. (badparsedecl)
socklen_t optlen;
----^
cc: Error: client.c, line 175: In this statement, "addrlen" is not declared.
(undeclared)
addrlen=sizeof(SOCKADDR_UNION);
----^
cc: Warning: client.c, line 259: In this statement, the referenced type of the
pointer value "sid_ctx" is "unsigned char", which is not compatible with "const
char" because they differ by signed/unsigned attribute. (ptrmismatch1)
SSL_set_session_id_context(c->ssl, sid_ctx, strlen(sid_ctx));
-------------------------------------------------------^
cc: Error: client.c, line 904: In this statement, "addrlen" is not declared.
(undeclared)
addrlen=sizeof(SOCKADDR_UNION);
----^
cc: Error: client.c, line 1019: In this statement, "optlen" is not declared.
(undeclared)
optlen=sizeof(error);
------------^
*** Exit 1
Stop.
*** Exit 1
Stop.
=========================================
For your information:
- Version 4.04 compiles and works fine.
- Version 4.06 compiles but doesn't work:
Jan 11 10:36:14 scilla stunnel[701061]:
daemon_loop: s_poll_wait: Invalid argument (22)
Jan 11 10:38:37 scilla last message repeated 77888 times
Jan 11 10:36:44 scilla last message repeated 24118 times
- any version >= 4.07 no longer compiles.
- OpenSSL 0.9.8a compiles and works fine.
Any help is appreciated.
Ciao, Alberto
More information about the stunnel-users
mailing list