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

Michal Feix
2005-01-09T11:36:17Z

>>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