Problems with 5.2.2.1 mib2c with mib2c.mfd.conf
"Oolan Zimmer" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | Gcom, Inc. |
| Message-ID | <[email protected]> |
I'm trying to use net-snmp 5.2.2.1 to implement an agent for a MIB module I recently wrote. mib2c works fine with my module and either the iterate and array-dataset config files. However, I'm having problems getting the mfd config file to work with one of my tables. Here's the command I'm running: /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local/mib2c -I /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local -I /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local/mib2c-conf.d -c mib2c.mfd.conf gcomDs1ChannelConfigTable It produces a screenful of perl warnings and errors (see end of message). Does anyone know what's going on? Thanks, Oolan Zimmer Gcom, Inc. [email protected] --------------------------------------------------------------------- Do you want example code to be generated? 1) generate example code [DEFAULT] 2) do not generate example code Select your choice : 1 writing to default-table-gcomDs1ChannelConfigTable.m2d Warning: something's wrong at /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local/mib2c line 780, <GEN12> line 9. /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local/mib2c-conf.d/m2c_ setup_node.m2i:9 [@ eval $m2c_node_needlength = $node.needlength@ ] Warning: something's wrong at /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local/mib2c line 780, <GEN12> line 60. /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local/mib2c-conf.d/m2c_ setup_node.m2i:60 [@ eval $m2c_decl = $node.decl@ ] writing to default-node-gcomDs1ChannelRowStatus.m2d writing to default-node-gcomDs1ChannelAdminStatus.m2d writing to default-node-gcomDs1ChannelOperStatus.m2d writing to default-node-gcomDs1TimeslotBits.m2d writing to default-node-gcomDs1TimeslotMap.m2d writing to default-node-gcomDs1ChannelIdentifier.m2d writing to default-node-gcomDs1ChannelMode.m2d writing to default-node-gcomDs1ChannelBadFrames.m2d writing to default-node-gcomDs1ChannelFullE1.m2d Warning: something's wrong at /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local/mib2c line 780, <GEN31> line 9. /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local/mib2c-conf.d/m2c_ setup_node.m2i:9 [@ eval $m2c_node_needlength = $node.needlength@ ] Warning: something's wrong at /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local/mib2c line 780, <GEN31> line 60. /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local/mib2c-conf.d/m2c_ setup_node.m2i:60 [@ eval $m2c_decl = $node.decl@ ] writing to default-node-gcomDs1LineIndex.m2d writing to default-node-gcomDs1ChannelIndex.m2d writing to gcomDs1ChannelConfigTable.c writing to gcomDs1ChannelConfigTable_data_get.h Warning: something's wrong at /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local/mib2c line 780, <GEN47> line 9. /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local/mib2c-conf.d/m2c_ setup_node.m2i:9 [@ eval $m2c_node_needlength = $node.needlength@ ] Warning: something's wrong at /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local/mib2c line 780, <GEN47> line 60. /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local/mib2c-conf.d/m2c_ setup_node.m2i:60 [@ eval $m2c_decl = $node.decl@ ] mp/local/mib2c line 780, <GEN98> line 9. /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local/mib2c-conf.d/m2c_ setup_node.m2i:9 [@ eval $m2c_node_needlength = $node.needlength@ ] Warning: something's wrong at /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local/mib2c line 780, <GEN98> line 60. /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local/mib2c-conf.d/m2c_ setup_node.m2i:60 [@ eval $m2c_decl = $node.decl@ ] Warning: something's wrong at /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local/mib2c line 780, <GEN102> line 9. /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local/mib2c-conf.d/m2c_ setup_node.m2i:9 [@ eval $m2c_node_needlength = $node.needlength@ ] Warning: something's wrong at /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local/mib2c line 780, <GEN102> line 60. /data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local/mib2c-conf.d/m2c_ setup_node.m2i:60 [@ eval $m2c_decl = $node.decl@ ] | | +-> Processing nonindex gcomDs1ChannelRowStatus ERROR: unknown node.decl: exiting at conf file (/data/gcom/gcom/porting/common/snmp/netsnmp/net-snmp/local/mib2c-conf.d/nod e-get.m2i:85) request ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ 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