<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi<div class=""><br class=""></div><div class="">I was just trying to compile libgcrypt 1.10.2 on my Mac</div><div class=""><br class=""></div><div class=""><div class="">libgcrypt ➤ uname -a</div><div class="">Darwin paag-MacBookAir 21.6.0 Darwin Kernel Version 21.6.0: Thu Mar 9 20:08:59 PST 2023; root:xnu-8020.240.18.700.8~1/RELEASE_X86_64 x86_64</div></div><div class=""><br class=""></div><div class="">And I got the following error:</div><div class=""><br class=""></div><div class=""><div class="">/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/usr/local/include -I/usr/local/include -arch x86_64 -Os -fno-delete-null-pointer-checks -Wall -MT rndgetentropy.lo -MD -MP -MF .deps/rndgetentropy.Tpo -c -o rndgetentropy.lo rndgetentropy.c</div><div class="">libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/usr/local/include -I/usr/local/include -arch x86_64 -Os -fno-delete-null-pointer-checks -Wall -MT rndgetentropy.lo -MD -MP -MF .deps/rndgetentropy.Tpo -c rndgetentropy.c -fno-common -DPIC -o .libs/rndgetentropy.o</div><div class="">rndgetentropy.c:98:21: error: implicit declaration of function 'getrandom' is invalid in C99 [-Werror,-Wimplicit-function-declaration]</div><div class=""> ret = getrandom (buffer, nbytes, GRND_RANDOM);</div><div class=""> ^</div><div class="">rndgetentropy.c:98:48: error: use of undeclared identifier 'GRND_RANDOM'</div><div class=""> ret = getrandom (buffer, nbytes, GRND_RANDOM);</div><div class=""> ^</div><div class="">2 errors generated.</div></div><div class=""><br class=""></div><div class="">This all in my effort to get gnupg 2.4.1 running from the tarballs in <a href="http://gnupg.org" class="">gnupg.org</a></div><div class=""><br class=""></div><div class="">Thanks for any help, /PA</div><div class=""><br class=""></div></body></html>