Hi All,
             I am going through the IP-MIB, net-snmp-5.4.2.1
As per my requirement I need to populate  the  "Ipv4InterfaceTable" and "Ipv6InterfaceTable".
But the function  referring two table are protected under the macro    "USING_IP_MIB_IPV4INTERFACETABLE_IPV4INTERFACETABLE_MODULE" [ipv4InterfaceTable_check_entry_for_updates] "USING_IP_MIB_IPV6INTERFACETABLE_IPV6INTERFACETABLE_MODULE" [ipv6InterfaceTable_check_entry_for_updates]

Above macro are not defined. Once I defined it it crashing.
Somebody could help me regarding the above.

Backtrace is :

warning: Missing the matching library file: /usr/lib/debug/.build-id/ac/2eeb206486bb7315d6ac4cd64de0cb50838ff6

warning: Missing the matching library file: /usr/lib/debug/.build-id/07/b722c2a7fed5b96cf4b40ce0f2a06eb0f8d2fc
Core was generated by `./prov_process '.
Program terminated with signal 11, Segmentation fault.
#0  0x08297125 in ipv4InterfaceTable_check_entry_for_updates (ift_rrc=0x84faa10, entry=0x84fa7a0)
    at ip-mib/ipv4InterfaceTable/ipv4InterfaceTable_data_access.c:138
138             ip4if_rrc = CONTAINER_FIND(c, ift_rrc);
(gdb) bt
#0  0x08297125 in ipv4InterfaceTable_check_entry_for_updates (ift_rrc=0x84faa10, entry=0x84fa7a0)
    at ip-mib/ipv4InterfaceTable/ipv4InterfaceTable_data_access.c:138

#1  0x08224652 in _add_new_interface (ifentry=0x84fa7a0, container=0x84fa0f8) at if-mib/ifTable/ifTable_data_access.c:307
#2  0x082e33ac in netsnmp_binary_array_for_each (c=0x84fa520, fe=0x82245d2 <_add_new_interface>, context=0x84fa0f8, sort=1)
    at container_binary_array.c:326
#3  0x082e3358 in _ba_for_each (container=0x84fa520, f=0x82245d2 <_add_new_interface>, context=0x84fa0f8)
    at container_binary_array.c:524
#4  0x08224858 in ifTable_container_load (container=0x84fa0f8) at if-mib/ifTable/ifTable_data_access.c:421
#5  0x0822388f in _cache_load (cache=0x84fa098, vmagic=0x84fa0f8) at if-mib/ifTable/ifTable_interface.c:1847
#6  0x0829e7b1 in _cache_load (cache=0x84fa098) at cache_handler.c:548
#7  0x0829e212 in netsnmp_cache_handler_get (cache=0x84fa098) at cache_handler.c:274
#8  0x0822230e in _ifTable_initialize_interface (reg_ptr=0x84fa070, flags=0) at if-mib/ifTable/ifTable_interface.c:361
#9  0x08223bbd in initialize_table_ifTable () at if-mib/ifTable/ifTable.c:155
#10 0x08223b60 in init_ifTable () at if-mib/ifTable/ifTable.c:99
#11 0x081ee0ee in init_mib_modules () at ./mib_module_inits.h:74
#12 0x081e6a64 in snmpd (args=0x84a76f0) at snmpd.c:1034
#13 0x0079950b in start_thread () from /lib/libpthread.so.0
#14 0x006dab2e in clone () from /lib/libc.so.6
(gdb)



Rgds,
Sanjay
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to