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:
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 ?