How to compile Table generated from mib2c
Darshan Ghumare <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, How I can add given MIB in master agent? I have created subagent as follows, $ mib2c -c mib2c.mfd.conf my-table-MIB::Table $ make -f Table_Makefile $./Table ./Table: symbol lookup error: /usr/lib/libnetsnmpagent.so.15: undefined symbol: boot_DynaLoader Thank you. Regards Darshan -- Darshan® <http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html> ------------------------------------------------------------------------------ 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 [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
my-table-MIB.txt
(text/plain, 1.1 KB)
my-table-MIB DEFINITIONS :: BEGIN
IMPORTS
MODULE-IDENTITY,enterprises,Integer32 FROM SNMPv2-SMI
DisplayString FROM SNMPv2-TC;
first-TableMIB MODULE-IDENTITY
LAST-UPDATED "200006140000Z"
ORGANIZATION "Working Group"
CONTACT-INFO
" Keith McCloghrie
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
US
408-526-5260
[email protected]"
DESCRIPTION
"First Table MIB."
::= { enterprises 5 }
Table OBJECT IDENTIFIER ::= { first-TableMIB 1 }
tableIndex OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Index of myTable"
::= { myTable 1 }
tableString OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION "Some Data"
::= { myTable 2 }
myEntry ::= SEQUENCE {
tableIndex Integer32,
tableString DisplayString
}
myTable OBJECT-TYPE
SYNTAX SEQUENCE OF myEntry
MAX-ACCESS read-write
STATUS current
DESCRIPTION "First Table"
INDEX { tableIndex }
::= { Table 1 }
END
tmp.rar
(application/octet-stream, 282.3 KB) - not displayed