Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: asi3brg on February 26, 2024, 09:10:03 AM
-
I need to build the pcan driver in Tiny Core 14.0 but I'm having this error:
Unable to automatically find the Kernel headers. These are mandatory to build the pcan driver. Please set the KERNEL_LOCATION variable to the root directory of your own built Kernel.
In my previous setup, tiny Core 10.1, we installed the linux-kernel-sources-env.tcz and than run the script "linux-kernel-sources-env", but in Tiny Core 14.0 I can't find this package?
-
Typically this kind of error is a result of not being able to find the prepared kernel source.
It is usually fixed with something like this: cd /lib/modules/$KERNEL
sudo ln -s /usr/src/linux-x.y.z build
..where linux-x.y.z is the prepared tinycore kernel source.
You can also search the forum on prepare kernel source.
-
Thank you for the support.
Solved.