I can't compile neither i2c neither lm-sensors
Hi guys,
I've a problem compiling i2c, and the same problem with lm-sensors. The make output is this one (i only include the last part with the error):
----------------------------------------------------------------------------
juan@linux:/almacen/Drivers/i2c/i2c-2.8.4> make
gcc -DMODVERSIONS -include /lib/modules/2.4.21-202-athlon/build/include/linux/mo
dversions.h -I/lib/modules/2.4.21-202-athlon/build/include -nostdinc -I /usr/lib /gcc-lib/i586-suse-linux/3.3.1/include -Wall -O2 -DLM_SENSORS -D__KERNEL__ -DMOD ULE -fomit-frame-pointer -DEXPORT_SYMTAB -c kernel/i2c-philips-par.c -o kernel/i 2c-philips-par.o
In file included from /lib/modules/2.4.21-202-athlon/build/include/linux/list.h: 3,
from /lib/modules/2.4.21-202-athlon/build/include/linux/module. h:12,
from kernel/i2c-philips-par.c:28:
/lib/modules/2.4.21-202-athlon/build/include/asm/system.h: En la función `__set_ 64bit_var':
/lib/modules/2.4.21-202-athlon/build/include/asm/system.h:189: aviso: dereferenc ing type-punned pointer will break strict-aliasing rules
/lib/modules/2.4.21-202-athlon/build/include/asm/system.h:189: aviso: dereferenc ing type-punned pointer will break strict-aliasing rules
kernel/i2c-philips-par.c: En el nivel principal:
kernel/i2c-philips-par.c:142: error: el elemento inicializador no es constante
kernel/i2c-philips-par.c:142: error: (near initialization for `bit_lp_data.timeo ut')
kernel/i2c-philips-par.c:151: error: el elemento inicializador no es constante
kernel/i2c-philips-par.c:151: error: (near initialization for `bit_lp_data2.time out')
make: *** [kernel/i2c-philips-par.o] Error 1
----------------------------------------------------
The error translation is something like: "error: the initialicer item isn't constant"
I'm using a Suse 9.0 with a 2.4 kernel. Someone knows what is wrong?
Thanks for all,
|