configure error

This is a discussion on configure error within the SNMP Coders forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============0215823041== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C8B07C.4898B5E0" This ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 6 Days Ago
Tewen Hsieh
 
Posts: n/a
Default configure error

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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 6.00.2900.3314" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hi,</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>I tried to compile a new module into snmp agent. But I=
=20
failed.</FONT></DIV>
<DIV><FONT size=3D2>I listed my steps as following:</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>1. I use mib2c to generate tempalate code. =3D=3D&gt; m=
ib2c -c=20
mib2c.mfd.conf vdslLineTable</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;Then I got following=20
files:</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;vdslLineTable-README-FIRST.txt<BR>&nbsp;&n=
bsp;&nbsp;=20
vdslLineTable-README-vdslLineTable.txt<BR>&nbsp;&nbsp;&nbsp;=20
vdslLineTable.c<BR>&nbsp;&nbsp;&nbsp; vdslLineTable.h<BR>&nbsp;&nbsp;&nbsp;=
=20
vdslLineTable_data_access.c<BR>&nbsp;&nbsp;&nbsp;= 20
vdslLineTable_data_access.h<BR>&nbsp;&nbsp;&nbsp;= 20
vdslLineTable_data_get.c<BR>&nbsp;&nbsp;&nbsp;=20
vdslLineTable_data_get.h<BR>&nbsp;&nbsp;&nbsp;=20
vdslLineTable_data_set.c<BR>&nbsp;&nbsp;&nbsp;=20
vdslLineTable_data_set.h<BR>&nbsp;&nbsp;&nbsp;=20
vdslLineTable_enums.h<BR>&nbsp;&nbsp;&nbsp;=20
vdslLineTable_interface.c<BR>&nbsp;&nbsp;&nbsp;=20
vdslLineTable_interface.h<BR>&nbsp;&nbsp;&nbsp;=20
vdslLineTable_oids.h</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>2. Then I <FONT size=3D2>copy all these files to=20
net-snmp-5.3.2/agent/mibgroup</FONT></FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>3. ./configure --with-mib-modules=3D"vdslLineTable"</FO=
NT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT=20
size=3D2>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;& gt;&gt;&gt;&gt;&gt;&gt;&g=
t;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &gt;&gt;&gt;&gt;&gt;&gt;&=
gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt ;&gt;&gt;&gt;&gt;&gt;&gt;=
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&g t;&gt;&gt;&gt;&gt;&gt;&gt=
;&gt;&gt;</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>But I got a configure error as following:</FONT></DIV>
<DIV><FONT size=3D2>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</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>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 </FONT><FONT size=3D2>in my steps? Or =
I=20
missed something important? Thanks.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Sincerely,</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>iTAS Tewen</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>=A5=C3=DCg=F8=CA&nbsp;&nbsp; iTAS Corporation<BR>=B7s=
=A6=CB=AC=EC=BE=C7=B6=E9=B0=CF=A4u=B7~=AAF=A4T=B8= F46=B8=B9<BR>NO. 6,=20
Industry E. Rd. III, Science Park, Hsin-Chu, Taiwan 300,=20
R.O.C.<BR>Tel:03-6662595=20
Ext.1208<BR>E-mail:tewen.hsieh@itas.com.tw</FONT></DIV></BODY><br />--=20
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href=3D"http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.
</HTML>

------=_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==--


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:33 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0