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.

What version of the Linux kernel headers should be used?

headers Kernel linux Used version
0
Posted

What version of the Linux kernel headers should be used?

0

{AJ,UD} The headers from the most recent Linux kernel should be used. The headers used while compiling the GNU C library and the kernel binary used when using the library do not need to match. The GNU C library runs without problems on kernels that are older than the kernel headers used. The other way round (compiling the GNU C library with old kernel headers and running on a recent kernel) does not necessarily work. For example you can’t use new kernel features if you used old kernel headers to compile the GNU C library. {ZW} Even if you are using a 2.0 kernel on your machine, we recommend you compile GNU libc with 2.2 kernel headers. That way you won’t have to recompile libc if you ever upgrade to kernel 2.2. To tell libc which headers to use, give configure the –with-headers switch (e.g. –with-headers=/usr/src/linux-2.2.0/include). Note that you must configure the 2.2 kernel if you do this, otherwise libc will be unable to find . Just change the current directory

Related Questions

What is your question?

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

Experts123