Re: user question about how to load xeontemp

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

 



Hi Jerry,

On Wed, 19 Jan 2011 10:52:04 -0800, Jerry Lin wrote:
> > Jerry, please try the stand-alone coretemp driver at:
> >  http://khali.linux-fr.org/devel/misc/coretemp/
> > This is basically the version from the latest kernel, with some
> > compatibility bits added so that it builds and runs on older kernels
> > too.
> >
> > Installation instructions can be downloaded from:
> >  http://khali.linux-fr.org/devel/misc/INSTALL
> > This is a document I just wrote, let me know if it contains errors or
> > can be improved in any way.
> 
> Thanks for your instructions. I was able to follow your instructions
> until the make step, at which point I got:
> 
> "Makefile:37: warning: overriding commands for target `modules_install'
> Makefile:29: warning: ignoring old commands for target `modules_install'
> /home/jerry/coretemp/Makefile:37: warning: overriding commands for
> target `modules_install'
> /home/jerry/coretemp/Makefile:29: warning: ignoring old commands for
> target `modules_install'
>   CC [M]  /home/jerry/coretemp/coretemp.o
> /home/jerry/coretemp/coretemp.c:572: warning: data definition has no
> type or storage class
> /home/jerry/coretemp/coretemp.c:572: warning: type defaults to â in
> declaration of â
> /home/jerry/coretemp/coretemp.c:573: error: expected identifier or â
> before â token
> /home/jerry/coretemp/coretemp.c:574:2: error: #endif without #if
> /home/jerry/coretemp/coretemp.c:576: error: expected declaration
> specifiers or â before â token
> /home/jerry/coretemp/coretemp.c:576: warning: data definition has no
> type or storage class
> /home/jerry/coretemp/coretemp.c:576: warning: type defaults to â in
> declaration of â
> 
> /home/jerry/coretemp/coretemp.c:576: warning: function declaration
> isnât a prototype
> /home/jerry/coretemp/coretemp.c:577: error: expected identifier or â before â
> /home/jerry/coretemp/coretemp.c:583: error: expected â, â, â, â or â
> before â token
> /home/jerry/coretemp/coretemp.c:585: error: expected identifier or â
> before â token
> /home/jerry/coretemp/coretemp.c:587: error: redefinition of â
> /home/jerry/coretemp/coretemp.c:550: note: previous definition of â was here
> /home/jerry/coretemp/coretemp.c:606: error: redefinition of â
> /home/jerry/coretemp/coretemp.c:570: note: previous definition of â was here
> /home/jerry/coretemp/coretemp.c:606: error: redefinition of â
> /home/jerry/coretemp/coretemp.c:570: note: previous definition of â was here
> /home/jerry/coretemp/coretemp.c:607: error: redefinition of â
> /home/jerry/coretemp/coretemp.c:571: note: previous definition of â was here
> /home/jerry/coretemp/coretemp.c:607: error: redefinition of â
> /home/jerry/coretemp/coretemp.c:571: note: previous definition of â was here
> make[2]: *** [/home/jerry/coretemp/coretemp.o] Error 1
> make[1]: *** [_module_/home/jerry/coretemp] Error 2
> make: *** [modules] Error 2"
> 
> When I view the source via less, I don't see the "â" characters (I
> retrieved the source via wget).

There was apparently a data corruption, either over the network or on
the disk. I've uploaded the files again, they seem to have been
transferred properly this time, so please download them and try again.

> Questions:
> 1) Is there something I should do differently to get the module compiled?

No, you did the right thing but the source files were corrupted.

> 2) If I upgraded the kernel to 2.6.35, would most of my problems go
> away? (I can't easily do that right now because the machines are in
> use, but I can try to do that at the next maintenance window.)

Yes, it would help for the coretemp driver, which would work out of the
box. The jc42 driver only made it into kernel 2.6.36 though, so you
would still have to build that one out-of-tree. So overall I don't
think it's worth it.

-- 
Jean Delvare
http://khali.linux-fr.org/wishlist.html

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors



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

  Powered by Linux