Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue Encountered During Compilation of Diamorphine Module #41

Closed
Nuthon01 opened this issue Feb 15, 2024 · 0 comments
Closed

Issue Encountered During Compilation of Diamorphine Module #41

Nuthon01 opened this issue Feb 15, 2024 · 0 comments

Comments

@Nuthon01
Copy link

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant