···5757cmake ../.. -DCMAKE_TOOLCHAIN_FILE=../../Toolchain-x86_64.cmake
5858make
5959make install
6060-6161-# Now we go into src/lkm to build the kernel module
6262-cd ../../src/lkm
6363-make
6464-make install
6560````
66616762#### For running i386 OS X binaries
···9186cmake ../.. -DCMAKE_TOOLCHAIN_FILE=../../Toolchain-x86.cmake
9287make
9388make install
8989+````
9090+9191+#### Building and loading the kernel module (x86-64 and i386)
9292+9393+````
9494+# Go into src/lkm to build the kernel module
9595+cd ../../src/lkm
9696+make
9797+make install
9898+````
9999+100100+If this does not work (e.g. on newer Ubuntu versions), try the DKMS build:
101101+102102+````
103103+# Go into src/lkm to build the kernel module
104104+cd ../../src/lkm
105105+sudo ./dkms.sh
94106````
9510796108Loading the kernel module: