problem building the lm-sensors adn i2c packages
Hello.
I did manage to build the pkg once, bbut then, after getting a
differente kernel, it didn't work.
I did as the documentation tells:
- Install lm-sensors-source, i2c-source
- Go to top of kernel source tree
- Use make-kpkg to build the kernel
Since I did a make-kpkg clean, I did:
- make dep
- make-kpkg modules_image (as root)
And it didn't work... I think taht's what I did the first time, but it
doesn't seem to work a second time...
This is what happened:
make[1]: Entering directory `/usr/src/modules/lm-sensors'
dh_testdir
I2C_HEADERS=/usr/local/include
# The i2c headers are in the i2c-source package's directory.
/usr/bin/make LINUX=/home/jeronimo/Linux/kernel/linux-2.4.0 I2C_HEADERS=/usr/src/modules/lm-sensors/../i2c
make[2]: Entering directory `/usr/src/modules/lm-sensors'
make[2]: *** No rule to make target `linux/modversions.h', needed by `kernel/chips/w83781d.d'. Stop.make[2]: Leaving directory `/usr/src/modules/lm-sensors'
make[1]: *** [build-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/lm-sensors'
Module /usr/src/modules/lm-sensors failed.
make[1]: Entering directory `/usr/src/modules/i2c'
dh_testdir
/usr/bin/make LINUX=/home/jeronimo/Linux/kernel/linux-2.4.0
make[2]: Entering directory `/usr/src/modules/i2c'
make[2]: *** No rule to make target `/home/jeronimo/Linux/kernel/linux-2.4.0/include/linux/modversions.h', needed by `kernel/i2c-elektor.d'. Stop.
make[2]: Leaving directory `/usr/src/modules/i2c'
make[1]: *** [build-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/i2c'
Module /usr/src/modules/i2c failed.
Hit return to Continue
Any ideas?
Thanks,
J.
--
Jeronimo Pellegrini
Institute of Computing - Unicamp - Brazil
http://www.ic.unicamp.br/~jeronimo
mailto:jeronimo@ic.unicamp.br mailto:pellegrini@iname.com
Reply to: