Quantcast
Channel: Active questions tagged kernel-modules - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 1184

How to build kernel modules in Alpine 3.12

$
0
0

I need to build this wifi driver for Apine 3.12 x86_64.I install gcc and linux headers by this commands:

apk add --update alpine-sdk linux-headers

But when I tried to build the module it was failed and returned this error:

localhost:~/rtl8188eus# make allmake ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.4.43-1-lts/build M=/root/rtl8188eus  modulesmake[1]: *** /lib/modules/5.4.43-1-lts/build: No such file or directory.  Stop.make: *** [Makefile:1911: modules] Error 2

It seams kernel headers in Alpine has completely different structure with other dsitros. I searched to find a another package for kernel headers but I couldn't found any install-able package except linux-headers.

If anybody has experience in compiling mods (specially drivers) in Alpine Linux please describe it step by step.


Viewing all articles
Browse latest Browse all 1184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>