Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/toolchain/kernel-headers
Date: Mon, 9 Oct 2006 23:44:08 -0400	[thread overview]
Message-ID: <200610092344.09722.rob@landley.net> (raw)
In-Reply-To: <200610092146.51748.rob@landley.net>

On Monday 09 October 2006 9:46 pm, Rob Landley wrote:
> 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...

Memo to self:  When installing the kernel headers, specify the %*#(&%& 
architecture or you get the i386 headers, which is not right when 
cross-compiling for x86_64.

  make headers_install ARCH=x86_64 INSTALL_HDR_PATH=/blah/blah/blah

The ARCH= part is _important_.

The clue was getting to:

./include/asm/posix_types.h:10: error: redefinition of 
typedef '__kernel_ino_t'
./include/bits/kernel_types.h:11: error: previous declaration 
of '__kernel_ino_t' was here

And noticing that asm/posix_types.h started with this:
#ifndef __ARCH_I386_POSIX_TYPES_H
#define __ARCH_I386_POSIX_TYPES_H

Right...

Rob
-- 
Never bet against the cheap plastic solution.

  reply	other threads:[~2006-10-10  3:44 UTC|newest]

Thread overview: 116+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-09 11:41 [Buildroot] svn commit: trunk/buildroot/toolchain/kernel-headers aldot at uclibc.org
2006-10-09 14:29 ` Fredrik Roubert
2006-10-09 15:14   ` Bernhard Fischer
2006-10-09 15:43     ` Bernhard Fischer
2006-10-09 16:39     ` Fredrik Roubert
2006-10-09 17:33 ` Erik Andersen
2006-10-09 20:34   ` Erik Andersen
2006-10-10  1:46     ` Rob Landley
2006-10-10  3:44       ` Rob Landley [this message]
2006-10-10  7:01         ` Bernhard Fischer
  -- strict thread matches above, loose matches on Subject: below --
2009-03-02  9:32 jacmet at uclibc.org
2009-02-25 14:27 jacmet at uclibc.org
2009-02-24  8:56 jacmet at uclibc.org
2009-02-22 10:38 jacmet at uclibc.org
2009-02-18 14:16 jacmet at uclibc.org
2009-02-12 20:21 jacmet at uclibc.org
2009-02-09  9:07 jacmet at uclibc.org
2009-02-02 21:04 jacmet at uclibc.org
2009-02-02 20:13 jacmet at uclibc.org
2009-01-26 21:02 jacmet at uclibc.org
2009-01-25 20:11 jacmet at uclibc.org
2009-01-23 13:12 jacmet at uclibc.org
2009-01-23 13:12 jacmet at uclibc.org
2009-01-19 12:34 jacmet at uclibc.org
2009-01-15  8:43 jacmet at uclibc.org
2009-01-15  8:33 jacmet at uclibc.org
2009-01-15  8:33 jacmet at uclibc.org
2008-12-31 18:09 nkukard at uclibc.org
2008-12-28 13:50 jacmet at uclibc.org
2008-12-20 22:34 ulf at uclibc.org
2008-12-10 23:54 jacmet at uclibc.org
2008-12-08 13:05 jacmet at uclibc.org
2008-11-30  9:52 jacmet at uclibc.org
2008-11-30  9:51 jacmet at uclibc.org
2008-11-05 11:11 jacmet at uclibc.org
2008-10-24 11:02 jacmet at uclibc.org
2008-10-10  8:25 jacmet at uclibc.org
2008-10-10  8:25 jacmet at uclibc.org
2008-10-02 14:24 egtvedt at uclibc.org
2008-08-19 15:01 jacmet at uclibc.org
2008-08-19 15:01 jacmet at uclibc.org
2008-08-04 19:07 jacmet at uclibc.org
2008-08-04 19:07 jacmet at uclibc.org
2008-08-04 19:07 jacmet at uclibc.org
2008-07-07  5:30 jacmet at uclibc.org
2008-06-26  7:22 jacmet at uclibc.org
2008-06-15 19:17 jacmet at uclibc.org
2008-06-11 13:05 jacmet at uclibc.org
2008-06-07  9:40 jacmet at uclibc.org
2008-06-02 12:25 jacmet at uclibc.org
2008-06-02 12:25 jacmet at uclibc.org
2008-06-02 12:25 jacmet at uclibc.org
2008-02-04  7:54 lethal at uclibc.org
2008-01-10  9:30 ulf at uclibc.org
2007-11-26 14:54 jacmet at uclibc.org
2007-11-09  9:52 vanokuten at uclibc.org
2007-10-17 17:31 ulf at uclibc.org
2007-09-25 13:32 jacmet at uclibc.org
2007-09-25 11:38 aldot at uclibc.org
2007-09-22 16:42 aldot at uclibc.org
2007-09-22 16:37 aldot at uclibc.org
2007-09-11 19:07 andersen at uclibc.org
2007-09-11 21:56 ` Ulf Samuelsson
2007-09-12  2:58   ` Erik Andersen
2007-08-22  9:20 aldot at uclibc.org
2007-08-22  7:53 aldot at uclibc.org
2007-08-20  6:24 ulf at uclibc.org
2007-08-01  8:38 ulf at uclibc.org
2007-08-01  8:15 ulf at uclibc.org
2007-08-01  6:17 ulf at uclibc.org
2007-07-31 23:28 ulf at uclibc.org
2007-07-31 16:02 ulf at uclibc.org
2007-07-31 16:02 ` Bernhard Fischer
2007-07-31 22:43   ` [Buildroot] svn commit:trunk/buildroot/toolchain/kernel-headers Ulf Samuelsson
2007-07-31 15:49 [Buildroot] svn commit: trunk/buildroot/toolchain/kernel-headers ulf at uclibc.org
2007-08-01  5:47 ` Hans-Christian Egtvedt
2007-08-01  6:08   ` Ulf Samuelsson
2007-08-01  6:34     ` Hans-Christian Egtvedt
2007-07-31 15:47 ulf at uclibc.org
2007-07-24 16:34 aldot at uclibc.org
2007-07-24 13:41 aldot at uclibc.org
2007-07-24 12:32 aldot at uclibc.org
2007-07-24 12:33 ` brm
2007-07-24 13:35   ` Bernhard Fischer
2007-07-23 10:29 aldot at uclibc.org
2007-03-24 19:29 aldot at uclibc.org
2007-03-24 12:46 aldot at uclibc.org
2007-03-24 12:46 aldot at uclibc.org
2007-03-21 10:55 aldot at uclibc.org
2007-03-14 13:55 aldot at uclibc.org
2007-03-14 13:54 aldot at uclibc.org
2007-02-06 11:31 aldot at uclibc.org
2007-02-06 12:30 ` Ulf Samuelsson
2007-02-05 11:20 aldot at uclibc.org
2007-02-04 16:11 aldot at uclibc.org
2007-01-15 15:55 aldot at uclibc.org
2006-12-22 10:37 aldot at uclibc.org
2006-12-14 15:12 aldot at uclibc.org
2006-12-14 15:20 ` Joe Pruett
2006-12-13 18:24 aldot at uclibc.org
2006-12-13 16:56 aldot at uclibc.org
2006-12-13 12:34 andersen at uclibc.org
2006-12-13 11:49 andersen at uclibc.org
2006-12-04 15:54 aldot at uclibc.org
2006-12-02 18:12 aldot at uclibc.org
2006-11-22 21:02 aldot at uclibc.org
2006-10-11 11:36 aldot at uclibc.org
2006-10-09 16:13 aldot at uclibc.org
2006-10-09 17:56 ` Erik Andersen
2006-10-10  7:20   ` Bernhard Fischer
2006-10-10 16:05     ` Erik Andersen
2006-10-11 11:39       ` Bernhard Fischer
2006-09-28 12:51 aldot at uclibc.org
2006-09-30 21:51 ` Rob Landley
2006-10-06 12:26   ` Bernhard Fischer
2006-07-18 17:06 andersen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200610092344.09722.rob@landley.net \
    --to=rob@landley.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox