Home > OS >  Compile the kernel module module
Compile the kernel module module

Time:12-13

Linux small white
When doing the module compiler, encountered an error, after the search found no solution, homework quickly, it is quite urgent
This is the contents of the Makefile
Obj - m:=module. O
KERNELBUILD:=/lib/modules/` uname -r `/build
Default:
The make - C $(KERNELBUILD) M=$(Shell PWD) modules
Clean:
Rm - rf *. O. *. CMD *. Ko *. Mod. C. tmp_versions
After the make command error
/lib/modules/5.4.0-37 - generic/build without this file or directory
But this directory is some...
Excuse me, how to solve
  • Related