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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users