brannondorsey/naive-hashcat

Crash on OS X

ALYREZA opened this issue · 1 comments

Hello,

I would like to thank you for naive-hashcat but I cannot install it on OS X (10.11.6)
with these errors:

src/timer.c:36:3: error: implicit declaration of function 'clock_gettime' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
  clock_gettime (CLOCK_MONOTONIC, a);
  ^

src/timer.c:36:18: error: use of undeclared identifier 'CLOCK_MONOTONIC'
  clock_gettime (CLOCK_MONOTONIC, a);
                 ^
2 errors generated.
make: *** [obj/timer.NATIVE.STATIC.o] Error 1
make: *** Waiting for unfinished jobs....

Hi @ALYREZA, thanks for the report. I'm assuming that is thrown when make is called inside build-hashcat-osx.sh, correct? If so, that is actually a hashcat build error and it might be worth poking around over there. Unfortunately I don't have a Macintosh to test with.

Do you have the latest xcode developer tools installed? Just a thought...