After more research and many more hours I've arrived at an impasse.
I tried to reinstall the deb but failed to figure out the appropriate syntax 
for the config file path to uncomment the "ucd-snmp/lmSensors" entry, I didn't 
know if it would accept the config but I wanted to try, I ended up locking up 
the distro and had to shut it down ugly. 

Using Synaptic to remove snmpd and/or snmp and,
using the 5.4.2.1.tar.gz and, compiling with 
--with-mib-modules="ucd-snmp/lmSensors 
I end up with this;

making all in /home/user/Install/net-snmp-5.4.2.1/agent/mibgroup
make[2]: Entering directory `/home/user/Install/net-snmp-5.4.2.1/agent/mibgroup'
/bin/sh ../../libtool  --mode=compile gcc -I../../include -I. -I../../agent 
-I../../agent/mibgroup -I../../snmplib   -g -O2 -Ulinux -Dlinux=linux  
-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  
-I/usr/lib/perl/5.10/CORE   -c -o ucd-snmp/lmSensors.lo ucd-snmp/lmSensors.c
 gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib 
-g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN 
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE -c ucd-snmp/lmSensors.c  -fPIC 
-DPIC -o ucd-snmp/.libs/lmSensors.o
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)
ucd-snmp/lmSensors.c:943: error: (Each undeclared identifier is reported only 
once
ucd-snmp/lmSensors.c:943: error: for each function it appears in.)
ucd-snmp/lmSensors.c:964: warning: passing argument 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: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 `/home/user/Install/net-snmp-5.4.2.1/agent/mibgroup'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/user/Install/net-snmp-5.4.2.1/agent'
make: *** [subdirs] Error 1

Anyone see where I'm going wrong?

Thanks


_________________________________________________________________
NEW mobile Hotmail. Optimized for YOUR phone.  Click here.
http://windowslive.com/Mobile?ocid=TXT_TAGLM_WL_CS_MB_new_hotmail_072009
------------------------------------------------------------------------------
_______________________________________________
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

Reply via email to