Re: linux 2.4.22 compile error

From: Marcelo Abreu
Date: Mon Sep 08 2003 - 09:51:00 EST


Ottavio Campana wrote:
I just downloaded linux 2.4.22 and applied the following patches: xfs,
i2c 2.8.0 and lm_sensors 2.8.0 .

The kernel is failing to compile, here's the error:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.22/include/linux/modversions.h
-nostdinc -iwithprefix include -DKBUILD_BASENAME=bttv_if -DEXPORT_SYMTAB -c bttv-if.c
bttv-if.c:244: unknown field `inc_use' specified in initializer
bttv-if.c:244: warning: initialization from incompatible pointer type
...

I think you need the patches available here:

http://www.ensicaen.ismra.fr/~delvare/devel/i2c/

...and maybe you should get i2c from CVS.


Marcelo



-
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/