Issues creating Soft-AP rtl8188eu

Hi All, I am new here.

I am trying to compile GitHub - lwfinger/rtl8188eu: Repository for stand-alone RTL8188EU driver. as using the staging version of this driver I am unable to get the AP up even with modified hostapd etc.

After installing the headers for 4.4.16-4-osmc, I am still getting this error with missing mach/memory.h

./arch/arm/include/asm/memory.h:22:25: fatal error: mach/memory.h: No such file or directory
#include <mach/memory.h>

Do I need to compile the kernel locally? Or link the mach/memory.h from another kernel’s header here?

So I was able to make it work on my Ubuntu 15.04.
I just need the Kernel source to build this driver from scratch.

It would be too much trouble to install another OS and then replicate my current setup.

Why don’t we release OSMC kernel source for every version? Is there a way for me to compile the kernel myself?

We do. Use apt-cache search to get the source package. You can also get the kernel source from GitHub.

Just fix the symlink I believe. It’s just a bug in the current Debian packaging.