Dependency problem during compile

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

 



> 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/



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

  Powered by Linux