Dependency problem during compile
Jean Delvare
khali at linux-fr.org
Fri Jan 9 10:12:25 CET 2004
> I'm having compile problems when using lm sensors 2.8.2.
>
> It appears to me that the dependancies don't get correctly worked out
> by the make file.
>
> The error I get is as follows...
>
> make: *** No rule to make target `linux/modsetver.h', needed by
> `kernel/chips/vt1211.d'. Stop.
>
> (...)
>
> # The currently running kernel version. This is used right below to
> # determine where the kernel sources can be found.
> KERNELVERSION := 2.4.21
>
> # The location of linux itself. This is used to find the kernel
> # headers and other things.
> LINUX := /home/darren/MiniMyth/kernelNewTry/linux-2.4.21
> #LINUX := $(shell if [ -L /lib/modules/$(KERNELVERSION)/build ] ; \
> # then echo "/lib/modules/$(KERNELVERSION)/build" ; \
> # else echo "/usr/src/linux" ; fi)
> LINUX_HEADERS := $(LINUX)/include
The kernel must have been configured and compiled at least once in the
pointed location before lm_sensors can be successfully compiled against
it. Didn't you miss that step?
--
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
More information about the lm-sensors
mailing list