[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



On Tue, Oct 21, 2003 at 10:03:56PM +0400, Dmitry Baryshkov wrote:
> Package: libc6-dev
> Version: 2.3.2.ds1-5
> Severity: normal
> 
> 
> If program, that I'm trying to compile is using kernel headers (such as
> linux/fb.h, linux/videodev.h, etc.), compilation fails
> (using gcc-3.3 version 1:3.3.2-1):

Yes.

> /usr/include/linux/list.h:563:2: warning: #warning "don't include kernel headers in userspace"

Have you considered reading that warning again? :)  Please do not
include kernel headers in user applications.  A very small number of
them are sanitized for userspace use but most are not.

This is not a bug.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



Reply to: