lm_sensors-2.6.3: Make install failed with Mandrake-8.3

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

 



Hi, 

Make install failed with my Mandrake-8.3, the reason is thier 
kernel's version.h that contain multiple UTS_REALEASE: 
--------8<-------------------------------------------- 
#include <linux/rhconfig.h> 
#if defined(__module__smp) 
#define UTS_RELEASE "2.4.18-6mdksmp" 
#elif defined(__module__enterprise) 
#define UTS_RELEASE "2.4.18-6mdkenterprise" 
#elif defined(__module__up) 
#define UTS_RELEASE "2.4.18-6mdk" 
#else 
#define UTS_RELEASE "2.4.18-6mdksecure" 
#endif 
#define LINUX_VERSION_CODE 132114 
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) 
--------8<-------------------------------------------- 
and in lm's Makefile the: 
MODDIR := /lib/modules/`grep UTS_RELEASE
$(LINUX_HEADERS)/linux/version.h|cut -f 2 -d'"'`/misc 
returns: 
--------8<-------------------------------------------- 
2.4.18-6mdksmp 
2.4.18-6mdkenterprise 
2.4.18-6mdk 
2.4.18-6mdksecure 
--------8<-------------------------------------------- 

I've just replace in the lm's Makefile with: 
MODDIR := /lib/modules/`uname -r`/misc 


Congratulations for the package 

Christian



-- 
/**********************************************
* Christian Gagneraud
***********************************************
* cgagneraud at anfora.fr
***********************************************
* ANFORA
* bat Actys, Voie3
* 31313 Lab?ge Innopole
* FRANCE
***********************************************/



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

  Powered by Linux