[MPlayer-dev-eng] vo_fbdev does not compile with debian unstable kernel headers

Dmitry Baryshkov mitya at school.ioffe.ru
Sat Nov 1 14:13:35 CET 2003


Hello,
On Sat, Nov 01, 2003 at 11:47:18AM +0100, Attila Kinali wrote:
> On Fri, 31 Oct 2003 17:08:07 -0500
> Angelo Cano <angelo_cano at fastmail.fm> wrote:
> 
> > 
> > Under Debian it's going to find the 2.5.999 kernel headers used to 
> > compile libc, while my actual headers are in 
> > /usr/src/kernel-headers-`uname -r`/include
> 
> IMHO we should write a kernel header detection system.
> First check whether /lib/modules/`uname -r`/build/include is available,
> then /usr/src/linux-`uname -r`/include, if not, fall back to /usr/include/linux

No! We should never include kernel headers from kernel! They can be
broken, there can be no <linux/autoconf*.h>, etc. There are headers in
/usr/include, and we _must_ be happy with them. IMHO it's the same
reason, as for not using /usr/include/asm -> /usr/src/linux/include/asm,
/usr/include/linux -> /usr/src/linux/include/linux symlinks!

> 
> (And no, /usr/src/kernel-headers-`uname -r`/include should not be supported
> as this is imho crap, that came from SuSE/RH who didnt want to install a 
> complete kernel)

And Debian too :)
And why should I install the _whole_ kernel, if I want only headers
to compile _modules_  for standard kernel?

> 
> 			Attila Kinali
-- 
With best wishes
Dmitry Baryshkov




More information about the MPlayer-dev-eng mailing list