./Configure no-threads no-dso no-shared no-zlib no-asm no-engine no-bf no-camellia no-cast no-md2 no-md4 no-mdc2 no-ocsp no-rc2 no-rc5 no-hw no-idea no-srp gcc
-prud On Fri, 24 Jul, 2020, 11:00 am Richard Levitte, <levi...@openssl.org> wrote: > It would be helpful if you showed us the Configure options, as they > may very well have affected diverse macros. > > Cheers, > Richard > > On Thu, 23 Jul 2020 21:39:45 +0200, > prudvi raj wrote: > > 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. > > > > > -- > Richard Levitte levi...@openssl.org > OpenSSL Project http://www.openssl.org/~levitte/ >