All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] Cannot make ver 3.0.3
@ 2009-02-17 15:36 DB
  2009-02-17 15:48 ` Jean Delvare
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: DB @ 2009-02-17 15:36 UTC (permalink / raw)
  To: lm-sensors

Good afternoon,

I've just tried to make lm_sensors ver 3.0.3, with the following result:

[root@Fedora-Blue lm_sensors-3.0.3]# make all
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
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????

I'm using Fedora 9

root@Fedora-Blue lm_sensors-3.0.3]# uname -r
2.6.27.12-78.2.8.fc9.i686
[root@Fedora-Blue lm_sensors-3.0.3]# uname -a
Linux Fedora-Blue 2.6.27.12-78.2.8.fc9.i686 #1 SMP Mon Jan 19 20:14:35 
EST 2009 i686 athlon i386 GNU/Linux


Thanks

Dave


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

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

* Re: [lm-sensors] Cannot make ver 3.0.3
  2009-02-17 15:36 [lm-sensors] Cannot make ver 3.0.3 DB
@ 2009-02-17 15:48 ` Jean Delvare
  2009-02-17 17:38 ` Jean Delvare
  2009-02-19  9:34 ` Jean Delvare
  2 siblings, 0 replies; 4+ messages in thread
From: Jean Delvare @ 2009-02-17 15:48 UTC (permalink / raw)
  To: lm-sensors

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:
> 
> [root@Fedora-Blue lm_sensors-3.0.3]# make all
> 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
> 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.

-- 
Jean Delvare

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

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

* Re: [lm-sensors] Cannot make ver 3.0.3
  2009-02-17 15:36 [lm-sensors] Cannot make ver 3.0.3 DB
  2009-02-17 15:48 ` Jean Delvare
@ 2009-02-17 17:38 ` Jean Delvare
  2009-02-19  9:34 ` Jean Delvare
  2 siblings, 0 replies; 4+ messages in thread
From: Jean Delvare @ 2009-02-17 17:38 UTC (permalink / raw)
  To: lm-sensors

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.

-- 
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] 4+ messages in thread

* Re: [lm-sensors] Cannot make ver 3.0.3
  2009-02-17 15:36 [lm-sensors] Cannot make ver 3.0.3 DB
  2009-02-17 15:48 ` Jean Delvare
  2009-02-17 17:38 ` Jean Delvare
@ 2009-02-19  9:34 ` Jean Delvare
  2 siblings, 0 replies; 4+ messages in thread
From: Jean Delvare @ 2009-02-19  9:34 UTC (permalink / raw)
  To: lm-sensors

Hi Dave,

On Wed, 18 Feb 2009 22:58:26 +0100, DB wrote:
> And if I copy the values for the it87, it makes even MORE difference!!!!

Copy what values from where to where?

> *BUT *there appears to be something strange (to my untutored eye) with 
> the -12V in Sensors, giving an alarm for a value which appears to me to 
> be in-range....
> 
> Any thoughts????

Try swapping the low and high limits.

-- 
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] 4+ messages in thread

end of thread, other threads:[~2009-02-19  9:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-17 15:36 [lm-sensors] Cannot make ver 3.0.3 DB
2009-02-17 15:48 ` Jean Delvare
2009-02-17 17:38 ` Jean Delvare
2009-02-19  9:34 ` 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.