error : unknown type name 'sa_family_t' in openssl 1.1.1g
prudvi raj
rajprudvi98 at gmail.com
Thu Jul 23 19:39:45 UTC 2020
Hi,
We are upgrading our code base to openssl 1.1.1g from 1.0.2k.
During Compilation i am seeing this error :
In file included from
<project_path>/openssl/include/internal/sockets.h:67:0,
from <path>/openssl/crypto/bio/bio_local.h:11,
from <path>/openssl/crypto/bio/bss_mem.c:12:
/opt/toolchains/adtn-6/sysroots/ppce500v2-fsl-linux-gnuspe/usr/include/netdb.h:469:7:
error: unknown type name 'sa_family_t'
/opt/toolchains/adtn-6/sysroots/ppce500v2-fsl-linux-gnuspe/usr/include/netdb.h:497:8:
error: unknown type name 'sa_family_t'
/opt/toolchains/adtn-6/sysroots/ppce500v2-fsl-linux-gnuspe/usr/include/netdb.h:519:10:
error: unknown type name 'sa_family_t'
/opt/toolchains/adtn-6/sysroots/ppce500v2-fsl-linux-gnuspe/usr/include/netdb.h:543:4:
error: unknown type name 'sa_family_t'
/opt/toolchains/adtn-6/sysroots/ppce500v2-fsl-linux-gnuspe/usr/include/netdb.h:562:41:
error: unknown type name 'sa_family_t'
In bio_local.h , if we remove "#include<internal/sockets.h>" & replace it
with "#include<sys/socket.h>" , the error is gone !! . But I am not sure
is this correct ??
Btw , even "internal/sockets.h " has " #include<sys/socket.h>".
How to resolve this , Might I have missed something during configure &
compilation ??
fwiw: have given "./configure <options> gcc" & same was given when we had
upgraded to 1.0.2 from previous versions long ago.
Thanks,
Prud.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20200724/5f8f8f50/attachment-0001.html>
More information about the openssl-users
mailing list