Re: Automatically send traps by proc/exec/ without snmpget/walk/polling?

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
[email protected] wrote:
> I've tried to compile 5.3, but I get this Error:
> 
> gcc -DINET6 -Wall -fno-strict-aliasing -Dlinux -o .libs/snmpd
> snmpd.lo  ./.libs/libnetsnmpmibs.so ./.libs/libnetsnmpagent.so
> helpers/.libs/libnetsnmphelpers.so ../snmplib/.libs/libnetsnmp.so
> -ldl -lz -lcrypto -lm -Wl,--rpath -Wl,/opt/net-snmp-5.3/lib
> 
> ./.libs/libnetsnmpmibs.so: undefined reference to `var_ifEntry'
> 
> collect2: ld returned 1 exit status
> 
> My ./configure:
> 
> ./configure --prefix=/opt/net-snmp-5.3 \
> 	--with-perl-modules \
> 	--with-mib-modules="mibII mibII/mta_sendmail host
> ucd-snmp/pass_persist misc/ipfwacc smux ucd-snmp/diskio tunnel
> disman/event disman/event-mib" \
> 	--with-defaults \
> 	--enable-shared \
> 	--disable-static \
> 	--without-root-access \
> 	--enable-ipv6 \
> 	--enable-ucd-snmp-compatibility \
> 	--with-persistent-directory=/opt/lib/net-snmp \
> 	--with-cflags="-Wall -fno-strict-aliasing"

Try

./configure ... --with-mib-modules="mibII/mta_sendmail misc/ipfwacc smux 
ucd-snmp/diskio"

The "tunnel" mib module doesn't work with the new if-mib implementation 
in 5.3.


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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.