Ticket #670 (closed task)

Opened 7 years ago

parse error before i2c_is_isa_client in lm78.c (Examined/Solved - lm_sensors 2.6.0 Linux 2.4.7)

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

Description

gcc -I. -Ikernel/include -I/usr/local/include -I/usr/src/linux/include -02

-DKERNEL -DMODULE -fomit-frame-pointer -DEXPORT_SYMTAB -DMODVERSIONS

-include /usr/src/linux/include/linux/modversions.h -c kernel/chips/lm78.c -o

kernel/chips/lm78.o

kernel/chips/lm78.c: In function 'lm78_detach_client':

kernel/chips/lm78.c:481: parse error before 'i2c_is_isa_client'

make: *** [kernel/chips/lm78.o] Error 1

Running Slackware 8.0, kernel 2.4.7. Installed I2C 2.6.0 sucessfully. Got this

error during lm_sensors compile. If it makes a difference, I'm on an A7V and

dont have an ISA bus. --- Yours is the first complaint we've had, it's been that way forever.

Let us know what compiler version you are using.

Obviously the fix is to put parens around i2c_is_isa_client(client).

I'll fix it in CVS but seems like your compiler shouldn't be complaining.

Follow up by emailing sensors@… and reference your

ticket number.

MDS 8/18/01

Note: See TracTickets for help on using tickets.