Re: Conflicts in kernel 2.6 headers and {glibc,Xorg}

From: Michal Feix
Date: Sun Jan 09 2005 - 06:37:27 EST


First, I'm not on kernel mailing list so please CC any replies to me. Thank you.

Yesterday I was recompiling my Linux from Scratch distribution for the first time with Linux kernel 2.6.10 headers as a base for glibc. I've found, that glibc (and XOrg later on too) won't compile, as there is a conflict in certain functions or macros that glibc and Kernel headers both define.


Are you using proper kernel headers - from
http://ep09.pld-linux.org/~mmazur/linux-libc-headers/ ?

No, I am not, because I wasn't told to do so. For meny years I always used vanilla sources from kernel.org for my /usr/include/... I wasn't told, that it is wrong and I still believe, that Linux kernel headers should be fixed by including these conflicting macros and functions into __KERNEL__ block instead. Or am I missing something?

--
Michal
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/