safeclib icon indicating copy to clipboard operation
safeclib copied to clipboard

How do you install the kernel module?

Open JL2210 opened this issue 5 years ago • 4 comments

I'm trying to install the kernel module, however I can't figure out how to. How do I do this?

JL2210 avatar Jul 20 '19 18:07 JL2210

./configure --disable-wchar && \
    make -s -j4 -f Makefile.kernel

and then recompile the kernel with this lib. I have never done it though

rurban avatar Jul 20 '19 18:07 rurban

I know how to build the kernel module. I just don't know how to install it.

JL2210 avatar Jul 20 '19 18:07 JL2210

Unfurtunately I cannot answer that. You'll have to look at the kernel config documentation how to build it with an external lib. You'll also need to patch it extensively to use it, eg memset => memset_s, ...

rurban avatar Jul 20 '19 18:07 rurban

I meant that I wanted to install the .ko file so I could do modprobe slkm.

JL2210 avatar Jul 20 '19 18:07 JL2210