The SARPi project forum. For anything and everything relating to Slackware ARM on a Raspberry Pi 1, 2, and 3. This forum is NOT a replacement or substitute for the Slackware (ARM) forums on Linux Questions website! Please try to seek help there first about any issues you may be experiencing, or question you might have, before posting on here.

The SarPi-Installation I'm using at the moment uses Kernel 4.9.12. I thougt if I want to compile a module e.g. driver for a SAT-Receiver(compilation of that driver needs the Header-Files) I would need the Sources and Headers for the running kernel. Am I wrong here?

amigauser1 wrote:The SarPi-Installation I'm using at the moment uses Kernel 4.9.12. I thougt if I want to compile a module e.g. driver for a SAT-Receiver(compilation of that driver needs the Header-Files) I would need the Sources and Headers for the running kernel. Am I wrong here?

You don't need the full kernel source tree data in order to compile or build drivers/modules for the running kernel. Only when building a new complete kernel will you need the full kernel source, obviously. As you're wanting to compile a device driver which links into the kernel you'll only need the header files. The header files are already part of your Slackware ARM system, or should be, and can be found in /usr/include/linux.

If you ever do require the complete kernel source, for whatever reason, you could always upgrade your Raspberry Pi's Slackware ARM system kernel/modules/firmware to the latest available version (e.g. using rpi-update) and download the kernel source files from the Raspberry Pi Foundation GitHub repository.

Thanks for the explanation.The Header-Files are part of Slackware ARM but slackware-current is still at 4.8.15 and the latest packages from SarPi which i used for upgrading are 4.9.12 so the Headers from slackware-current are too old I've been already using rpi-update in the past, but I don't like its way to bypass (any) package-management. I like the method "upgradepkg ..." better. But this leads to the described inconsistencies. So the question is, if the SarPi-Project is releasing an update for the Firmware-/Kernel/-Modules-tgz woukd it be possible to also release the appropiate Update to the Headers-tgz?