brannondorsey / naive-hashcat

Crack password hashes without the fuss :cat2:
MIT License
1.21k stars 161 forks source link

Crash on OS X #4

Open ALYREZA opened 6 years ago

ALYREZA commented 6 years ago

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....
brannondorsey commented 6 years ago

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...