seemoo-lab/owl

Cannot build on MacOS < High Sierra

Ocelot124286 opened this issue · 2 comments

I tried building owl on my MacBook Pro late 2009 running MacOS El Capitan and I get this error when I run make:

[ 10%] Building C object src/CMakeFiles/awdl.dir/state.c.o
/Users/bryce/owl/src/state.c💯11: warning: implicit declaration of function
'clock_gettime' is invalid in C99 [-Wimplicit-function-declaration]
result = clock_gettime(CLOCK_MONOTONIC, &now);
^
/Users/bryce/owl/src/state.c💯25: error: use of undeclared identifier
'CLOCK_MONOTONIC'
result = clock_gettime(CLOCK_MONOTONIC, &now);
^
1 warning and 1 error generated.
make[2]: *** [src/CMakeFiles/awdl.dir/state.c.o] Error 1
make[1]: *** [src/CMakeFiles/awdl.dir/all] Error 2
make: *** [all] Error 2


I found that there should be some workaround similar to this pull for hashcat:

hashcat/hashcat#1480

Thanks for your help!

I think ":100" is replaced with a 100 emoji

While the issue has been resolved by installing High Sierra with a patch from dosdude1, I have a new issue which I will post up.