Open huoyingyangjie opened 1 year ago
@huoyingyangjie Hi, thank you for the report? What's the operating system version?
All occurrences of random.h
seem to already refer through sys
:
> rg random.h
libtac/lib/crypt.c
24:#include <sys/random.h>
libtac/lib/header.c
25:#include <sys/random.h>
libtac/include/libtac.h
61:#include <sys/random.h>
configure.ac
85:AC_CHECK_HEADERS([syslog.h unistd.h sys/random.h])
Os version : CentOS Linux release 7.3.1611 (Core) Gnulib version : HEAD detached at 08ba9aaebf Earlier, i use glibc2.17 lost sys/random.h in /usr/include, so i upgrade to glibc version: 2.31. But it still occur this error.
I meet abover error as the build way you metioned in readme.It occured in make stage.I resolved it by add 'sys' directory in lib.