Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenBSD 6.2 Error make #5

Open
hucste opened this issue Dec 11, 2017 · 0 comments
Open

OpenBSD 6.2 Error make #5

hucste opened this issue Dec 11, 2017 · 0 comments

Comments

@hucste
Copy link

hucste commented Dec 11, 2017

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')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant