On Thu, Sep 28, 2000 at 03:41:41PM -0700, Jack Howarth wrote:
> I find that the compile of gnome-utils fails as follows...
>
> In file included from /usr/include/linux/string.h:21,
> from /usr/include/linux/fs.h:23,
> from badblocks.c:43:
Yes, a well-known phenomenon.
Kernel headers are to compile the kernel.
They are not for inclusion in user programs.
(This fact of life means that one has to use a private copy.
That is good, keeps the source stable, also when the kernel changes.
But it is also bad - such information as structure definitions
and manifest constants ought to be in a single place, used by
libc and kernel.
I get the impression that Linus will accept a nice rewrite
of all includes. Remains the question what wishes Ulrich has
on a revised setup. So far Ulrich has not answered - let me
cc him and see whether he has an opinion now.)
Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:23 EST