Skip to contentSkip to conversation

can't compile i2c-2.8.3 on linux-2.6.2

DISCUSSION synaptical 2 participants 4 messages May 19, 2005

lore
Share & tools
lore

synaptical

author
#0 lore raw

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.

i've made clean in the i2c directory, but i notice /usr/include/linux doesn't contain mach.mpspec.h -- is it supposed to? any idea on how i fix things so i2c will compile?

thank you,
syn

_____________________________________________________________
Thank you for choosing LinuxQuestions.
http://www.linuxquestions.org

#1 lore raw

Quoting synaptical <[email protected]>:

Quoted 4 lines

thanks, i don't think i'll ever get the hang of lm_sensors! they work now indeed, apparently increased by a factor of 10 -- but i think i remember seeing something about that in the doc, and it is not a big deal.

You need lm_sensors CVS or 2.8.4 as soon as we release it. Version 2.8.3 doesn't work correctly with Linux 2.6.2.

Quoted 4 lines

the only other comment i would make is the readings used to appear next to the CPU and Proc headings in gkrellm, and now they take up their own space, which adds length to gkrellm. again not a big deal, but i thought i would mention it as it is a difference.

I don't understand what you mean exactly, maybe because I never used gkrellm myself. That said, it is more likely a problem with gkrellm itself, so you should probably contact the developers of that program instead.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#2 lore raw
In reply to synaptical
Quoted 6 lines

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.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
author
#3 lore raw
In reply to synaptical

thanks, i don't think i'll ever get the hang of lm_sensors! they work now indeed, apparently increased by a factor of 10 -- but i think i remember seeing something about that in the doc, and it is not a big deal.

the only other comment i would make is the readings used to appear next to the CPU and Proc headings in gkrellm, and now they take up their own space, which adds length to gkrellm. again not a big deal, but i thought i would mention it as it is a difference.

appreciate your help and patience.

Quoted 6 lines · --- Jean Delvare

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.

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


_____________________________________________________________
Thank you for choosing LinuxQuestions.
http://www.linuxquestions.org