cryptonight-hash-lib
cryptonight-hash-lib copied to clipboard
OpenBSD 6.2 Error make
Hi, i cant build onto OpenBSD 6.2:
$ make
Scanning dependencies of target cryptonite_hash
[ 7%] Building C object CMakeFiles/cryptonite_hash.dir/crypto/aesb.c.o
[ 14%] Building C object CMakeFiles/cryptonite_hash.dir/crypto/oaes_lib.c.o
In file included from /home/user/Documents/Dev/NotMine/cryptonight-hash-lib/crypto/oaes_lib.c:34:
In file included from /home/user/Documents/Dev/NotMine/cryptonight-hash-lib/./miner.h:83:
/home/user/Documents/Dev/NotMine/cryptonight-hash-lib/./compat.h:70:9: warning: '_ALIGN' macro redefined [-Wmacro-redefined]
#define _ALIGN(x) __attribute__ ((aligned(x)))
^
/usr/include/machine/_types.h:50:9: note: previous definition is here
#define _ALIGN(p) (((unsigned long)(p) + _ALIGNBYTES) &~_ALIGNBYTES)
^
/home/user/Documents/Dev/NotMine/cryptonight-hash-lib/crypto/oaes_lib.c:38:10: fatal error: 'sys/timeb.h' file not found
#include <sys/timeb.h>
^~~~~~~~~~~~~
1 warning and 1 error generated.
*** Error 1 in . (CMakeFiles/cryptonite_hash.dir/build.make:87 'CMakeFiles/cryptonite_hash.dir/crypto/oaes_lib.c.o': /usr/bin/cc -Dcryptonit...)
*** Error 1 in . (CMakeFiles/Makefile2:68 'CMakeFiles/cryptonite_hash.dir/all')
*** Error 1 in /home/user/Documents/Dev/NotMine/cryptonight-hash-lib (Makefile:84 'all')