I’ve been trying to make a DKM, but now it is based on more than 1000 lines of code. After compiling DKM, I get the following error:
R_X86_64_32 relocated value does not fit in 32 bits!
You should rebuild your module to use the large code memory model.
How can I solve this issue? I read that I should add -mlongcall flag, but it is not working.
Thank you,
António Pedro