Written by georg
on Oktober 15, 2019
OpenSSL 1.1.1d bricht leider mit einem Fehler ab
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
Ursache ist diese Änderung im Code
Wurde mit dieser Issue eingeführt
Build läuft wie gewohnt durch, wenn man die Datei crypto/dso/dso_dlfcn.c aus 1.1.1c verwendet.
Schreibe einen Kommentar