[Unbound-users] [1.5.0] Compile error on Debian Lenny

Saturas saturas81 at vfemail.net
Mon Dec 1 11:40:32 UTC 2014


Hello,

> Does this patch alleviate the issue?
>
> Index: compat/getentropy_linux.c
> ===================================================================
> --- compat/getentropy_linux.c	(revision 3284)
> +++ compat/getentropy_linux.c	(working copy)
> @@ -48,6 +48,7 @@
>  #include <time.h>
>  #include <openssl/sha.h>
>
> +#include <linux/types.h>
>  #include <linux/random.h>
>  #include <linux/sysctl.h>
>  #ifdef HAVE_GETAUXVAL

Yes.

Another guy recommended by mail to add this line in kernel headers
directly. This works, too. As expected.

--- /usr/include/linux/random.h.bak     2014-09-16 22:23:35.000000000 +0200
+++ /usr/include/linux/random.h 2014-11-18 17:49:50.000000000 +0100
@@ -8,6 +8,7 @@
 #define _LINUX_RANDOM_H

+#include <linux/types.h>
 #include <linux/ioctl.h>

 /* ioctl()'s for the random number generator */


Thank you very much. Unbound works again.


Regards
Saturas

-------------------------------------------------

VFEmail.net - http://www.vfemail.net
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  



More information about the Unbound-users mailing list