two small questions when compile lm_sensors

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

 



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??.



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

  Powered by Linux