I started with Raspbian 3.18.5 (Wheezy?) and did an
rpi update and ended up with 4.1.10 (Jessie?).
When I did a
sudo apt-get install linux-headers the following packages were available:
linux-headers-rpi 3.2+46+rpi4 linux-headers-3.6-trunk-rpi 3.6.9-1~experimental.1+rpi7 linux-headers-3.2.0-4-rpi 3.2.51-1+rpi1 linux-headers-3.10-3-rpi 3.10.11-1+rpi7
and it said I needed to download a specific one (I downloaded 3.10).
None of these match my old 3.18, let alone the 4.1.
I went to the Debian page and they had an old build of 4.1.11 and the most recent stable build is 4.2.4 with an even newer version available.
Since my 4.1.10 was built by someone, they obviously had the headers to match. Where can I find those headers so I can build a kernel module ?
I know I have several specifics in this question, but in general where does Raspbian keep these header files so the apt-get can pull them down ?
Could I just take the Debian 4.1.11 header files and compile against those ?