All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [lm-sensors] [Bulk] Re:  Cannot make ver 3.0.3
@ 2009-02-17 17:19 DB
  2009-02-18 13:52 ` DB
  2009-02-18 14:03 ` Jean Delvare
  0 siblings, 2 replies; 3+ messages in thread
From: DB @ 2009-02-17 17:19 UTC (permalink / raw)
  To: lm-sensors

Jean Delvare wrote:
> On Tue, 17 Feb 2009 16:36:35 +0100, DB wrote:
>   
>> Good afternoon,
>>
>> I've just tried to make lm_sensors ver 3.0.3, with the following result:
>> <snip>
>> prog/sensors/main.ro prog/sensors/chips.ro -Llib -lsensors
>> lib/libsensors.so: undefined reference to `sensors_yylex'
>> lib/libsensors.so: undefined reference to `sensors_lex_error'
>> lib/libsensors.so: undefined reference to `sensors_yylineno'
>> lib/libsensors.so: undefined reference to `sensors_scanner_exit'
>> lib/libsensors.so: undefined reference to `sensors_scanner_init'
>> collect2: ld returned 1 exit status
>> make: *** [prog/sensors/sensors] Error 1
>>
>> Any suggestions on how to deal with the 5 undefined references????
>>     
>
> Please do "make clean" and then "make" again. The above log lacks the
> beginning of the build, so I can't tell what went wrong.
>
>   
                         
[root@Fedora-Blue lm_sensors-3.0.3]# make 
all                                                                                                                     

Makefile:171: lib/data.ld: No such file or 
directory                                                                                                              

Makefile:171: lib/general.ld: No such file or 
directory                                                                                                           

Makefile:171: lib/error.ld: No such file or 
directory                                                                                                             

Makefile:171: lib/access.ld: No such file or 
directory                                                                                                            

Makefile:171: lib/init.ld: No such file or 
directory                                                                                                              

Makefile:171: lib/sysfs.ld: No such file or 
directory                                                                                                             

Makefile:171: lib/data.ad: No such file or 
directory                                                                                                              

Makefile:171: lib/general.ad: No such file or 
directory                                                                                                           

Makefile:171: lib/error.ad: No such file or 
directory                                                                                                             

Makefile:171: lib/access.ad: No such file or 
directory                                                                                                            

Makefile:171: lib/init.ad: No such file or 
directory                                                                                                              

Makefile:171: lib/sysfs.ad: No such file or 
directory                                                                                                             

Makefile:171: prog/sensors/main.rd: No such file or 
directory                                                                                                     

Makefile:171: prog/sensors/chips.rd: No such file or 
directory                                                                                                    

Makefile:171: prog/dump/util.rd: No such file or 
directory                                                                                                        

Makefile:171: prog/dump/isadump.rd: No such file or 
directory                                                                                                     

Makefile:171: prog/dump/isaset.rd: No such file or 
directory                                                                                                      

Makefile:171: prog/dump/superio.rd: No such file or 
directory                                                                                                     

gcc -M -MG -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes 
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  
prog/dump/superio.c | 
\                                                                                                              

        sed -e 's@^\(.*\)\.o:@prog/dump/superio.rd prog/dump/superio.ro: 
Makefile '`dirname prog/dump/superio.rd`/Module.mk' @' > 
prog/dump/superio.rd           
gcc -M -MG -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes 
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  
prog/dump/isaset.c | 
\                                                                                                               

        sed -e 's@^\(.*\)\.o:@prog/dump/isaset.rd prog/dump/isaset.ro: 
Makefile '`dirname prog/dump/isaset.rd`/Module.mk' @' > 
prog/dump/isaset.rd               
gcc -M -MG -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes 
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  
prog/dump/isadump.c | 
\                                                                                                              

        sed -e 's@^\(.*\)\.o:@prog/dump/isadump.rd prog/dump/isadump.ro: 
Makefile '`dirname prog/dump/isadump.rd`/Module.mk' @' > 
prog/dump/isadump.rd           
gcc -M -MG -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes 
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  
prog/dump/util.c | 
\                                                                                                                 

        sed -e 's@^\(.*\)\.o:@prog/dump/util.rd prog/dump/util.ro: 
Makefile '`dirname prog/dump/util.rd`/Module.mk' @' > 
prog/dump/util.rd                       
gcc -M -MG -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes 
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  
prog/sensors/chips.c | 
\                                                                                                             

        sed -e 's@^\(.*\)\.o:@prog/sensors/chips.rd 
prog/sensors/chips.ro: Makefile '`dirname 
prog/sensors/chips.rd`/Module.mk' @' > prog/sensors/chips.rd       
gcc -M -MG -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes 
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  
prog/sensors/main.c | 
\                                                                                                              

        sed -e 's@^\(.*\)\.o:@prog/sensors/main.rd prog/sensors/main.ro: 
Makefile '`dirname prog/sensors/main.rd`/Module.mk' @' > 
prog/sensors/main.rd           
gcc -M -MG -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes 
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  lib/sysfs.c | 
\                                                                                                                      

        sed -e 's@^\(.*\)\.o:@lib/sysfs.ad lib/sysfs.ao: Makefile 
'`dirname lib/sysfs.ad`/Module.mk' @' > 
lib/sysfs.ad                                           
gcc -M -MG -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes 
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  lib/init.c | 
\                                                                                                                       

        sed -e 's@^\(.*\)\.o:@lib/init.ad lib/init.ao: Makefile 
'`dirname lib/init.ad`/Module.mk' @' > 
lib/init.ad                                               
gcc -M -MG -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes 
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  lib/access.c 
| 
\                                                                                                                     

        sed -e 's@^\(.*\)\.o:@lib/access.ad lib/access.ao: Makefile 
'`dirname lib/access.ad`/Module.mk' @' > 
lib/access.ad                                       
gcc -M -MG -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes 
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  lib/error.c | 
\                                                                                                                      

        sed -e 's@^\(.*\)\.o:@lib/error.ad lib/error.ao: Makefile 
'`dirname lib/error.ad`/Module.mk' @' > 
lib/error.ad                                           
gcc -M -MG -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes 
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  lib/general.c 
| 
\                                                                                                                    

        sed -e 's@^\(.*\)\.o:@lib/general.ad lib/general.ao: Makefile 
'`dirname lib/general.ad`/Module.mk' @' > 
lib/general.ad                                   
gcc -M -MG -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes 
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  lib/data.c | 
\                                                                                                                       

        sed -e 's@^\(.*\)\.o:@lib/data.ad lib/data.ao: Makefile 
'`dirname lib/data.ad`/Module.mk' @' > 
lib/data.ad                                               
gcc -M -MG -DETCDIR="\"/etc\"" -I.  -fpic -D_REENTRANT -Wall -O2 
-Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes 
-Wundef  lib/sysfs.c | 
\                                                                                                   

        sed -e 's@^\(.*\)\.o:@lib/sysfs.ld lib/sysfs.lo: Makefile 
'`dirname lib/sysfs.ld`/Module.mk' @' > 
lib/sysfs.ld                                           
gcc -M -MG -DETCDIR="\"/etc\"" -I.  -fpic -D_REENTRANT -Wall -O2 
-Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes 
-Wundef  lib/init.c | 
\                                                                                                    

        sed -e 's@^\(.*\)\.o:@lib/init.ld lib/init.lo: Makefile 
'`dirname lib/init.ld`/Module.mk' @' > 
lib/init.ld                                               
gcc -M -MG -DETCDIR="\"/etc\"" -I.  -fpic -D_REENTRANT -Wall -O2 
-Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes 
-Wundef  lib/access.c | 
\                                                                                                  

        sed -e 's@^\(.*\)\.o:@lib/access.ld lib/access.lo: Makefile 
'`dirname lib/access.ld`/Module.mk' @' > 
lib/access.ld                                       
gcc -M -MG -DETCDIR="\"/etc\"" -I.  -fpic -D_REENTRANT -Wall -O2 
-Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes 
-Wundef  lib/error.c | 
\                                                                                                   

        sed -e 's@^\(.*\)\.o:@lib/error.ld lib/error.lo: Makefile 
'`dirname lib/error.ld`/Module.mk' @' > 
lib/error.ld                                           
gcc -M -MG -DETCDIR="\"/etc\"" -I.  -fpic -D_REENTRANT -Wall -O2 
-Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes 
-Wundef  lib/general.c | 
\                                                                                                 

        sed -e 's@^\(.*\)\.o:@lib/general.ld lib/general.lo: Makefile 
'`dirname lib/general.ld`/Module.mk' @' > 
lib/general.ld                                   
gcc -M -MG -DETCDIR="\"/etc\"" -I.  -fpic -D_REENTRANT -Wall -O2 
-Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes 
-Wundef  lib/data.c | 
\                                                                                                    

        sed -e 's@^\(.*\)\.o:@lib/data.ld lib/data.lo: Makefile 
'`dirname lib/data.ld`/Module.mk' @' > 
lib/data.ld                                               
gcc -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes -Wshadow 
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  -c lib/data.c 
-o 
lib/data.ao                                                                                                                

gcc -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes -Wshadow 
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  -c 
lib/general.c -o 
lib/general.ao                                                                                                          

gcc -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes -Wshadow 
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  -c 
lib/error.c -o 
lib/error.ao                                                                                                              

gcc -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes -Wshadow 
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  -c 
lib/access.c -o 
lib/access.ao                                                                                                            

gcc -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes -Wshadow 
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  -c lib/init.c 
-o 
lib/init.ao                                                                                                                

gcc -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes -Wshadow 
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  -c 
lib/sysfs.c -o 
lib/sysfs.ao                                                                                                              

bison -p sensors_yy -d lib/conf-parse.y -o 
lib/conf-parse.c                                                                                                       

gcc -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes -Wshadow 
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  -Wno-undef -c 
lib/conf-parse.c -o 
lib/conf-parse.ao                                                                                         

flex -Psensors_yy -t -Cfe -8 lib/conf-lex.l > 
lib/conf-lex.c                                                                                                      

gcc -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes -Wshadow 
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  -Wno-shadow 
-Wno-undef -Wno-unused -Wno-missing-prototypes -Wno-sign-compare -c 
lib/conf-lex.c -o lib/conf-lex.ao                          
rm -f 
lib/libsensors.a                                                                                                                                            

ar rcvs lib/libsensors.a lib/data.ao lib/general.ao lib/error.ao 
lib/access.ao lib/init.ao lib/sysfs.ao lib/conf-parse.ao 
lib/conf-lex.ao                        
a - 
lib/data.ao                                                                                                                                                   

a - 
lib/general.ao                                                                                                                                                

a - 
lib/error.ao                                                                                                                                                  

a - 
lib/access.ao                                                                                                                                                 

a - 
lib/init.ao                                                                                                                                                   

a - 
lib/sysfs.ao                                                                                                                                                  

a - 
lib/conf-parse.ao                                                                                                                                             

a - 
lib/conf-lex.ao                                                                                                                                               

gcc -DETCDIR="\"/etc\"" -I.  -fpic -D_REENTRANT -Wall -O2 
-Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes 
-Wundef  -c lib/data.c -o 
lib/data.lo                                                                                             

gcc -DETCDIR="\"/etc\"" -I.  -fpic -D_REENTRANT -Wall -O2 
-Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes 
-Wundef  -c lib/general.c -o 
lib/general.lo                                                                                       

gcc -DETCDIR="\"/etc\"" -I.  -fpic -D_REENTRANT -Wall -O2 
-Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes 
-Wundef  -c lib/error.c -o 
lib/error.lo                                                                                           

gcc -DETCDIR="\"/etc\"" -I.  -fpic -D_REENTRANT -Wall -O2 
-Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes 
-Wundef  -c lib/access.c -o lib/access.lo
gcc -DETCDIR="\"/etc\"" -I.  -fpic -D_REENTRANT -Wall -O2 
-Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes 
-Wundef  -c lib/init.c -o lib/init.lo
gcc -DETCDIR="\"/etc\"" -I.  -fpic -D_REENTRANT -Wall -O2 
-Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes 
-Wundef  -c lib/sysfs.c -o lib/sysfs.lo
gcc -DETCDIR="\"/etc\"" -I.  -fpic -D_REENTRANT -Wall -O2 
-Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes 
-Wundef  -Wno-undef -c lib/conf-parse.c -o lib/conf-parse.lo
gcc -DETCDIR="\"/etc\"" -I.  -fpic -D_REENTRANT -Wall -O2 
-Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes 
-Wundef  -Wno-shadow -Wno-undef -Wno-unused -Wno-missing-prototypes 
-Wno-sign-compare -c lib/conf-lex.c -o lib/conf-lex.lo
gcc -shared -Wl,-soname,libsensors.so.4 -o lib/libsensors.so.4.0.2 
lib/data.lo lib/general.lo lib/error.lo lib/access.lo lib/init.lo 
lib/sysfs.lo lib/conf-parse.lo lib/conf-lex.lo -lc -lm
rm -f lib/libsensors.so.4
ln -sf libsensors.so.4.0.2 lib/libsensors.so.4
rm -f lib/libsensors.so
ln -sf libsensors.so.4.0.2 lib/libsensors.so
gcc -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes -Wshadow 
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  -c 
prog/sensors/main.c -o prog/sensors/main.ro
prog/sensors/main.c: In function ‘set_degstr’:
prog/sensors/main.c:128: warning: initialization discards qualifiers 
from pointer target type
prog/sensors/main.c:128: warning: initialization discards qualifiers 
from pointer target type
gcc -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes -Wshadow 
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  -c 
prog/sensors/chips.c -o prog/sensors/chips.ro
gcc -Wl,-rpath,/usr/local/lib -o prog/sensors/sensors 
prog/sensors/main.ro prog/sensors/chips.ro  -Llib -lsensors
gcc -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes -Wshadow 
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  -c 
prog/dump/isadump.c -o prog/dump/isadump.ro
gcc -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes -Wshadow 
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  -c 
prog/dump/superio.c -o prog/dump/superio.ro
gcc -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes -Wshadow 
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  -c 
prog/dump/util.c -o prog/dump/util.ro
gcc -Wl,-rpath,/usr/local/lib -o prog/dump/isadump prog/dump/isadump.ro 
prog/dump/superio.ro prog/dump/util.ro
gcc -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes -Wshadow 
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  -c 
prog/dump/isaset.c -o prog/dump/isaset.ro
gcc -Wl,-rpath,/usr/local/lib -o prog/dump/isaset prog/dump/isaset.ro 
prog/dump/util.ro
gcc -DETCDIR="\"/etc\"" -I.  -Wall -O2 -Wstrict-prototypes -Wshadow 
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wnested-externs -Winline -W -Wmissing-prototypes -Wundef  -c 
lib/test/test-scanner.c -o lib/test/test-scanner.ro
gcc -Wl,-rpath,/usr/local/lib -o lib/test/test-scanner 
lib/test/test-scanner.ro lib/conf-lex.ao lib/error.ao lib/general.ao -Llib


Thanks for the quick reply!  I assume(!) the above is a correct 
output?????  & that I should now have a working 3.0.3 lm_sensors.

Let's see what happens!

Dave

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [lm-sensors] [Bulk] Re:  Cannot make ver 3.0.3
  2009-02-17 17:19 [lm-sensors] [Bulk] Re: Cannot make ver 3.0.3 DB
@ 2009-02-18 13:52 ` DB
  2009-02-18 14:03 ` Jean Delvare
  1 sibling, 0 replies; 3+ messages in thread
From: DB @ 2009-02-18 13:52 UTC (permalink / raw)
  To: lm-sensors

Jean Delvare wrote:
> On Tue, 17 Feb 2009 18:19:51 +0100, DB wrote:
>   
>> Thanks for the quick reply!  I assume(!) the above is a correct 
>> output?????  & that I should now have a working 3.0.3 lm_sensors.
>>     
>
> Yes, it looks OK. Just run "make install" as root and you should be
> done.
>
>   
Hi Jean,

Did the 'make install', which seemed successful on the 3rd attempt (it 
spat out a couple of file problems which I took care of....)

I've run sensors-detect, sensors -s, and even sensors -c 
/etc/sensors3.conf -s, but still the labels as set in sensors3.conf are 
not appearing.... Any idea what I have done wrong?

My sensors3.conf (clipped out of the original since I only have the 
K7S5A board)

#(from /etc/sensors3.conf)

chip "lm78-*" "lm79-*" "w83781d-*"

# These are as advised in the LM78 and LM79 data sheets, and used on almost
# any mainboard we have seen.

label in0 "VCore 1"
label in1 "VCore 2"
label in2 "+3.3V"
label in3 "+5V"
label in4 "+12V"
label in5 "-12V"
label in6 "-5V"

# Elite Group K7S5A board
#
# compute in5 -(36/10)*@, -@/(36/10)
# compute in6 -(56/10)*@, -@/(56/10)
#
compute in7 ((6.8/10)+1)*@ , @/((6.8/10)+1)

set in0_min 1.5 * 0.95
set in0_max 1.5 * 1.05
set in1_min 2.4
set in1_max 2.6
set in2_min 3.3 * 0.95
set in2_max 3.3 * 1.05
set in3_min 5.0 * 0.95
set in3_max 5.0 * 1.05
set in4_min 12 * 0.95
set in4_max 12 * 1.05
set in5_max -12 * 0.95
set in5_min -12 * 1.05
set in6_max -5 * 0.95
set in6_min -5 * 1.05
set in7_min 5 * 0.95
set in7_max 5 * 1.05
#the chip does not support in8 min/max

# Temperature
#
# Important - if your temperature readings are completely whacky
# you probably need to change the sensor type.
# Adujst and uncomment the appropriate lines below.
#
# 2 = thermistor; 3 = thermal diode; 0 = unused
# set temp1_type 3
# set temp2_type 3
# set temp3_type 3
# If a given sensor isn't used, you will probably want to ignore it
# (see ignore statement right below).

ignore temp1
label temp1 "Temp 1"
set temp1_max 40
set temp1_min 15
label temp2 "M/B Temp"
set temp2_max 45
set temp2_min 15
label temp3 "CPU Temp"
set temp3_max 45
set temp3_min 15

And the response from my system:

root@Fedora-Blue Dave]# sensors -c /etc/sensors3.conf -s
[root@Fedora-Blue Dave]# sensors
it87-isa-0290
Adapter: ISA adapter
in0: +1.73 V (min = +0.00 V, max = +4.08 V)
in1: +2.46 V (min = +0.00 V, max = +4.08 V)
in2: +3.33 V (min = +0.00 V, max = +4.08 V)
in3: +2.93 V (min = +0.00 V, max = +4.08 V)
in4: +3.02 V (min = +0.00 V, max = +4.08 V)
in5: +3.44 V (min = +0.00 V, max = +4.08 V)
in6: +1.14 V (min = +0.00 V, max = +4.08 V)
in7: +3.01 V (min = +0.00 V, max = +4.08 V)
in8: +3.42 V
fan1: 2376 RPM (min = 0 RPM, div = 8)
fan2: 3183 RPM (min = 0 RPM, div = 8)
fan3: 0 RPM (min = 0 RPM, div = 2)
temp1: +12.0?C (low = -1.0?C, high = +127.0?C) sensor = transistor
temp2: +27.0?C (low = -1.0?C, high = +127.0?C) sensor = transistor
temp3: +48.0?C (low = -1.0?C, high = +127.0?C) sensor = transistor

Thanks for your help

Dave

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [lm-sensors] [Bulk] Re:  Cannot make ver 3.0.3
  2009-02-17 17:19 [lm-sensors] [Bulk] Re: Cannot make ver 3.0.3 DB
  2009-02-18 13:52 ` DB
