Open nitinsurana opened 4 years ago
Duplicate of https://github.com/giltene/wrk2/issues/86 and the solution mentioned worked.
Keeping this issue open for updating the wiki or LuaJIT dependency.
🤔 I'm getting
CC src/script.c
src/script.c:476:5: error: implicit declaration of function 'gettimeofday' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
gettimeofday(&tv, NULL);
^
1 error generated.
make: *** [obj/script.o] Error 1
even after patching luajit
Followed this wiki and tried building from source as well as using homebrew, both fails with the following error on MacOS
MacOS version : 10.15.2
Related: https://github.com/jabley/homebrew-wrk2/issues/5 https://github.com/obsproject/obs-studio/issues/2784