Tiny Core Linux
Tiny Core Base => CorePlus => Topic started by: t18 on September 08, 2024, 03:09:39 PM
-
I'm unable to find the kernel headers package for kernel 6.6.8.
They are requested from some applications to build. How can I do?
-
You need the linux-6.6_api_headers extension.
Note that you may also need the prepared kernel source.
-
It is already installed but neither Lilo nor Virtualbox recognize it.
It also says contains the 6.6.5 package, not the 6.6.8.
Please kindly explain me.
-
The linux kernel headers don’t change with minor kernel updates, so the headers from 6.6.5 can be used with any version of 6.6.
It sounds like you need the prepared kernel source (providing the error message would help) - if you search these forums, you’ll find how to do that.
https://forum.tinycorelinux.net/index.php/topic,24946.msg158828.html#msg158828
-
Please find attached the image of the error message.
At present I can't pull any file out from VBox.
-
You need to prepare the kernel source as per the link above.
-
If I've well understood I've to download the kernel source from kernel.org, right?
But it's not clear to me where to find the "config-6.6.8-tinycore(32)" file.
Neither the source nor that file are available on Apps.
-
You need the tinycore patched kernel source from here:
http://www.tinycorelinux.net/15.x/x86/release/src/kernel/
The kernel config is also there.
-
Prepared.
As it's my first module preparing I have to ask: how to install them or how to make the Vbox script finding them?
-
"make headers_install" supposedly install them but the Vbox script doesn't find them.
-
You usually need a symlink to point to the prepared source, for example:
/lib/modules/$KERNEL/build -> /usr/src/linux-6.6.8
-
I'm missing something.
Is launching "make headers_install" the correct step? If yes, it sends everything in /usr/include and supposedly there everything should be found.
Linking /lib/modules/linux-6.6.8/headersbuild to the source_build dir has no effect.
What am I missing?
(Edit: for a newbie it's easy to get confused. Thank you for your understanding)
-
Done.
Many thanks for the time you have devoted to me. :)