Compiling i2c-2.9.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I am trying to install i2c-2.9.1 and lm_sensors-2.9.1 on my machine running
SLES8.

However when I try to compile i2c I get the following error codes:

gcc -D__SMP__ -DMODVERSIONS -include
/lib/modules/2.4.21-278-smp/build/include/linux/modversions.h
-I/lib/modules/2.4.21-278-smp/build/include -nostdinc -I
/usr/lib/gcc-lib/i486-suse-linux/3.2.2/include -Wall -O2 -D__KERNEL__
-DMODULE -fomit-frame-pointer -DEXPORT_SYMTAB -fno-strict-aliasing -c
kernel/i2c-philips-par.c -o kernel/i2c-philips-par.o
kernel/i2c-philips-par.c:156: initializer element is not constant
kernel/i2c-philips-par.c:156: (near initialization for
`bit_lp_data.timeout')
kernel/i2c-philips-par.c:165: initializer element is not constant
kernel/i2c-philips-par.c:165: (near initialization for
`bit_lp_data2.timeout')
make: *** [kernel/i2c-philips-par.o] Error 1

Can someone help me with this ? 

Best regards, 
Marco Schwarz



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux