2009/7/26 k lan <latac...@hotmail.com>: > using the 5.4.2.1.tar.gz and, compiling with > --with-mib-modules="ucd-snmp/lmSensors > I end up with this; >
> ucd-snmp/lmSensors.c: In function ‘_sensor_load’: > ucd-snmp/lmSensors.c:943: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘*’ token > ucd-snmp/lmSensors.c:943: error: ‘data’ undeclared (first use in this > function) [snip] Which version of the sensors library are you using? v2 or v3? The 'ucd-snmp/lmSensors' module is written for the v2 library. v3 has seen significant (incompatible) changes, and won't work with this code. You *might* have better luck configuring to use 'ucd-snmp/lmsensorsMib', although you will also need to tweak the file 'hardware/sensors.h' first to reference 'lmsensors_v3' instead of 'lmsensors_v2'. Also note that this particular code is untested as yet, as it's only in the last month or so that I've finally got a system with the v3 library installed. Let us know how you get on. Dave ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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