@ 2009-02-18 14:03 ` Jean Delvare
  1 sibling, 0 replies; 3+ messages in thread
From: Jean Delvare @ 2009-02-18 14:03 UTC (permalink / raw)
  To: lm-sensors

Hi Dave,

On Wed, 18 Feb 2009 14:52:15 +0100, DB wrote:
> Did the 'make install', which seemed successful on the 3rd attempt (it 
> spat out a couple of file problems which I took care of....)

That's pretty strange, "make install" only copies file around, it
shouldn't take more than a single attempt. You seem to have a strange
system...

> I've run sensors-detect, sensors -s, and even sensors -c 
> /etc/sensors3.conf -s, but still the labels as set in sensors3.conf are 
> not appearing.... Any idea what I have done wrong?
> 
> My sensors3.conf (clipped out of the original since I only have the 
> K7S5A board)
> 
> #(from /etc/sensors3.conf)
> 
> chip "lm78-*" "lm79-*" "w83781d-*"

This line says for which chips the following statements apply...

> 
> # These are as advised in the LM78 and LM79 data sheets, and used on almost
> # any mainboard we have seen.
> 
> label in0 "VCore 1"
> label in1 "VCore 2"
> label in2 "+3.3V"
> label in3 "+5V"
> label in4 "+12V"
> label in5 "-12V"
> label in6 "-5V"
> 
> # Elite Group K7S5A board
> #
> # compute in5 -(36/10)*@, -@/(36/10)
> # compute in6 -(56/10)*@, -@/(56/10)
> #
> compute in7 ((6.8/10)+1)*@ , @/((6.8/10)+1)
> 
> set in0_min 1.5 * 0.95
> set in0_max 1.5 * 1.05
> set in1_min 2.4
> set in1_max 2.6
> set in2_min 3.3 * 0.95
> set in2_max 3.3 * 1.05
> set in3_min 5.0 * 0.95
> set in3_max 5.0 * 1.05
> set in4_min 12 * 0.95
> set in4_max 12 * 1.05
> set in5_max -12 * 0.95
> set in5_min -12 * 1.05
> set in6_max -5 * 0.95
> set in6_min -5 * 1.05
> set in7_min 5 * 0.95
> set in7_max 5 * 1.05
> #the chip does not support in8 min/max
> 
> # Temperature
> #
> # Important - if your temperature readings are completely whacky
> # you probably need to change the sensor type.
> # Adujst and uncomment the appropriate lines below.
> #
> # 2 = thermistor; 3 = thermal diode; 0 = unused
> # set temp1_type 3
> # set temp2_type 3
> # set temp3_type 3
> # If a given sensor isn't used, you will probably want to ignore it
> # (see ignore statement right below).
> 
> ignore temp1
> label temp1 "Temp 1"
> set temp1_max 40
> set temp1_min 15
> label temp2 "M/B Temp"
> set temp2_max 45
> set temp2_min 15
> label temp3 "CPU Temp"
> set temp3_max 45
> set temp3_min 15
> 
> And the response from my system:
> 
> root@Fedora-Blue Dave]# sensors -c /etc/sensors3.conf -s
> [root@Fedora-Blue Dave]# sensors
> it87-isa-0290

... but it doesn't match your chip. Your configuration file should
start with:

chip "it87-*"

> Adapter: ISA adapter
> in0: +1.73 V (min = +0.00 V, max = +4.08 V)
> in1: +2.46 V (min = +0.00 V, max = +4.08 V)
> in2: +3.33 V (min = +0.00 V, max = +4.08 V)
> in3: +2.93 V (min = +0.00 V, max = +4.08 V)
> in4: +3.02 V (min = +0.00 V, max = +4.08 V)
> in5: +3.44 V (min = +0.00 V, max = +4.08 V)
> in6: +1.14 V (min = +0.00 V, max = +4.08 V)
> in7: +3.01 V (min = +0.00 V, max = +4.08 V)
> in8: +3.42 V
> fan1: 2376 RPM (min = 0 RPM, div = 8)
> fan2: 3183 RPM (min = 0 RPM, div = 8)
> fan3: 0 RPM (min = 0 RPM, div = 2)
> temp1: +12.0?C (low = -1.0?C, high = +127.0?C) sensor = transistor
> temp2: +27.0?C (low = -1.0?C, high = +127.0?C) sensor = transistor
> temp3: +48.0?C (low = -1.0?C, high = +127.0?C) sensor = transistor
> 
> Thanks for your help

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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-02-18 14:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-17 17:19 [lm-sensors] [Bulk] Re: Cannot make ver 3.0.3 DB
2009-02-18 13:52 ` DB
2009-02-18 14:03 ` Jean Delvare

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.