Error when making "libgcrypt" [rndgetentropy.c ]

WATANABE Takeo take at kasaneiro.jp
Sun May 7 03:17:37 CEST 2023


Hi.

on Fri, 05 May 2023 10:45:52 +0200
Werner Koch <wk at gnupg.org> wrote: 

>> rndgetentropy.c:98:48: error: use of undeclared identifier 'GRND_RANDOM'
>>               ret = getrandom (buffer, nbytes, GRND_RANDOM);
> 
>> OS         :  macOS  13.3.1 (a) / Command Line Tools for Xcode 14.3
>> Platform :  Darwin (x86_64-apple-darwin22.4.0)
> 
> There is a glitch in 1.10 which affects macOS.  Please see
> 
> https://dev.gnupg.org/T6442
> 
> which has a patch.  It should also be possible to use
> 
>   ./configure --enable-random=linux
> 
> which uses the old /dev/random entrop gatherer.

I applied the three patches listed on the indicated webpage,
and make went through without any problems.

Thank you very much for your help.

Sincerely yours

---
WATANABE, Takeo
take at kasaneiro.jp



More information about the Gnupg-users mailing list