On Mon, Apr 03, 2023 at 02:32:37PM +0200, Arash Esbati wrote: > >> C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: > >> ../gnulib/lib/libgnu.a(libgnu_a-getrandom.o): in function > >> `getrandom': > >> Z:/texinfo/gnulib/lib/getrandom.c:128: undefined reference to > >> `BCryptGenRandom' > >> collect2.exe: error: ld returned 1 exit status > >> --8<---------------cut here---------------end--------------->8--- > > > > This may be harder to fix. This is coming from gnulib code. > > This issue remains, make stops like described above. >
Could you run ./autogen.sh or "make configure" to make sure the configure script is regenerated, re-run configure, and if the problem persists, check in config.log for lines relevant to bcrypt and getrandom? Can you check if there is a line "checking whether the bcrypt library is guaranteed to be present" and check what comes after it? Could you post what the values was for HAVE_LIB_BCRYPT?