[Teamserver-Client--Bug]: Error compiling x64 exe on aarch64
Author: AndreasDamenCreated Nov 29, 2024Updated Feb 6, 2026
Labelsclientside/teamserver
Contact Details
No response
What happened?
Having issues compiling a win exe on an aarch64 (rpi) (tried using the following solutions from other tickets i found here):
using /usr/bin/x86_64-w64-mingw32-gcc:
[*] starting build
[*] no sleep obfuscation has been specified
[*] sleep jump gadget option ignored
[*] stack duplication option ignored
[*] no proxy loading technique specified (using LdrLoadDll)
[*] amsi/etw patching disabled
[*] config size [502 bytes]
[*] compiling source
[-] couldn't compile implant: exit status 1
[-] compile output: In file included from include/Demon.h:10,
from src/core/CoffeeLdr.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/CoffeeLdr.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Command.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Command.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Dotnet.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Dotnet.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Download.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Download.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/HwBpEngine.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/HwBpEngine.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/HwBpExceptions.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/HwBpExceptions.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Jobs.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Jobs.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Kerberos.c:2:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Kerberos.c:2:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Memory.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Memory.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/MiniStd.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/MiniStd.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Obf.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Obf.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/ObjectApi.c:5:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/ObjectApi.c:5:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from include/core/MiniStd.h:4,
from src/core/Package.c:3:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from include/core/MiniStd.h:4,
from src/core/Package.c:3:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Parser.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Parser.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Pivot.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Pivot.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Runtime.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Runtime.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Socket.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Socket.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from include/core/MiniStd.h:4,
from src/core/Spoof.c:2:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from include/core/MiniStd.h:4,
from src/core/Spoof.c:2:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/SysNative.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/SysNative.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Syscalls.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Syscalls.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Thread.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Thread.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Token.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Token.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Transport.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Transport.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/TransportHttp.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/TransportHttp.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/TransportSmb.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/TransportSmb.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Win32.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Win32.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
src/core/Win32.c: In function ‘CfgAddressAdd’:
src/core/Win32.c:1263:5: error: unknown type name ‘CFG_CALL_TARGET_INFO’
1263 | CFG_CALL_TARGET_INFO Cfg = { 0 };
| ^~~~~~~~~~~~~~~~~~~~
src/core/Win32.c:1275:8: error: request for member ‘Flags’ in something not a structure or union
1275 | Cfg.Flags = CFG_CALL_TARGET_VALID;
| ^
src/core/Win32.c:1275:18: error: ‘CFG_CALL_TARGET_VALID’ undeclared (first use in this function)
1275 | Cfg.Flags = CFG_CALL_TARGET_VALID;
| ^~~~~~~~~~~~~~~~~~~~~
src/core/Win32.c:1275:18: note: each undeclared identifier is reported only once for each function it appears in
src/core/Win32.c:1276:8: error: request for member ‘Offset’ in something not a structure or union
1276 | Cfg.Offset = Function - ImageBase;
| ^
In file included from include/Demon.h:10,
from include/core/MiniStd.h:4,
from src/crypt/AesCrypt.c:2:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from include/core/MiniStd.h:4,
from src/crypt/AesCrypt.c:2:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/inject/Inject.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/inject/Inject.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/inject/InjectUtil.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/inject/InjectUtil.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/Demon.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/Demon.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/main/MainExe.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/main/MainExe.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^using data/x86_64-w64-mingw32-cross/bin/x86_64-w64-mingw32-gcc:
[*] starting build
[*] no sleep obfuscation has been specified
[*] sleep jump gadget option ignored
[*] stack duplication option ignored
[*] no proxy loading technique specified (using LdrLoadDll)
[*] amsi/etw patching disabled
[*] config size [502 bytes]
[*] compiling source
[-] couldn't compile implant: exit status 2
[-] compile outputSource: HavocFramework/Havoc