can't compile i2c-2.8.3 on linux-2.6.2

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

 



> i compiled the kernel with make clean; lm_sensors compiled after a
> make clean in lm_sensors. but i2c won't compile, it keeps giving me a
> "no rule to make target" error:
> 
> make: *** No rule to make target `mach_mpspec.h', needed by
> `kernel/i2c-pport.d'.  Stop.

I2c and the lm_sensors kernel modules are already part of Linux 2.6.2.
You don't need to compile them apart (and it wouldn't work, as you
noticed).

All you need to do is compile and install the lm_sensors user-space
tools with "make user" and "make user_install" (in lm_sensors,
obviously). The rest is meant for 2.4 kernels, not 2.6 kernels.

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/



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

  Powered by Linux