[uClibc] #error including kernel header in userspace
Rob Landley
rob at landley.net
Mon Jun 21 21:20:26 UTC 2004
On Monday 21 June 2004 13:58, John Daz wrote:
> Hello,
> My uclibc build fails with the following message:
>
> include/linux/config.h:#error including kernel header
> in userspace; use the glibc headers instead!
>
> I am trying to build uClibc-0.9.26 on Fedora Core 2
> (kernel 2.6.5).
>
> Any help?
The 2.6 kernel headers can't be used to build a C library.
Here's Jeff Garzik's explanation of why:
http://seclists.org/lists/linux-kernel/2004/Jun/4713.html
You need the cleaned up 2.6 kernel headers maintained by
Mariusz Mazur <mmazur_at_kernel.pl> which you can download from:
http://ep09.pld-linux.org/~mmazur/linux-libc-headers/
Erik: This may qualify as a FAQ by now.
> John
Rob
--
www.linucon.org: Linux Expo and Science Fiction Convention
October 8-10, 2004 in Austin Texas. (I'm the con chair.)
More information about the uClibc
mailing list