Does Net-snmp 5.7.1 work on RHEL7 x86_64 ?

"M. A. Arefin" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAOsNLrOVroUNXKipMO2jZ8Rkq0g6Eo8Vz_uC6tr3qSDqRvNnOA@mail.gmail.com>
Hello all,

I am trying to build net-snmp 5.7.1 (with some custom code) on RHEL7
x86_64. I am getting bunch of lmsensor related errors like below.

hardware/sensors/lmsensors_v2.c: In function 'netsnmp_sensor_arch_load':
hardware/sensors/lmsensors_v2.c:19:5: error: unknown type name
'sensors_feature_data'
     const sensors_feature_data *data;
     ^
hardware/sensors/lmsensors_v2.c:23:5: warning: passing argument 1 of
'sensors_get_detected_chips' from incompatible pointer type [enabled by
default]
     while ((chip = sensors_get_detected_chips(&chip_nr))) {
     ^
In file included from hardware/sensors/lmsensors_v2.c:7:0:
/usr/include/sensors/sensors.h:128:26: note: expected 'const struct
sensors_chip_name *' but argument is of type 'int *'
 const sensors_chip_name *sensors_get_detected_chips(const sensors_chip_name
                          ^
hardware/sensors/lmsensors_v2.c:23:5: error: too few arguments to function
'sensors_get_detected_chips'
     while ((chip = sensors_get_detected_chips(&chip_nr))) {



-- 
Thank you!

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.