Skip to contentSkip to conversation

bug

DISCUSSION Victor G. Marimon 2 participants 6 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

ses/i2c-ali15x3.c -o kernel/busses/i2c-ali15x3.o
gcc -DMODVERSIONS -include /lib/modules/2.4.21/build/include/linux/modversions.
h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/includ
e -I/usr/local/include -I/lib/modules/2.4.21/build/include -O2 -c kernel/bus
ses/i2c-amd756.c -o kernel/busses/i2c-amd756.o
gcc -DMODVERSIONS -include /lib/modules/2.4.21/build/include/linux/modversions.
h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/includ
e -I/usr/local/include -I/lib/modules/2.4.21/build/include -O2 -c kernel/bus
ses/i2c-amd8111.c -o kernel/busses/i2c-amd8111.o
kernel/busses/i2c-amd8111.c:25:2: #error Your i2c is too old - i2c-2.7.0 or grea ter required!
kernel/busses/i2c-amd8111.c: En la funci?n `amd8111_access':
kernel/busses/i2c-amd8111.c:238: `I2C_CLIENT_PEC' no ha sido declarado aqu? (pri mero ?selo en esta funci?n)
kernel/busses/i2c-amd8111.c:238: (Cada identificador no declarado solamente se r eporta una vez
kernel/busses/i2c-amd8111.c:238: para cada funcion en la que aparece.) kernel/busses/i2c-amd8111.c:298: `I2C_SMBUS_BLOCK_PROC_CALL' no ha sido declarad
o aqu? (primero ?selo en esta funci?n)
kernel/busses/i2c-amd8111.c:309: `I2C_SMBUS_WORD_DATA_PEC' no ha sido declarado aqu? (primero ?selo en esta funci?n)
kernel/busses/i2c-amd8111.c:310: `I2C_SMBUS_BLOCK_DATA_PEC' no ha sido declarado
aqu? (primero ?selo en esta funci?n)
kernel/busses/i2c-amd8111.c:311: `I2C_SMBUS_PROC_CALL_PEC' no ha sido declarado aqu? (primero ?selo en esta funci?n)
kernel/busses/i2c-amd8111.c:312: `I2C_SMBUS_BLOCK_PROC_CALL_PEC' no ha sido decl arado aqu? (primero ?selo en esta funci?n)
kernel/busses/i2c-amd8111.c: En la funci?n `amd8111_func':
kernel/busses/i2c-amd8111.c:385: `I2C_FUNC_SMBUS_BLOCK_PROC_CALL' no ha sido dec larado aqu? (primero ?selo en esta funci?n)
kernel/busses/i2c-amd8111.c:386: `I2C_FUNC_SMBUS_HWPEC_CALC' no ha sido declarad
o aqu? (primero ?selo en esta funci?n)
kernel/busses/i2c-amd8111.c: En la funci?n `amd8111_probe':
kernel/busses/i2c-amd8111.c:426: `I2C_HW_SMBUS_AMD8111' no ha sido declarado aqu
? (primero ?selo en esta funci?n)
make: *** [kernel/busses/i2c-amd8111.o] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20030630/ec968927/attachment.html

#1 lore raw
Quoted 19 lines
Quoted 13 lines

ses/i2c-ali15x3.c -o kernel/busses/i2c-ali15x3.o
gcc -DMODVERSIONS -include /lib/modules/2.4.21/build/include/linux/modversions. h -D__KERNEL__

(quoted diff) +0 -2
-DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/includ e
-I/usr/local/include -I/lib/modules/2.4.21/build/include   -O2   -c

kernel/bus ses/i2c-amd756.c -o kernel/busses/i2c-amd756.o gcc -DMODVERSIONS -include /lib/modules/2.4.21/build/include/linux/modversions. h -D__KERNEL__

(quoted diff) +0 -2
-DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/includ e
-I/usr/local/include -I/lib/modules/2.4.21/build/include   -O2   -c
Quoted 3 lines

kernel/bus ses/i2c-amd8111.c -o kernel/busses/i2c-amd8111.o kernel/busses/i2c-amd8111.c:25:2: #error Your i2c is too old - i2c-2.7.0 or grea ter required!

Well, I think the error message is explicit. You need to upgrade i2c to 2.7.0.

yes, but i'm using kernel 2.4.21 and for now only have i2c patches
for 2.4.20

#2 lore raw
In reply to Victor G. Marimon
Quoted 4 lines

You can install i2c from our i2c-2.7.0 package. It doesn't require to patch the kernel. Just make sure you don't have any I2C module built into the kernel itself, and install all the modules from our package (make && make install && depmod -ae should just do it).

i compiled & instaled i2c-2.7.0 and when doing 'make' in lm-sensors
shows the same error:

