Bug#301641: Linux kernel include files still inconsistent on sarge
On Sun, Mar 27, 2005 at 03:03:15PM +0200, Joerg Schilling wrote:
> Package: kernel
> DISTRIB_DESCRIPTION=3D"Debian GNU/Linux"
> uname -a
> Linux debian 2.6.8-pegasos #1 Wed Aug 18 16:40:30 CEST 2004 ppc GNU/Linux
> When compiling star, I get error messages like:
> =3D=3D> COMPILING "fflags.o"
> In file included from /usr/include/linux/ext2_fs.h:20,
> from fflags.c:41:
> /usr/include/linux/ext2_fs_sb.h:48: error: parse error before "u32"
> /usr/include/linux/ext2_fs_sb.h:50: error: parse error before '*' token
> /usr/include/linux/ext2_fs_sb.h:55: error: parse error before '}' token
> They are caused by the fact that data structures that are needed=20
> for user space applications still base on inofficial types defined
> only in case you are compiling a linux kernel.
> It is impossible to compile star using official methods (adding
> other include files that are allowed to be included by user space program=
> The related problem has been reported to the linux kernel developers
> more than 2. years ago. Is there any help that the Linux kernel
> will be fixed in the near future?
I would suggest making a patch for your proposed cleanup of
these types and submitting it both upstream and here.