[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] linux 2.6 and busybox 1.00-pre10
From:       Simon Keimer <skeimer () gmx ! net>
Date:       2004-06-25 13:03:44
Message-ID: 200406251503.44635.skeimer () gmx ! net
[Download RAW message or body]

Am Freitag, 25. Juni 2004 12:43, schrieb Rob Landley:
> On Friday 25 June 2004 04:04, Glenn McGrath wrote:
> > On Mon, 14 Jun 2004 05:36:32 -0500
> >
> > Rob Landley <rob@landley.net> wrote:
> > > On Sunday 13 June 2004 12:08, Simon Keimer wrote:
> > > > hi there,
> > > >
> > > > I try to compile busybox 1.00-pre10 on an linux 2.6.6 system. I get
> > > > the following error message:
> > > >
> > > > gcc -I./include -Wall -Wstrict-prototypes -Wshadow -Os -march=i386
> > > > -mpreferred-stack-boundary=2 -falign-functions=0 -falign-jumps=0
> > > > -falign-loops=0 -fomit-frame-pointer -D_GNU_SOURCE -DNDEBUG   -Os
> > > > -c -o libbb/loop.o libbb/loop.c
> > > > libbb/loop.c:51: error: parse error before "__kernel_old_dev_t"
> >
> > I suspect this is caused by having an include/asm from 2.4 and
> > include/linux from 2.6, __kernel_old_dev_t is defined in
> > <asm/posix_types.h> under 2.6 so it should work.
>
> It's not in the 2.6.5 version of Mazur's headers or newer.
>
> I posted a patch (more than once during the recent list constipation). 
> People using current versions of mazur's 2.6 headers will break due to the
> version test in busybox: they work like 2.4 did.
>
> > Glenn
>
> Rob

The patch is working for me, thanks alot.
Now I just have to find why the uClibc rootfs gcc has "internal errors".

Simon
_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic