On Saturday 03 March 2007 16:20, Stephen Cormier wrote: > On March 3, 2007 06:41:15 pm C Wakefield wrote: > > hello all. > > > > I would like to compile lm-sensors / i2c ---> hwmon/k8temp against > > 2.6.18-3-amd64 headers (debian pkg). > > > > Since hwmon/k8temp support didn't appear until about 2.6.19-1 , and, I > > can't boot a kernel newer than 2.6.18, I would like to ask anyone who may > > know of a script to do this. I did find the original code, but I'm not > > sure how to make it work: > > > > make -C /lib/modules/2.6.18-3-amd64/build SUBDIRS=$PWD modules > HI Stephen. I feel like a newbie here, but I don't have any docs on this little make command string, so I don't know why I'm getting this: ________________________________________________________ [EMAIL PROTECTED]:~/lm_sensors-2.10.2$ make -C /lib/modules/2.6.18-3-amd64/build SUBDIRS=$PWD modules make: Entering directory `/usr/src/linux-headers-2.6.18-3-amd64' gcc: etc/config.c: No such file or directory gcc: no input files /home/crow/lm_sensors-2.10.2/Makefile:105: *** For 2.6 kernels and later, use "make user". Stop. make: *** [_module_/home/crow/lm_sensors-2.10.2] Error 2 make: Leaving directory `/usr/src/linux-headers-2.6.18-3-amd64' [EMAIL PROTECTED]:~/lm_sensors-2.10.2$ ___________________________________________________________
As you can see I'm in the source directory. I ran m-a prepare and *make clean* as well. I sure this will compile with 2.6.18-3? The docs in lm_sensors say to run make user then make user_install. But I don't want to mess things up by running make user_install as root. I'm sure I remember running make as a user before and it compiled a k8temp.ko Can you Send me your deb of gkrellm, that would be great! Also, suggest reasons why this is not compiling? Thanks very much for any ideas.... Chris w. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]