Diamorphine icon indicating copy to clipboard operation
Diamorphine copied to clipboard

Issue Encountered During Compilation of Diamorphine Module

Open Nuthon01 opened this issue 4 months ago • 0 comments

Dear Author,

I hope this message finds you well.

I am writing to report an issue I encountered while attempting to compile your Diamorphine module.

Here is the specific error message:

ERROR: modpost: "kallsyms_lookup_name" [/root/Diamorphine/Diamorphine.ko] undefined! make[2]: *** [../scripts/Makefile.modpost:186: /root/Diamorphine/Module.symvers] Error 1 make[1]: *** [../Makefile:2009: modpost] Error 2 make[1]: Leaving directory '/root/android-kernel/6.1/common/out' make: *** [Makefile:10: all] Error 2 It seems to be related to an undefined symbol named "kallsyms_lookup_name". I am using the LLVM compiler suite (including clang, ld.lld, llvm-objcopy, etc.) and have specified the ARCH=arm64 parameter during compilation.

I have ensured that my Android kernel source code is located in the '/root/android-kernel/6.1/common/out' directory, and the Diamorphine source code is in the '/root/Diamorphine' directory.

Could you please provide some guidance to help me resolve this compilation issue? I am looking forward to successfully compiling and running your module.

Thank you for your assistance!

Best regards, [Hualanxi]

Nuthon01 avatar Feb 15 '24 13:02 Nuthon01