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

Bug#219175: linux-kernel-headers: fs.h doesn't compile when included from userspace



Package: linux-kernel-headers
Version: 2.5.999-test7-bk-6
Severity: normal

Regardless of whether one should include kernel headers in userspace, this
shouldn't be the case.

In file included from /usr/include/linux/fs.h:16,
                 from gfloppy.c:40:
/usr/include/linux/list.h:576:2: warning: #warning "don't include kernel headers in userspace"
In file included from /usr/include/linux/fs.h:20,
                 from gfloppy.c:40:
/usr/include/linux/radix-tree.h: In function `radix_tree_preload_end':
/usr/include/linux/radix-tree.h:54: error: invalid type argument of `->'
/usr/include/linux/radix-tree.h:54: error: `TIF_NEED_RESCHED' undeclared (first use in this function)
/usr/include/linux/radix-tree.h:54: error: (Each undeclared identifier is reported only once
/usr/include/linux/radix-tree.h:54: error: for each function it appears in.)

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux pisces 2.4.22 #4 Fri Sep 5 21:44:11 EDT 2003 i686
Locale: LANG=en_US, LC_CTYPE=en_US

-- no debconf information




Reply to: