[MPlayer-users] Re: Compile with new kernel

Nilmoni Deb ndeb at ece.cmu.edu
Fri Aug 1 18:39:03 CEST 2003

The /usr/include/linux originates from glibc and has little to do with the
_running_ kernel, the source tree for which is in

	/lib/modules/`uname -r`/build

	which is usually the same as

	/usr/src/linux-`uname -r`

Any thing that requires support of the _running_ kernel must strictly
avoid /usr/include/linux and use the kernel source tree in
/lib/modules/`uname -r`/build during compilation. This is because the
kernel will refuse to load modules not compiled with headers of the
appropriate kernel version.

On the other hand, the glibc kernel headers in /usr/include/linux must
also be included for all user space binaries to work correctly.

For more info (includes Linus' quoted comment on this issue), see


- Nil

More information about the MPlayer-users mailing list