Error tempname.c:96:7: error: call to undeclared function 'getrandom';
badli al rashid <[email protected]> Tue, 6 May 2025 09:34:25 +0800
| Newsgroups | gmane.editors.nano.devel |
|---|---|
| Message-ID | <CAJinB_AaUxmfof3fTwCev+NZAsk7hq9DOJb7Gh6cMtcaYfp31w@mail.gmail.com> |
Hi,
I have the following error when running make.
ame.c
tempname.c:96:7: error: call to undeclared function 'getrandom'; ISO C99
and later do not support implicit function declarations
[-Wimplicit-function-declaration]
96 | if (__getrandom (r, sizeof *r, GRND_NONBLOCK) == sizeof *r)
| ^
tempname.c:56:22: note: expanded from macro '__getrandom'
56 | # define __getrandom getrandom
| ^
1 error generated.
make[4]: *** [Makefile:5302: libgnu_a-tempname.o] Error 1
make[4]: Leaving directory '/data/data/com.termux/files/home/nano/lib'
make[3]: *** [Makefile:6225: all-recursive] Error 1
make[3]: Leaving directory '/data/data/com.termux/files/home/nano/lib'
make[2]: *** [Makefile:3087: all] Error 2
make[2]: Leaving directory '/data/data/com.termux/files/home/nano/lib'
make[1]: *** [Makefile:2309: all-recursive] Error 1
make[1]: Leaving directory '/data/data/com.termux/files/home/nano'
make: *** [Makefile:2250: all] Error 2
Sent from Gmail