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

Re: kernel-headers & compiling source



#include <hallo.h>
* Jeff Penn [Sat, Jan 18 2003, 10:12:40AM]:
> I have read through the kernel-header docs, & am still not sure I 
> understand what they are for.  I assumed that they enable source to be 
> compiled when using a kernel-image.
> 
> If this is correct, what is the procedure for compiling i2c-source or 
> lm-sensors-source?.

cd /usr/src
(optionaly) ln -s kernel-headery-`uname -r` linux
tar zxvf lm-sensors.tar.gz
cd modules/lm*
debian/rules kdist_image KVERS=`uname -r` KSRC=/usr/src/kernel-headers-`uname -r`
dpkg -i /usr/src/lm-sen*`uname -r`*deb

Gruss/Regards,
Eduard.
-- 
void o(char c){printf("%c",c);}int main(){int a,b=0;char ciph[]= "91.92.7999 "
"yb Ugvuzm Hvmwg. Arxilhlug ivzoob hfxph !!!\n";while(a=ciph[b++]){if((a>='A')
&&(a<='Z')){a+=13;if(a>'Z')a-=26;o('Z'-(a-'A'));}else if((a>='a')&&(a<='z')){o
('z'-(a-'a'));}else if((a>='0') && (a<='9')){o('9'-(a-'0'));}else o(a);}}



Reply to: