Re: Issues with linux-2.6.2

From: Mike Black
Date: Mon Feb 09 2004 - 12:42:49 EST


So what's the fix?
I'm trying to recompile util-linux-2.12 on Linux 2.6.2 and getting the same error as Alex.
I'm using linux-libc-headers-2.6.1.3 -- but they don't bother to say how to install them (and I assume they will work for Linux
2.6.2).
And all this is to try and get rid of the "mount version older than kernel" message.

I suppose there's a jolly good reason for splitting the headers but it seems to just present more opportunity to hork things up.

----- Original Message -----
From: "Andries Brouwer" <aebr@xxxxxxxxxx>
To: "Alex Davis" <alex14641@xxxxxxxxx>
Cc: <linux-kernel@xxxxxxxxxxxxxxx>
Sent: Friday, February 06, 2004 4:37 PM
Subject: Re: Issues with linux-2.6.2


> On Fri, Feb 06, 2004 at 01:22:05PM -0800, Alex Davis wrote:
>
> > I have a few issues with 2.6.2. Ths first issue is when upgrading from 2.4, I had to create
> > the symlinks:
> >
> > ln -s /usr/include/asm /usr/src/linux/include/asm-i386
> > ln -s /usr/include/asm-generic /usr/src/linux/include/asm-generic
> >
> > This requirement was not mentioned in any documentation I could find.
>
> No, because it is wrong. A very unwise thing to do.
>
> > The second issue is when trying to build util-linux-2.11z I get the following error:
> >
> > cc -pipe -O2 -mcpu=i486 -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes
> > -Wstrict-prototypes -I/usr/include/ncurses -DNCH=0 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\"
> > -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\"
> > -DLOCALEDIR=\"/usr/share/locale\" -O2 -s blockdev.c -o blockdev
> > blockdev.c:70: error: parse error before '[' token
> > blockdev.c:70: error: initializer element is not constant
>
> And this is your punishment.
>
> Andries
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/