Re: Cannot compile linux-2.4.27-rc1 ... ipt_REJECT.c

From: Mikael Pettersson
Date: Mon Jun 21 2004 - 08:10:04 EST


Martin MOKREJ© writes:
> Hi,
> has someone seen the following error? I can provide .config if required.
> I think I've seen this in 2.4.27-pre6, not in -pre3.
> Please Cc: me in replies. Thanks.
> Martin
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.27-rc1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.27-rc1/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=ipt_REJECT -c -o ipt_REJECT.o ipt_REJECT.c
> In file included from ipt_REJECT.c:8:
> /usr/src/linux-2.4.27-rc1/include/linux/skbuff.h: In function `kmap_skb_frag':
> /usr/src/linux-2.4.27-rc1/include/linux/skbuff.h:1121: warning: use of compound expressions as lvalues is deprecated
...
> $ gcc --version
> gcc (GCC) 3.4.0 20040601 (Gentoo Linux 3.4.0-r6, ssp-3.4-2, pie-8.7.6.3)

For this error you need to apply
<http://www.csd.uu.se/~mikpe/linux/patches/2.4/patch-gcc340-fixes-2.4.27-rc1>.

If you're using ACPI you should also apply
<http://www.csd.uu.se/~mikpe/linux/patches/2.4/patch-mpparse-fix-2.4.27-rc1>.
-
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/