copied all mib files to /usr/local/share/snmp/mibs and got it
working!!!
Thanks alot!
PAN.
On Mon, Feb 22, 2010 at 4:25 AM, Thomas Anders
thomas.and...@blue-cable.dewrote:
anand prasad worte:
Now, I am trying to use snmptrap command:
sudo ./snmptrap -v 2c -Ci -c public 192.168.1.137
NET-SNMP
Hi All,
I am trying to statically link netsnmplib (i.e. .a lib) library to
snmptrap.c application with the bellow command
gcc snmptrap.c -g -static -I ../include -L../snmplib/.libs -lnetsnmp -o
snmptrap
Note: I have build the net-snmp with ./configure --with-ldflags=-Bstatic
snmptrap is built