[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#216921: Can't compile programs, using kernel headers from experimental libc6-dev



Dmitry Baryshkov <mitya@school.ioffe.ru> wrote:
> 
> It IS a bug. Some programs (i.e. MPlayer) used (and use) them to in compilation.

Buggy programs do not always fail.

> This worked with previous versions of libc, but doesn't work now. If this is
> a 'feature', then what do you recommed? Duplicate info from this headers and
> include it in program's sources? IIUC - that's why such headers exists in 
> libc6-dev package - to let programs to use them, isn't it?

Yes please create local copies of those header files.

The header files exist in libc6-dev because the latter includes
the complete set of headers from the kernel.  It is not a guarantee
that you can include them in userspace.

You should treat them the same way as headers in /usr/include/bits --
never include them directly.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Reply to: