winkexec
winkexec copied to clipboard
how am i supposed to compile this?
I tried to compile on windows and linux with no luck.
derin@deep:~/Downloads/winkexec-master$ CROSS=x86_64-w64-mingw32- make set -e; \ for dir in revtag driver clientdll cliclient guiclient setup; do \ make -C $dir ; \ done make[1]: Entering directory '/home/derin/Downloads/winkexec-master/revtag' python revtag.py --make-headers .. . revtag.py: revtag.h is up to date revtag.py: revtag.nsh is up to date make[1]: Leaving directory '/home/derin/Downloads/winkexec-master/revtag' make[1]: Entering directory '/home/derin/Downloads/winkexec-master/driver' x86_64-w64-mingw32-gcc -s -O2 -W -Wall -mno-clwb -DDWORD="unsigned int" -I../include -DDRIVER -c -o buffer.o buffer.c In file included from /usr/share/mingw-w64/include/ddk/ntddk.h:38:0, from buffer.h:21, from buffer.c:18: /usr/share/mingw-w64/include/ddk/wdm.h:376:1: error: redefinition of ‘_InterlockedAdd64’ InterlockedAdd64( ^ In file included from /usr/share/mingw-w64/include/intrin.h:41:0, from /usr/share/mingw-w64/include/ddk/wdm.h:68, from /usr/share/mingw-w64/include/ddk/ntddk.h:38, from buffer.h:21, from buffer.c:18: /usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:1078:9: note: previous definition of ‘_InterlockedAdd64’ was here __int64 _InterlockedAdd64(__int64 volatile *Addend, __int64 Value) { ^~~~~~~~~~~~~~~~~ buffer.c: In function ‘KexecLoadBuffer’: buffer.c:82:17: warning: implicit declaration of function ‘TAG’ [-Wimplicit-function-declaration] alloc_size, TAG('K', 'x', 'e', 'c')); ^~~ <builtin>: recipe for target 'buffer.o' failed make[1]: *** [buffer.o] Error 1 make[1]: Leaving directory '/home/derin/Downloads/winkexec-master/driver' Makefile:22: recipe for target 'all' failed make: *** [all] Error 2