Khem Raj wrote:
you need to install kernel-headers

On Thu, Jan 22, 2009 at 10:03 AM,  <[email protected]> wrote:
Hi,

when i build uclibc-0.9.30 with kernel 2.6.28.1 i have follow error (not
with 2.6.27.10):

make: Entering directory
`/home/stephan/OpenElec.test/build.i386.uClibc/uClibc-0.9.30'
 AS lib/crt1.o
 AS lib/Scrt1.o
 AS lib/crti.o
 AS lib/crtn.o
 CC ldso/ldso/ldso.oS
In file included from ./include/bits/errno.h:25,
               from ./include/errno.h:36,
               from ./include/bits/syscalls.h:14,
               from ./include/sys/syscall.h:34,
               from ./ldso/ldso/i386/dl-syscalls.h:3,
               from ./ldso/include/dl-syscall.h:12,
               from ./ldso/include/ldso.h:36,
               from ldso/ldso/ldso.c:33:
/home/stephan/OpenElec.test/build.i386.uClibc/linux-2.6.28.1/include/linux/errno.h:4:23:
error: asm/errno.h: No such file or directory

you need to install kernel-headers properly before you build uclibc.
To save you (and anyone else) some grief - those kernel headers needs to be "sanitized" kernel headers for your target kernel version. That is - they have certain symbols stripped out. Building uClibc with standard kernel headers is not supported (and I have never got that to work either). If you are building with Buildroot, it can fetch sanitized headers for you automatically (snapshot after Jan 19. is updated with 2.6.28).

Mikael
_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to