[Buildroot] svn commit: trunk/buildroot/toolchain/kernel-headers

Rob Landley rob at landley.net
Tue Oct 10 01:46:50 UTC 2006


On Monday 09 October 2006 4:34 pm, Erik Andersen wrote:
> On Mon Oct 09, 2006 at 11:33:06AM -0600, Erik wrote:
> > An alternative, is there are now some headers being
> > produced for all architectures by dwmw2:
> >     ftp://ftp.kernel.org/pub/linux/kernel/people/dwmw2/kernel-headers/
> > 
> > which looks to be usable for uClibc for all arches with minor tweeks.
> 
> Even better, it appears this is simply the result of
> running 'make headers_install_all' which is now present
> in 2.6.19-rc1.  So once 2.6.19 final is out, it will make
> generating kernel headers _MUCH_ easier for us,

I've been exchanging email with dwmw2 about this for months now.  Now that 
I've got some spare time I'm rebuilding Firmware Linux as a cross-compile 
setup using qemu.  Results are a bit mixed, though.  Building current uClibc 
cvs as of half an hour ago:

  CC ldso/ldso/ldso.oS
In file included from ./libpthread/linuxthreads.old/sysdeps/x86_64/tls.h:25,
                 from ./include/bits/uClibc_errno.h:35,
                 from ./include/errno.h:62,
                 from ./include/bits/syscalls.h:19,
                 from ./include/sys/syscall.h:25,
                 from ./ldso/ldso/x86_64/dl-syscalls.h:3,
                 from ./ldso/include/dl-syscall.h:12,
                 from ./ldso/include/ldso.h:36,
                 from ldso/ldso/ldso.c:33:
./libpthread/linuxthreads.old/sysdeps/x86_64/pt-machine.h:27:24: error: 
asm/prctl.h: No such file or directory

Changed pt-machine.h to include sys/prctl.h and it made it much farther, then 
it died with:

  CC libc/sysdeps/linux/common/prctl.os
libc/sysdeps/linux/common/prctl.c:13: error: conflicting types for 'prctl'
./include/sys/prctl.h:28: error: previous declaration of 'prctl' was here
libc/sysdeps/linux/common/prctl.c:14: error: conflicting types for 'prctl'
./include/sys/prctl.h:28: error: previous declaration of 'prctl' was here

At which point I stopped for dinner.  Just now getting back to it...

Rob
-- 
Never bet against the cheap plastic solution.



More information about the buildroot mailing list