freeipmi-devel
[Top][All Lists]
Advanced

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

Re: [Freeipmi-devel] hello-sensors doen't compile?


From: Ian Zimmerman
Subject: Re: [Freeipmi-devel] hello-sensors doen't compile?
Date: 18 May 2004 09:56:22 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Marty> I tried compiling hello-sensors.c (using the latest libfreeipmi)
Marty> from the doc/examples directory- many compile errors.  Are there
Marty> plans to update it ?

FYI, here's what I get:

address@hidden:~/src/thunder/freeipmi/doc/examples$ make -f Makefile.example 
hello-sensors
gcc -Wall -g -D_GNU_SOURCE -lfreeipmi hello-sensors.c -o hello-sensors
hello-sensors.c: In function 
`display_verbose_current_threshold_sensor_full_record':
hello-sensors.c:272: error: too many arguments to function 
`ipmi_kcs_get_threshold_reading'
hello-sensors.c: In function 
`display_verbose_current_digital_discrete_sensor_full_record':
hello-sensors.c:619: error: too many arguments to function 
`ipmi_kcs_get_discrete_reading'
hello-sensors.c: In function 
`display_verbose_current_digital_discrete_sensor_compact_record':
hello-sensors.c:751: error: too many arguments to function 
`ipmi_kcs_get_discrete_reading'
hello-sensors.c: In function 
`display_verbose_current_discrete_sensor_full_record':
hello-sensors.c:1039: error: too many arguments to function 
`ipmi_kcs_get_discrete_reading'
hello-sensors.c: In function 
`display_verbose_current_discrete_sensor_compact_record':
hello-sensors.c:1168: error: too many arguments to function 
`ipmi_kcs_get_discrete_reading'
hello-sensors.c: In function `display_very_verbose_current_sensor':
hello-sensors.c:1402: error: `IPMI_SENSOR_CLASS_DIGITAL_DISCRETE' undeclared 
(first use in this function)
hello-sensors.c:1402: error: (Each undeclared identifier is reported only once
hello-sensors.c:1402: error: for each function it appears in.)
hello-sensors.c:1406: error: `IPMI_SENSOR_CLASS_DISCRETE' undeclared (first use 
in this function)
hello-sensors.c: In function `main':
hello-sensors.c:1491: error: structure has no member named `filename'
hello-sensors.c:1494: error: too few arguments to function 
`ipmi_sdr_repo_cache_load'
make: *** [hello-sensors] Error 1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]