[Mplayer-cvslog] CVS: 0_90 README,1.9,1.10

D Richard Felker III dalias at aerifal.cx
Sun Jun 22 17:49:37 CEST 2003


On Sun, Jun 22, 2003 at 10:26:04AM +0200, Attila Kinali wrote:
> On Sun, 01 Jun 2003 03:43:33 +0200
> Diego Biurrun <diego at biurrun.de> wrote:
> 
> > I compiled MPlayer today at the LUG on my notebook for the first time in
> > months and stumbled over /usr/include/linux/errno.h and limits.h.  These
> > files belong to the glibc development package (at least on Debian and SuSE).
> > 
> > My compile failed because I had moved /usr/include/linux to linux.old and
> > added a symlink to the includes from my kernel sources.  This also works and
> > it is not so uncommon IMHO.
> 
> Just a little clarification, originaly (ie years ago) /usr/include/linux
> was actualy a symlink to /usr/src/linux/include/linux. But when distros
> started to leave out the part with kernel compilation (as it's too scary
> for an avarage newby) and dropped the kernel sources they still needed
> the headers to be able to compile certain programs. So they copied
> the header files to /usr/inculde/linux instead of including the
> whole linux source.
> And yes, some old and grey haired linuxer still have the old symlink.

The people who make the copy rather than symlink for distributions
claim it's required to have same kernel headers as your glibc was
compiled with, but this is nonsense since glibc includes don't use the
kernel headers... Also, doing this makes for a broken
system...consider the case where your glibc was compiled with kernel
2.0 and you want to use fbcon. Oops, there's no linux/fb.h!! 1000l to
whoever forgot to think about stuff like this...

Rich



More information about the MPlayer-cvslog mailing list