Compile Error in Cygwin / openssl 1.1.1d
Georg Höllrigl
georg.hoellrigl at gmx.at
Tue Oct 15 18:44:01 UTC 2019
Hello,
I'm getting this error on compiling on MobaXTerm (basically Cygwin)
compiling 1.1.1d:
--------------------------------------------------------------------------
gcc -I. -Icrypto/include -Iinclude -Wall -O3 -fomit-frame-pointer
-DTERMIOS -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ
-DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_ IA32_SSE2 -DOPENSSL_BN_ASM_MONT
-DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM
-DMD5_ASM -DRMD160_ASM -DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_A SM
-DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\""
-DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF
crypto/dso/dso_dlfcn.d.tm p -MT crypto/dso/dso_dlfcn.o -c -o
crypto/dso/dso_dlfcn.o crypto/dso/dso_dlfcn.c
crypto/dso/dso_dlfcn.c: In function 'dlfcn_pathbyaddr':
crypto/dso/dso_dlfcn.c:409:5: error: unknown type name 'Dl_info'
Dl_info dli;
^
crypto/dso/dso_dlfcn.c:422:5: warning: implicit declaration of function
'dladdr' [-Wimplicit-function-declaration]
if (dladdr(addr, &dli)) {
^
crypto/dso/dso_dlfcn.c:423:30: error: request for member 'dli_fname' in
something not a structure or union
len = (int)strlen(dli.dli_fname);
^
crypto/dso/dso_dlfcn.c:432:25: error: request for member 'dli_fname' in
something not a structure or union
memcpy(path, dli.dli_fname, len);
^
Makefile:2735: recipe for target 'crypto/dso/dso_dlfcn.o' failed
make[1]: *** [crypto/dso/dso_dlfcn.o] Error 1
make[1]: Leaving directory '/drives/c/temp/openssl-1.1.1d'
Makefile:174: recipe for target 'all' failed
make: *** [all] Error 2
--------------------------------------------------------------------------
I tracked down what has changed. I guess the problems were introduced with
that issue & commit:
https://github.com/openssl/openssl/issues/9385
https://github.com/openssl/openssl/commit/38f6f99cdf0a87345d646d30a764c089c3
8627ad
Replacing the file crypto/dso/dso_dlfcn.c- with the version from 1.1.1c
fixes the problem.
Is there a way to get that fixed otherwise? Is that sufficient for an issue
on GitHub?
Any more Information I should provide?
Kind Regards,
Georg
More information about the openssl-users
mailing list