Device random seems broken.

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Fri, 21 Aug 2015 22:03:13 -0700
I have 

device          random          # Entropy device
options         RANDOM_YARROW

in my kernel config file.  When rebuilding world, I'm
seeing 

In file included from /usr/src/sys/modules/random_fortuna/../../dev/random/randomdev.c:44:
/usr/src/sys/sys/random.h:39:2: error: "Cannot define both RANDOM_LOADABLE and
      RANDOM_YARROW"
#error "Cannot define both RANDOM_LOADABLE and RANDOM_YARROW"
 ^
1 error generated.
In file included from /usr/src/sys/modules/random_fortuna/../../dev/random/fortuna.c:45:
/usr/src/sys/sys/random.h:39:2: error: "Cannot define both RANDOM_LOADABLE and
      RANDOM_YARROW"
#error "Cannot define both RANDOM_LOADABLE and RANDOM_YARROW"
 ^
1 error generated.
mkdep: compile failed
*** Error code 1

Stop.
make[4]: stopped in /usr/src/sys/modules/random_fortuna
*** Error code 1

Please fix.

-- 
Steve
Received on Sat Aug 22 2015 - 03:09:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:59 UTC