[SM-Discuss] udev problems due to kernel-headers spell?
Arwed von Merkatz
v.merkatz at gmx.net
Mon Jul 5 02:45:08 EDT 2004
On Mon, Jul 05, 2004 at 08:00:40AM +0800, Damien Mascord wrote:
> Arwed von Merkatz wrote:
> >Not true. glibc doesn't use those headers at all, it builds against the
> >real kernel headers. glibc-kernel-headers is only there so userspace
> >does have some headers that don't break everything like the real kernel
> >headers do.
> The kernel headers that applications use need to be the kernel headers
> that glibc is compiled against. I had thought that the
> glibc-kernel-headers was created so that this could be possible, as per
> bug 3771 (http://bugs.sourcemage.org/show_bug.cgi?id=3771).
It's not possible with 2.6 kernels, as applications won't compile with
the kernel headers glibc was compiled against, that's the whole problem.
We used to copy the real kernel headers to /usr/include on glibc
compile, but that's only an option on 2.4 kernels.
Ideally we would install glibc-kernel-headers of the currently used
kernel on glibc compile, but that isn't really possible, since the
latest available package of sane headers is usually not for the latest
available kernel. So the compromise is to just always install the latest
available "fixed" kernel headers, and so far we haven't run into
problems with that.
> Hope the stuff written there makes a bit of sense...
> SM-Discuss mailing list
> SM-Discuss at lists.ibiblio.org
Arwed v. Merkatz Source Mage GNU/Linux developer
More information about the SM-Discuss