View Single Post
  #12  
Old December 28th 08, 09:26 PM posted to comp.os.linux.hardware,alt.comp.hardware.overclocking
General Schvantzkoph
external usenet poster
 
Posts: 246
Default New release of sys_basher

On Sun, 28 Dec 2008 15:05:37 -0600, Jim Whitby wrote:

On Sun, 28 Dec 2008 20:34:52 +0000, General Schvantzkoph wrote:

On Sun, 28 Dec 2008 12:20:02 -0800, 1PW wrote:

On 12/27/2008 08:24 PM, General Schvantzkoph sent:
I've put a new release of sys_basher on the web,

http://www.polybus.com/sys_basher_web/

sys_basher is a multi-threaded hardware exerciser, memory tester and
benchmarking tool. It will run on any Linux or Unix.


Hello:

I'm having trouble with the make sys-basher2. I run RHEL5.2 and my
installed versions of lm_sensors and lm_sensors-devel are at
2.10.6-55.el5 from rpm.bone.net, rather than the version
2.10.0-3.1.i386 from Red Hat or CentOS. The following is what I get
during the make:

# make sys_basher2
gcc -c -O2 -Wuninitialized -Wformat -Wno-multichar -Wreturn-type
-Wswitch -g sys_main.c
gcc -c -O2 -Wuninitialized -Wformat -Wno-multichar -Wreturn-type
-Wswitch -g sys_utils.c
gcc -c -O2 -Wuninitialized -Wformat -Wno-multichar -Wreturn-type
-Wswitch -g sys_disk.c
gcc -c -O2 -Wuninitialized -Wformat -Wno-multichar -Wreturn-type
-Wswitch -g sys_kernel.c
gcc -c -O2 -Wuninitialized -Wformat -Wno-multichar -Wreturn-type
-Wswitch -g sys_fp.c
gcc -c -O2 -Wuninitialized -Wformat -Wno-multichar -Wreturn-type
-Wswitch -g sys_int.c
gcc -c -O2 -Wuninitialized -Wformat -Wno-multichar -Wreturn-type
-Wswitch -g sys_mem.c
gcc -c -O2 -Wuninitialized -Wformat -Wno-multichar -Wreturn-type
-Wswitch -g lin_utils.c
gcc -c -O2 -Wuninitialized -Wformat -Wno-multichar -Wreturn-type
-Wswitch -g sys_sensors2.c
sys_sensors2.c: In function ‘getTemps’: sys_sensors2.c:48: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
sys_sensors2.c:48: error: ‘feature_data’ undeclared (first use in this
function)
sys_sensors2.c:48: error: (Each undeclared identifier is reported only
once sys_sensors2.c:48: error: for each function it appears in.)
sys_sensors2.c:72: warning: passing argument 1 of
‘sensors_get_detected_chips’ from incompatible pointer type
sys_sensors2.c:72: error: too few arguments to function
‘sensors_get_detected_chips’
sys_sensors2.c:83: error: incompatible type for argument 1 of
‘sensors_get_label’
sys_sensors2.c:83: error: too many arguments to function
‘sensors_get_label’ sys_sensors2.c:119: warning: passing argument 1 of
‘sensors_get_detected_chips’ from incompatible pointer type
sys_sensors2.c:119: error: too few arguments to function
‘sensors_get_detected_chips’
make: *** [sys_sensors2.o] Error 1

Do you have any ideas as to what could be wrong?

Thank you.

Pete


Curious. All of my systems are 64 bit, I wonder if the 32 bit version
of lm_sensors has a different API then the 64 bit version. I'm using
CentOS5.2, Fedora 9 and Fedora 10 and it works fine on all of those. I
have a 32 bit CentOS 5.2 VM, I'll start it up and see if there is a
problem.


I have the same error on Mandriva 64 bit with lmsensors3


Try

make sys_basher2
and
make sys_basher3

and let me know if both versions do that. I just did a make on 32 bit
CentOS 5.2 and it worked fine. When I did a make sys_basher3 I got those
errors. I have a script that checks the name of the /etc/sensors#.conf
file to see if its sensors2 or sensors3.