h -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/in clud
e -I/usr/local/include -I/lib/modules/2.4.21/build/include -O2 -c
kernel/bus
ses/i2c-amd8111.c -o kernel/busses/i2c-amd8111.o kernel/busses/i2c-amd8111.c:25:2: #error Your i2c is too old - i2c-2.7.0 or grea
ter required!
kernel/busses/i2c-amd8111.c: En la funci?n `amd8111_access':
kernel/busses/i2c-amd8111.c:238: `I2C_CLIENT_PEC' no ha sido declarado aqu? (pri
mero ?selo en esta funci?n)
kernel/busses/i2c-amd8111.c:238: (Cada identificador no declarado solamente se r
eporta una vez
kernel/busses/i2c-amd8111.c:238: para cada funcion en la que aparece.) kernel/busses/i2c-amd8111.c:298: `I2C_SMBUS_BLOCK_PROC_CALL' no ha sido declarad
o aqu? (primero ?selo en esta funci?n) kernel/busses/i2c-amd8111.c:309: `I2C_SMBUS_WORD_DATA_PEC' no ha sido declarado
aqu? (primero ?selo en esta funci?n) kernel/busses/i2c-amd8111.c:310: `I2C_SMBUS_BLOCK_DATA_PEC' no ha sido declarado
aqu? (primero ?selo en esta funci?n)
kernel/busses/i2c-amd8111.c:311: `I2C_SMBUS_PROC_CALL_PEC' no ha sido declarado
aqu? (primero ?selo en esta funci?n) kernel/busses/i2c-amd8111.c:312: `I2C_SMBUS_BLOCK_PROC_CALL_PEC' no ha sido decl
arado aqu? (primero ?selo en esta funci?n) kernel/busses/i2c-amd8111.c: En la funci?n `amd8111_func':
kernel/busses/i2c-amd8111.c:385: `I2C_FUNC_SMBUS_BLOCK_PROC_CALL' no ha sido dec
larado aqu? (primero ?selo en esta funci?n) kernel/busses/i2c-amd8111.c:386: `I2C_FUNC_SMBUS_HWPEC_CALC' no ha sido declarad
o aqu? (primero ?selo en esta funci?n) kernel/busses/i2c-amd8111.c: En la funci?n `amd8111_probe':
kernel/busses/i2c-amd8111.c:426: `I2C_HW_SMBUS_AMD8111' no ha sido declarado aqu
? (primero ?selo en esta funci?n)
make: *** [kernel/busses/i2c-amd8111.o] Error 1

#3 lore raw
In reply to Victor G. Marimon
Quoted 11 lines

ses/i2c-ali15x3.c -o kernel/busses/i2c-ali15x3.o
gcc -DMODVERSIONS -include /lib/modules/2.4.21/build/include/linux/modversions. h -D__KERNEL__

(quoted diff) +0 -2
-DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/includ e
-I/usr/local/include -I/lib/modules/2.4.21/build/include   -O2   -c

kernel/bus ses/i2c-amd756.c -o kernel/busses/i2c-amd756.o gcc -DMODVERSIONS -include /lib/modules/2.4.21/build/include/linux/modversions. h -D__KERNEL__

(quoted diff) +0 -2
-DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/includ e
-I/usr/local/include -I/lib/modules/2.4.21/build/include   -O2   -c
Quoted 3 lines

kernel/bus ses/i2c-amd8111.c -o kernel/busses/i2c-amd8111.o kernel/busses/i2c-amd8111.c:25:2: #error Your i2c is too old - i2c-2.7.0 or grea ter required!

Well, I think the error message is explicit. You need to upgrade i2c to 2.7.0.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#4 lore raw
In reply to Victor G. Marimon
Quoted 7 lines
Quoted 2 lines

Well, I think the error message is explicit. You need to upgrade i2c to 2.7.0.

yes, but i'm using kernel 2.4.21 and for now only have i2c patches
for 2.4.20

You can install i2c from our i2c-2.7.0 package. It doesn't require to patch the kernel. Just make sure you don't have any I2C module built into the kernel itself, and install all the modules from our package (make && make install && depmod -ae should just do it).

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#5 lore raw
In reply to Victor G. Marimon
Quoted 10 lines
Quoted 5 lines

You can install i2c from our i2c-2.7.0 package. It doesn't require to patch the kernel. Just make sure you don't have any I2C module built into the kernel itself, and install all the modules from our package(make && make install && depmod -ae should just do it).

i compiled & instaled i2c-2.7.0 and when doing 'make' in lm-sensors
shows the same error:

Please make sure you don't have an old set of i2c header files in /usr/include, this is a common mistake. Also, take a look at the news item of May 31st, 2003 on our news pages:
http://secure.netroedge.com/~lm78/

This seems to describe your problem quite well.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/