query in mib2c

2014-11-25 Thread Janki Chhatbar
Hi I am working on net-snmp since past few days. I want lldpLocChassisId from Q-BRIDGE-MIB. I have added the mib and able to translate the OIDs. Now I want to do get. I did mib2c -c mib2c.scalar.conf lldpdLocalSystemData. Janki Chhatbar M.Tech (Embedded Systems) Nirma University (+91

Fwd: query in mib2c

2014-11-25 Thread Janki Chhatbar
lldpLocSsytemData.c -c lldpLocSystemData.o, it gives undefined reference to functions snmp_get_do_debugging, debugmsgtoken, debugmsg, netsnmp_create_handle_registration, netsnmp_register_scalar, snmp_set_var_typed_value, snmp_log. Can anyone please help me? I am attaching .c and .h files Janki