bright-gpu-74537
01/26/2022, 4:21 PMhallowed-ocean-84954
01/26/2022, 4:21 PMstraight-oyster-87301
01/26/2022, 4:22 PMsrc/module.c(472) : FATAL ERROR : Failed to load function systools@hl_registry_delete_keyhallowed-ocean-84954
01/26/2022, 4:22 PMhallowed-ocean-84954
01/26/2022, 4:22 PMstraight-oyster-87301
01/26/2022, 4:22 PMbright-gpu-74537
01/26/2022, 4:23 PMbright-gpu-74537
01/26/2022, 4:23 PMstraight-oyster-87301
01/26/2022, 4:23 PMstraight-oyster-87301
01/26/2022, 4:23 PMbright-gpu-74537
01/26/2022, 4:24 PMbright-gpu-74537
01/26/2022, 4:24 PMstraight-oyster-87301
01/26/2022, 4:25 PMstraight-oyster-87301
01/26/2022, 4:25 PMbright-gpu-74537
01/26/2022, 4:25 PMpowerful-morning-89
01/26/2022, 4:27 PMnm -g path/to/systools.hdll.
HL/JIT expects there to be the relevant hlp_foo functions, which are defined by the DEFINE_PRIM macro.straight-oyster-87301
01/26/2022, 4:29 PM[bulby@bulby-surfacepro6 Linux64]$ nm -g systools.hdll
w __cxa_finalize@GLIBC_2.2.5
w __gmon_start__
w _ITM_deregisterTMCloneTable
w _ITM_registerTMCloneTable
???powerful-morning-89
01/26/2022, 4:32 PMstraight-oyster-87301
01/26/2022, 4:32 PMstraight-oyster-87301
01/26/2022, 4:32 PMstraight-oyster-87301
01/26/2022, 4:36 PMstraight-oyster-87301
01/26/2022, 4:43 PMstraight-oyster-87301
01/26/2022, 4:44 PMstraight-oyster-87301
01/26/2022, 4:44 PMc
#include <stdbool.h>
#include <hl.h> but this is at the topstraight-oyster-87301
01/26/2022, 4:46 PMmakefile
HL_FLAGS:=-DHX_LINUX /usr/local/lib/*.hdll -I/usr/local/include -std=c11 -fPICstraight-oyster-87301
01/26/2022, 4:46 PMpowerful-morning-89
01/26/2022, 4:47 PMpowerful-morning-89
01/26/2022, 4:49 PM/usr/local/lib/*.hdll, and add -lhl to LD_FLAGS.straight-oyster-87301
01/26/2022, 4:51 PMstraight-oyster-87301
01/26/2022, 4:51 PMsrc/module.c(478) : FATAL ERROR : Invalid signature for function systools@hl_dialogs_folder : POBi_OBi__OBi_ required but POBi_OBi__B found in hdll looks like I borked a DEFINE_PRIM thing