Hi,
I tried to compile a new module into snmp agent. But I failed.
I listed my steps as following:
1. I use mib2c to generate tempalate code. ==> mib2c -c mib2c.mfd.conf
vdslLineTable
Then I got following files:
vdslLineTable-README-FIRST.txt
vdslLineTable-README-vdslLineTable.txt
vdslLineTable.c
vdslLineTable.h
vdslLineTable_data_access.c
vdslLineTable_data_access.h
vdslLineTable_data_get.c
vdslLineTable_data_get.h
vdslLineTable_data_set.c
vdslLineTable_data_set.h
vdslLineTable_enums.h
vdslLineTable_interface.c
vdslLineTable_interface.h
vdslLineTable_oids.h
2. Then I copy all these files to net-snmp-5.3.2/agent/mibgroup
3. ./configure --with-mib-modules="vdslLineTable"
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
But I got a configure error as following:
configure: error: mib module "vdslLineTable" requires module
"VDSL-LINE-MIB/vdslLineTable/vdslLineTable_interface" but
VDSL-LINE-MIB/vdslLineTable/vdslLineTable_interface.h or
VDSL-LINE-MIB/vdslLineTable/vdslLineTable_interface.c could not be found in
./agent/mibgroup
I am sure vdslLineTable_interface.c and vdslLineTable_interface.h are in
net-snmp-5.3.2/agent/mibgroup. Why did this error occur? Is there anything
wrong in my steps? Or I missed something important? Thanks.
Sincerely,
iTAS Tewen
永鈦鑫 iTAS Corporation
新竹科學園區工業東三路6號
NO. 6, Industry E. Rd. III, Science Park, Hsin-Chu, Taiwan 300, R.O.C.
Tel:03-6662595 Ext.1208
E-mail:[EMAIL PROTECTED]
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders