tprier
Posts: 4
Joined: Fri Jun 05, 2020 12:24 pm

Kernel headers for current 64bit kernel 5.4.44-v8+ ?

Fri Jun 05, 2020 12:39 pm

Hi everyone,

its my first post here. I am running raspberries since several years, the latest one is a rpi4/4GB that runs raspbian buster. I use it as a server for monitoring home data (temperatures, humidity, router data etc usw).

Since with the 32bit kernel influxdb struggled with an ever growing database, I switched to the 64bit kernel a couple of months ago by following this guide: viewtopic.php?f=29&t=250730
The 64bit kernel runs just fine!

Now I was trying to install a wifi-stick with a rtl8812au chipset. The sources for the driver are found e.g. here: https://github.com/aircrack-ng/rtl8812au
Unfortunately I am not able to compile the kernel module since apparently the kernel-headers are missing:

Code: Select all

...
Error! echo
Your kernel headers for kernel 5.4.44-v8+ cannot be found at
/lib/modules/5.4.44-v8+/build or /lib/modules/5.4.44-v8+/source.
...
Before with a 32bit kernel I was able to compile the module and use the wifi stick.

When I check apt-get it tells me, "raspberrypi-kernel-headers is already the newest version (1.20200601-1))"

I am running this kernel: Linux serv 5.4.44-v8+ #1320 SMP PREEMPT Wed Jun 3 16:20:05 BST 2020 aarch64 GNU/Linux

I have tried to find information in the forum and also generally online on how to install the kernel headers. But unfortunately I did not find any reliable information.

Does someone know how I can get the kernel headers for this kernel?

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

Re: Kernel headers for current 64bit kernel 5.4.44-v8+ ?

Fri Jun 05, 2020 1:09 pm

See this very recent thread.

viewtopic.php?f=28&t=276122
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.

Return to “Advanced users”