jnorton
Posts: 2
Joined: Thu May 28, 2020 8:08 pm

linux headers for 5.4.42-v7

Thu May 28, 2020 8:11 pm

Hello,

I'm running Raspbian Buster Lite and ran rpi-update.
Now I'm running kernel version 5.4.42-v7.

I'm trying to compile some kernel modules but I've been unable to find/install the linux kernel headers.

Where to do I find and how do I install kernel headers for kernel 5.4.42-v7?

Thank you,
Jim


jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26432
Joined: Sat Jul 30, 2011 7:41 pm

Re: linux headers for 5.4.42-v7

Thu May 28, 2020 9:27 pm

jnorton wrote:
Thu May 28, 2020 8:11 pm
Hello,

I'm running Raspbian Buster Lite and ran rpi-update.
Now I'm running kernel version 5.4.42-v7.

I'm trying to compile some kernel modules but I've been unable to find/install the linux kernel headers.

Where to do I find and how do I install kernel headers for kernel 5.4.42-v7?

Thank you,
Jim
Just quick reminder that rpi-update is NOT recommended for casual users as it installs beta test/bleeding edge software. So you should expect that things like kernel headers are not up to date.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

andrum99
Posts: 1202
Joined: Fri Jul 20, 2012 2:41 pm

Re: linux headers for 5.4.42-v7

Fri May 29, 2020 10:43 am

rpi-source will get you the full kernel source for the kernel you are running, including headers. See https://github.com/notro/rpi-source/wiki

jnorton
Posts: 2
Joined: Thu May 28, 2020 8:08 pm

Re: linux headers for 5.4.42-v7

Fri May 29, 2020 2:34 pm

Thanks everybody.

Return to “Raspberry Pi OS”