I try today to port this to os2.
I use the /os2/OS2-EMX.cmd
This went well but when i do
Now run:
For static build:
make -f OS2-EMX.mak
It ends with
./crypto/bio/b_sock.c: In function 'BIO_get_accept_socket':
./crypto/bio/b_sock.c:632: warning: 'struct addrinfo' declared inside
parameter list
./crypto/bio/b_sock.c:632: warning: its scope is only this definition
or declaration, which is probably not what you want
./crypto/bio/b_sock.c:635: warning: 'struct addrinfo' declared inside
parameter list
./crypto/bio/b_sock.c:637: error: storage size of 'hint' isn't known
./crypto/bio/b_sock.c:667: warning: passing argument 4 of
'p_getaddrinfo.f' from incompatible pointer type
./crypto/bio/b_sock.c:667: note: expected 'struct addrinfo **' but
argument is of type 'struct addrinfo **'
./crypto/bio/b_sock.c:668: error: dereferencing pointer to incomplete
type
./crypto/bio/b_sock.c:669: warning: passing argument 1 of
'p_freeaddrinfo.f' from incompatible pointer type
./crypto/bio/b_sock.c:669: note: expected 'struct addrinfo *' but
argument is of type 'struct addrinfo *'
./crypto/bio/b_sock.c:637: warning: unused variable 'hint'
./crypto/bio/b_sock.c:728: error: dereferencing pointer to incomplete
type
./crypto/bio/b_sock.c:728: error: dereferencing pointer to incomplete
type
./crypto/bio/b_sock.c:729: error: dereferencing pointer to incomplete
type
--
With the best regards from the Netherlands,
Our libc doesn't support getaddrinfo(). My copy of OpenSSl (1.0.0-beta2)
has this code wrapped in #ifdef EAI_FAMILY which I believe is only
defined in getaddrinfo() so that block doesn't get compiled.
See if you have EAI_FAMILY defined somewhere and undef it.
Dave