two small questions when compile lm_sensors

Huang0 at Winbond.com.tw Huang0 at Winbond.com.tw
Fri Feb 25 08:12:34 CET 2005


Hi Jean

I meet two small questions when compile lm_sensors, they are not urgent,
you may give me some help when you are free.

Question 1:
Error appears when compile the module kernel/chips/bmcsensors.o

The message is attached in this mail. The strange thing is that:
I remember that when I compiled lm_sensors-2.9.0 for the first time
(right after installed my Redhat9), this error did NOT appear.

Now, I have to comment out the module bmcsensors from the file
kernel/chips/Module.mk
**********     error message     ********************
[root at localhost lm_sensors-2.9.0]# make
gcc  -D__SMP__ -DMODVERSIONS -include
/lib/modules/2.4.20-8/build/include/linux/modversions.h -D__KERNEL__
-DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include
-I/usr/local/include  -I/lib/modules/2.4.20-8/build/include -nostdinc -I
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include  -Wall -O2  -c
kernel/chips/bmcsensors.c -o kernel/chips/bmcsensors.o
kernel/chips/bmcsensors.c: In function `ipmi_sprintf':
kernel/chips/bmcsensors.c:220: warning: operation on `from' may be
undefined
kernel/chips/bmcsensors.c:221: warning: operation on `from' may be
undefined
kernel/chips/bmcsensors.c: In function `bmcsensors_select_thresholds':
kernel/chips/bmcsensors.c:300: `m' undeclared (first use in this
function)
kernel/chips/bmcsensors.c:300: (Each undeclared identifier is reported
only once
kernel/chips/bmcsensors.c:300: for each function it appears in.)
kernel/chips/bmcsensors.c: At top level:
kernel/chips/bmcsensors.c:45: warning: `addr_data' defined but not used
make: *** [kernel/chips/bmcsensors.o] Error 1


Question 2:
Occasionally, when I compiled lm_sensors-2.9.0(or i2c-2.9.0), it took me
very long time(maybe several hours) to finish compiling. The "*.d" files
in
lm_sensors-2.9.0/kernel/chips/ (or i2c-2.9.0/kernel/*.d) were
produced(refreshed) again and again.

When I interrupt the compile, this phenomenon sometimes continues, or
disappear: once, I re-compile it on the second day, this strange
phenomena
disappeared.

I can not find the reason about it, Can you?


Thanks
Best Regards

Chunhao
2005-02-25


===========================================================================================The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original author of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such person, please kindly reply the sender indicating accordingly and delete all copies of it from your computer and network server immediately. We thank you for your cooperation. It is advisable that any unauthorized use of confidential information of Winbond is strictly prohibited; and any information in this email that does not relate to the official business of Winbond shall be deemed as neither given nor endorsed by Winbond.===========================================================================================If your computer is unable to decode Chinese font, please ignore the following message. They essentially repea!
 t the  English statement above.¥»«H¥ó¤º©Ò§tµØ¨¹¹q¤lªº°]²£©Ê¾÷±K©Ê¸ê°T, ¶È±ÂÅv­ìµo«H¤H«ü©w¤§¦¬«H¤H¨ú¾\¤§¥Î. °²¨Ï±z¨Ã«D³Q«ü©w¤§¦¬«H¤H©Î¦]¥ô¦ó­ì¦]¦b¥¼¸g±ÂÅvªº±¡§Î¤§¤U¦¬¨ì¥»«H¥ó, ½Ð±z§iª¾­ìµo«H¤H¨Ã¥ß§Y±N«H¥ó±q¹q¸£»Pºô¸ô¦øªA¾¹¤¤¤©¥H®ø°£. ¹ï©ó±zªº¦X§@, §Ú­Ì¥ý¦¹­PÁÂ. ¯S¦¹´£¿ô, ¥ô¦ó¥¼¸g±ÂÅv¾Õ¦Û¨Ï¥ÎµØ¨¹¹q¤lªº¾÷±K¸ê°Tªº¦æ¬°¬O³QÄY®æ¸T¤îªº. «H¥ó»PµØ¨¹¹q¤lÀç·~µLÃö¤§¤º®e,¤£±oµø¬°µØ¨¹¹q¤l¤§¥ß³õ©Î·N¨£.



More information about the lm-sensors mailing list