Fwd: Error on Compiling latest CVS i2c-Second Request
Philip Edelbrock
phil at netroedge.com
Sun Feb 2 23:25:26 CET 2003
It looks like there needs to be a:
#include <asm/errno.h>
Either at the top of i2c.h or i2c-velleman.c. Try putting it at the top
of i2c.h and try again.
Phil
Ed Harrison wrote:
>** Forwarding message from "Ed Harrison" <ed.tman at verizon.net> on Thu, 30 Jan 2003 11:42:38 -0500
>
>
>During "make" in i2c, I get an error in "kernel/i2c/i2c.h"
>
>gcc -I/lib/modules/2.4.19-4GB/build/include -O2 -DLM_SENSORS -D__KERNEL__ -DMODULE -fomit-frame-pointer -DEXPORT_SYMTAB -c kernel/i2c-velleman.c -o kernel/i2c-velleman.o
>In file included from kernel/i2c-velleman.c:28:
>kernel/i2c.h: In function `i2c_client_command':
>kernel/i2c.h:327: `EINVAL' undeclared (first use in this function)
>kernel/i2c.h:327: (Each undeclared identifier is reported only once
>kernel/i2c.h:327: for each function it appears in.)
>make: *** [kernel/i2c-velleman.o] Error 1
>
>
>
>I do not use i2c-velleman.o, but I can't compile until I know what this means and how to fix it.
>
>
>Ed Harrison, broadcasting on:
> L I N U X
>by SuSE (8.1), Kernel 2.4.19-4GB,
>X-server 4.2, PolarBarMailer 1.25rc3
>
>
>Ed Harrison, broadcasting on:
> L I N U X
>by SuSE (8.1), Kernel 2.4.19-4GB,
>X-server 4.2, PolarBarMailer 1.25rc3
>
>
>
More information about the lm-sensors
mailing list