I'm seeing the following when building:

libtool: compile:  
/home/philipp/kernel/build_i586/staging_dir/bin/i586-linux-uclibc-gcc 
-I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib 
-I/home/philipp/kernel/build_i586/staging_dir/usr/include -DNETSNMP_ENABLE_IPV6 
-Os -pipe -fomit-frame-pointer -march=k6-2 -fno-align-functions 
-fno-align-loops -fno-align-jumps -fno-align-labels -isysroot 
/home/philipp/kernel/build_i586/staging_dir -isystem 
/home/philipp/kernel/build_i586/staging_dir/usr/include -D_GNU_SOURCE -Ulinux 
-Dlinux=linux -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[3]: *** [ucd-snmp/lmSensors.lo] Error 1
make[3]: Leaving directory 
`/home/philipp/kernel/build_i586/net-snmp-5.5/agent/mibgroup'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/philipp/kernel/build_i586/net-snmp-5.5/agent'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/philipp/kernel/build_i586/net-snmp-5.5'
make: *** [/home/philipp/kernel/build_i586/net-snmp-5.5/agent/snmpd] Error 2



and indeed, a grep through sensors.h reveals that there is no type named 
sensors_feature_data.  Is there a patch for this?

Thanks,

-Philip



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to