Hi  Dave Shield,

Thanks for your reply. Previously I didn't install ''lm_sensors-devel' rpm

Now I download  and installed it. The version details is given below.

*r...@rnd net-snmp-5.4.1.2]#   rpm -qa | grep lm_sensors
lm_sensors-2.8.7-2
lm_sensors-devel-2.8.7-2.40.3*


After installing these rpms , the './configure'  step worked without any
error. But while making I am getting the following error :

*ucd-snmp/lmSensors.c: In function `_sensor_load':
ucd-snmp/lmSensors.c:943: error: syntax error before '*' token
ucd-snmp/lmSensors.c:964: warning: passing arg 1 of
`sensors_get_detected_chips' from incompatible pointer type
ucd-snmp/lmSensors.c:964: error: too few arguments to function
`sensors_get_detected_chips'
ucd-snmp/lmSensors.c:968: error: `data' undeclared (first use in this
function)
ucd-snmp/lmSensors.c:968: error: (Each undeclared identifier is reported
only once
ucd-snmp/lmSensors.c:968: error: for each function it appears in.)
ucd-snmp/lmSensors.c:973: error: `SENSORS_NO_MAPPING' undeclared (first use
in this function)
ucd-snmp/lmSensors.c:974: error: incompatible type for argument 1 of
`sensors_get_label'
ucd-snmp/lmSensors.c:974: error: too many arguments to function
`sensors_get_label'
make[2]: *** [ucd-snmp/lmSensors.lo] Error 1
make[2]: Leaving directory `/tmp/net-snmp-5.4.1.2/agent/mibgroup'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/tmp/net-snmp-5.4.1.2/agent'
make: *** [subdirs] Error 1
*

Please tell  me what is the problem. Thanks in advance.

On Thu, Jun 4, 2009 at 8:15 AM, Dave Shield <[email protected]>wrote:

> 2009/6/4 hareesh <[email protected]>:
> > But I am getting the following error:
> >
> > checking for sensors support... checking sensors/sensors.h usability...
> no
> > checking sensors/sensors.h presence... no
> > checking for sensors/sensors.h... no
> > configure: error: asked to use lm_sensors but I couldn't find
> > sensors/sensors.h
> >
> > Please help me to solve this issue.
>
>
> Have you installed the 'lm_sensors-devel'  RPM?
>
> Dave
>



-- 
Regards,
Hareesh V
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to