Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I install and compile a kernel without some Debian-specific tweaking?

install Kernel tweaking
0
Posted

Can I install and compile a kernel without some Debian-specific tweaking?

0

Yes. But you have to understand the Debian policy with respect to headers. The Debian C libraries are built with the most recent stable releases of the gcc headers. For example, the Debian-1.1 release uses version 5.2.18 of the headers. This practice contrasts with the Linux kernel source packages distributed at all Linux FTP archive sites, which uses even more recent versions of the headers. The kernel headers distributed with the kernel source are located in /usr/include/linux/include. If you need to compile a program with kernel headers that are newer than those provided by libc5-dev, then you must add -I/usr/src/linux/include to your command line when compiling. This came up at one point, for example, with the packaging of the automounter daemon (amd). When new kernels changed some internals dealing with NFS, amd needed to know about them. This required the inclusion of the latest kernel headers.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.