make error: misc.c:312: error: ‘ERR_CANNOT_READ_FROM_POOL’ undeclared (first use in this function)
Issue #7
resolved
It seems that ERR_CANNOT_READ_FROM_POOL is used in function ‘get_random_bytes’ but misc.c does not include errmsg.h so it fails.
Fix is to include errmsg.h to misc.c and misc.h:
misc.c: In function ‘get_random_bytes’: misc.c:312: error: ‘ERR_CANNOT_READ_FROM_POOL’ undeclared (first use in this function) misc.c:312: error: (Each undeclared identifier is reported only once misc.c:312: error: for each function it appears in.) make[1]: *** [misc.o] Error 1
Comments (4)
-
reporter -
repo owner errmsg.h is included from clapf.h which is referenced by misc.c. I'll check it on centos6 as well.
-
reporter Not sure what happened but this seems to be working in the latest master now (0a28a8406818).
-
reporter - changed status to resolved
Seems to be working now.
- Log in to comment
Here is the relevant error when I make: