Obtaining kernel headers for 3.18

I am trying to compile the NDAS software on OSMC on an rpi 1. The latest kernel supported by the NDAS software is 3.9, so I wanted to try to compile on OSMC with the oldest kernel first, if I can get this working, I will try to make things work in the latest version possible. The oldest OSMC version is based on the 3.18 kernel. uname -r gives me:


so I need to get the kernel headers for 3.18. When I try

sudo apt-get install rbp1-headers-3.18.13-1-osmc

I get

E: Unable to locate package rbp1-headers-3.18.13-1-osmc
E: Couldn’t find any package by regex ‘rbp1-headers-3.18.13-1-osmc’

Do you know where I can get the kernel headers for this OSMC version on rbp1?


These old kernel versions are no longer available in our APT archive unfortunately. That’s why apt-get can’t find them.

Thanks for the reply.

Do you know if any of the earlier kernel headers are available, and if so which ones? I have determined that something has changed in the network interface at kernel 4.2, so if I can get a late 3.x version or 4.0/4.1 maybe this will behave.

As an alternative, do you reckon that the kernel headers from architecture other than arm might suffice, or is that expecting too much?