This is a multi-part message in MIME format.

--===============0215823041==
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0007_01C8B07C.4898B5E0"

This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C8B07C.4898B5E0
Content-Type: text/plain;
charset="big5"
Content-Transfer-Encoding: quoted-printable

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. =3D=3D> 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=3D"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/vds=
lLineTable_interface.h or VDSL-LINE-MIB/vdslLineTable/vdslLineTable_interfa=
ce.c could not be found in ./agent/mibgroup



I am sure vdslLineTable_interface.c and vdslLineTable_interface.h are in ne=
t-snmp-5.3.2/agent/mibgroup. Why did this error occur? Is there anything wr=
ong in my steps? Or I missed something important? Thanks.


Sincerely,



iTAS Tewen




=A5=C3=DCg=F8=CA iTAS Corporation
=B7s=A6=CB=AC=EC=BE=C7=B6=E9=B0=CF=A4u=B7~=AAF=A4T =B8=F46=B8=B9
NO. 6, Industry E. Rd. III, Science Park, Hsin-Chu, Taiwan 300, R.O.C.
Tel:03-6662595 Ext.1208
E-mail:tewen.hsieh@itas.com.tw
--=20
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


------=_NextPart_000_0007_01C8B07C.4898B5E0
Content-Type: text/html;
charset="big5"
Content-Transfer-Encoding: quoted-printable








Hi,

 

I tried to compile a new module into snmp agent. But I=
=20
failed.

I listed my steps as following:

 

1. I use mib2c to generate tempalate code. =3D=3D> m=
ib2c -c=20
mib2c.mfd.conf vdslLineTable

    Then I got following=20
files:

 

size=3D2>    vdslLineTable-README-FIRST.txt
 &n=
bsp; =20
vdslLineTable-README-vdslLineTable.txt
   =20
vdslLineTable.c
    vdslLineTable.h
   =
=20
vdslLineTable_data_access.c
   =20
vdslLineTable_data_access.h
   =20
vdslLineTable_data_get.c
   =20
vdslLineTable_data_get.h
   =20
vdslLineTable_data_set.c
   =20
vdslLineTable_data_set.h
   =20
vdslLineTable_enums.h
   =20
vdslLineTable_interface.c
   =20
vdslLineTable_interface.h
   =20
vdslLineTable_oids.h

 

2. Then I copy all these files to=20
net-snmp-5.3.2/agent/mibgroup

 

3. ./configure --with-mib-modules=3D"vdslLineTable" NT>

 

size=3D2>>>>>>>>>>>>>>>>>&g=
t;>>>>>>>>>>>>>>>>>>&=
gt;>>>>>>>>>>>>>>>>>>=
>>>>>>>>>>>>>>>>>>&gt=
;>>

 

But I got a configure error as following:

configure: error: mib module "vdslLineTable" requires m=
odule=20
"VDSL-LINE-MIB/vdslLineTable/vdslLineTable_interface" but=20
VDSL-LINE-MIB/vdslLineTable/vdslLineTable_interface.h or=20
VDSL-LINE-MIB/vdslLineTable/vdslLineTable_interface.c could not be found in=
=20
../agent/mibgroup

 

 

 

I am sure vdslLineTable_interface.c and=20
vdslLineTable_interface.h are in net-snmp-5.3.2/agent/mibgroup. Why did thi=
s=20
error occur? Is there anything wrong
in my steps? Or =
I=20
missed something important? Thanks.

 

 

Sincerely,

 

 

 

iTAS Tewen

 

 

 

 

=A5=C3=DCg=F8=CA   iTAS Corporation
=B7s=
=A6=CB=AC=EC=BE=C7=B6=E9=B0=CF=A4u=B7~=AAF=A4T=B8= F46=B8=B9
NO. 6,=20
Industry E. Rd. III, Science Park, Hsin-Chu, Taiwan 300,=20
R.O.C.
Tel:03-6662595=20
Ext.1208
E-mail:tewen.hsieh@itas.com.tw

--=20

This message has been scanned for viruses and

dangerous content by
MailScanner, and is

believed to be clean.


------=_NextPart_000_0007_01C8B07C.4898B5E0--



--===============0215823041==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
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;198757...un.com/javaone
--===============0215823041==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders

--===============0215823041==--