Re: Issues with linux-2.6.2

From: Valdis . Kletnieks
Date: Fri Feb 06 2004 - 16:46:11 EST


On Fri, 06 Feb 2004 13:22:05 PST, Alex Davis <alex14641@xxxxxxxxx> said:
> 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.

That requirement isn't mentioned because it's an *anti*-requirement.

Don't Do That. Install what your distro uses for 'glibc-kernheaders' instead.

> 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

See? We *TOLD* you not to do that. :)

Attachment: pgp00000.pgp
Description: PGP signature