Re: 2.5.41 does not build: ipv6/addrconf.c: case label (htonln(something)) does not reduce to an integer constant

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Wed Oct 09 2002 - 14:18:05 EST


On Wed, 2002-10-09 at 20:04, Nicolás Lichtmaier wrote:
> gcc -Wp,-MD,net/ipv6/.addrconf.o.d -D__KERNEL__ -Iinclude -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> -march=i686 -Iarch/i386/mach-generic -nostdinc -iwithprefix include
> -DMODULE -DKBUILD_BASENAME=addrconf -c -o net/ipv6/addrconf.o
> net/ipv6/addrconf.c
> net/ipv6/addrconf.c: In function `ipv6_addr_type':
> net/ipv6/addrconf.c:155: case label does not reduce to an integer constant
> net/ipv6/addrconf.c:159: case label does not reduce to an integer constant
> net/ipv6/addrconf.c:163: case label does not reduce to an integer constant
> net/ipv6/addrconf.c:156: warning: unreachable code at beginning of

Grab the patch to that file from 2.5.41-ac and you'll be fine. Dave
'bigendian' Miller says its fixed in the main tree now

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



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:32 EST