[MPlayer-users] Compile with new kernel

D Richard Felker III dalias at aerifal.cx
Sat Aug 2 21:37:27 CEST 2003


On Sat, Aug 02, 2003 at 01:56:48PM +0200, Gábor Lénárt wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> On Fri, Aug 01, 2003 at 02:17:34PM -0400, D Richard Felker III wrote:
> > > The correct way is to copy kernel header files into the program (mplayer)
> > > source tree. This makes sure the latest features are always available.
> > 
> > This is stupid. An OS is supposed to provide headers with the
> > necessary #defines and structs for calling its ioctl's!! Sure we could
> > include such stuff for Linux if we wanted, but what then? Include
> > headers for every other kernel as well?? No.
> 
> Maybe you're right here. But as you've written "An OS is supposed to provide headers".
> Got it? OS SHOULD. Not glibc! And /usr/include/linux belongs to glibc!

No, it does not. This is an artifact of distros, and has nothing to do
with glibc itself. /usr/include/* belongs to whoever is setting up the
system.

> It's such simple. kernel specific things are in kernel, no stupid
> "outsymlinking" needs. It just makes things overcompilcated. The "good way"
> is easy: if you require kernel related things, include from kernel. Logical,
> isn't it.

No, not at all.

Rich



More information about the MPlayer-users mailing list