Compile error: libnetsnmpmibs.so: undefined reference

"Paul Orvin" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

 

Trying to compile net-snmp 5.4.2 with lm-sensors support I get this
error during 'make':

 

./.libs/libnetsnmpmibs.so: undefined reference to
`sensors_get_detected_chips'

./.libs/libnetsnmpmibs.so: undefined reference to `sensors_init'

./.libs/libnetsnmpmibs.so: undefined reference to
`sensors_get_all_subfeatures'

./.libs/libnetsnmpmibs.so: undefined reference to `sensors_get_label'

./.libs/libnetsnmpmibs.so: undefined reference to `sensors_get_features'

./.libs/libnetsnmpmibs.so: undefined reference to `sensors_get_value'

collect2: ld returned 1 exit status

make[1]: *** [snmpd] Error 1

make[1]: Leaving directory `/root/net-snmp-5.4.2/agent'

make: *** [subdirs] Error 1

 

Configure was created with:

 

# ./configure --with-mib-modules="ucd-snmp/lmsensorsMib"

 

System is CentOS 5.2 x86-64 running Xen kernel on AMD dual-core system
with lm-sensors running properly (if that helps). Please advise.

 

Regards,

 

Paul Orvin

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
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.