Ticket #371 (closed task)

Opened 8 years ago

make: *** [kernel/i2c-philips-par.o] Error 1 (Examined/Solved - i2c 2.5.1 Linux 2.2.16)

Reported by: contact Owned by: somebody
Priority: minor Milestone:
Component: kernel Version:
Keywords: Cc:

Description

# cd /usr/src/modules/lm-sensors/i2c-2.5.1/

# make clean

rm -f mkpatch/.temp

rm -f kernel/*.o kernel/*.d kernel/.*.o.flags

rm -f kernel/*~

rm -f lm_sensors-*

# make all

[snip]

gcc -I/usr/src/linux/include -O2 -DLM_SENSORS -DKERNEL -DMODULE

-fomit-frame-pointer -DEXPORT_SYMTAB -DMODVERSIONS -include

/usr/src/linux/include/linux/modversions.h -c kernel/i2c-philips-par.c -o

kernel/i2c-philips-par.o

kernel/i2c-philips-par.c: In function 'bit_lp_setscl':

kernel/i2c-philips-par.c:78: warning: dereferencing 'void *' pointer

kernel/i2c-philips-par.c:78: request for member 'ops' in something not a

structure or union

kernel/i2c-philips-par.c:79: warning: dereferencing 'void *' pointer

kernel/i2c-philips-par.c:79: request for member 'ops' in something not a

structure or union

kernel/i2c-philips-par.c:81: warning: dereferencing 'void *' pointer

kernel/i2c-philips-par.c:81: request for member 'ops' in something not a

structure or union

kernel/i2c-philips-par.c:82: warning: dereferencing 'void *' pointer

kernel/i2c-philips-par.c:82: request for member 'ops' in something not a

structure or union

kernel/i2c-philips-par.c: In function 'bit_lp_setsda':

kernel/i2c-philips-par.c:89: warning: dereferencing 'void *' pointer

kernel/i2c-philips-par.c:89: request for member 'ops' in something not a

structure or union

kernel/i2c-philips-par.c:91: warning: dereferencing 'void *' pointer

kernel/i2c-philips-par.c:91: request for member 'ops' in something not a

structure or union

kernel/i2c-philips-par.c: In function 'bit_lp_getscl':

kernel/i2c-philips-par.c:97: warning: dereferencing 'void *' pointer

kernel/i2c-philips-par.c:97: request for member 'ops' in something not a

structure or union

kernel/i2c-philips-par.c: In function 'bit_lp_getsda':

kernel/i2c-philips-par.c:102: warning: dereferencing 'void *' pointer

kernel/i2c-philips-par.c:102: request for member 'ops' in something not a

structure or union

kernel/i2c-philips-par.c: In function 'bit_lp_setscl2':

kernel/i2c-philips-par.c:108: warning: dereferencing 'void *' pointer

kernel/i2c-philips-par.c:108: request for member 'ops' in something not a

structure or union

kernel/i2c-philips-par.c:109: warning: dereferencing 'void *' pointer

kernel/i2c-philips-par.c:109: request for member 'ops' in something not a

structure or union

kernel/i2c-philips-par.c:111: warning: dereferencing 'void *' pointer

kernel/i2c-philips-par.c:111: request for member 'ops' in something not a

structure or union

kernel/i2c-philips-par.c:112: warning: dereferencing 'void *' pointer

kernel/i2c-philips-par.c:112: request for member 'ops' in something not a

structure or union

kernel/i2c-philips-par.c: In function 'bit_lp_setsda2':

kernel/i2c-philips-par.c:119: warning: dereferencing 'void *' pointer

kernel/i2c-philips-par.c:119: request for member 'ops' in something not a

structure or union

kernel/i2c-philips-par.c:120: warning: dereferencing 'void *' pointer

kernel/i2c-philips-par.c:120: request for member 'ops' in something not a

structure or union

kernel/i2c-philips-par.c:122: warning: dereferencing 'void *' pointer

kernel/i2c-philips-par.c:122: request for member 'ops' in something not a

structure or union

kernel/i2c-philips-par.c:123: warning: dereferencing 'void *' pointer

kernel/i2c-philips-par.c:123: request for member 'ops' in something not a

structure or union

kernel/i2c-philips-par.c: In function 'bit_lp_getsda2':

kernel/i2c-philips-par.c:129: warning: dereferencing 'void *' pointer

kernel/i2c-philips-par.c:129: request for member 'ops' in something not a

structure or union

make: *** [kernel/i2c-philips-par.o] Error 1

---

Am I doing something wrong? 2.5.0 (both i2c and lm_sensors) compile without a

hitch!

tia,

/Cristian

--- This is a problem with the i2c package, please

send your request to the i2c mailing list

linux-i2c@…

Of course if you don't need the philips-par driver you can

take it out of the Module.mk file to continue.

MDS 7/2/00

Note: See TracTickets for help on using tickets.