i2c-ali1535.c:548: warning: initialization from incompatible pointer type

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

 



Hi Florian,

>When compiling lm_sensors 2.9.0 with gcc 2.95.4, I receive the following
>error:
>
>gcc  -DMODVERSIONS -include
>/root/linux-2.4.28/include/linux/modversions.h -D__KERNEL__ -DMODULE
>-DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include
>-I/usr/local/include  -I/root/linux-2.4.28/include -nostdinc -I
>/usr/lib/gcc-lib/i386-linux/2.95.4/include  -Wall -O2  -c
>kernel/busses/i2c-ali1535.c -o kernel/busses/i2c-ali1535.o
>kernel/busses/i2c-ali1535.c:547: unknown field `inc_use' specified in
>initializer
>kernel/busses/i2c-ali1535.c:548: unknown field `dec_use' specified in
>initializer
>kernel/busses/i2c-ali1535.c:548: warning: initialization from
>incompatible pointer type
>make: *** [kernel/busses/i2c-ali1535.o] Fehler 1

Did you install i2c 2.9.0? lm_sensors 2.9.0 needs it.

If you did, please try to manually copy kernel/i2c.h from i2c 2.9.0 to
/usr/local/include and see if it helps.

Thanks,
--
Jean Delvare



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

  Powered by Linux