Problem Running mib2c when cross compiling for Montavista Platform

This is a discussion on Problem Running mib2c when cross compiling for Montavista Platform within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============0972573146== Content-class: urn:content-classes:message Content-Type: multipart/alternative; ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-05-2006
Srivastava, Namburi
 
Posts: n/a
Default Problem Running mib2c when cross compiling for Montavista Platform

This is a multi-part message in MIME format.

--===============0972573146==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C6A01C.E8ADA3A0"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C6A01C.E8ADA3A0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,
When I run the subagent, the following messages get logged in the log
file
=20
IP-MIB: Module not found
IF-MIB: Module not found
TCP-MIB: Module not found
UDP-MIB: Module not found
HOST-RESOURCES-MIB: Module not found
SNMPv2-MIB: Module not found
RFC1213-MIB: Module not found
SNMPv2-SMI: Module not found
NOTIFICATION-LOG-MIB: Module not found
UCD-SNMP-MIB: Module not found
UCD-DEMO-MIB: Module not found
SNMP-TARGET-MIB: Module not found
NET-SNMP-AGENT-MIB: Module not found
SNMP-VIEW-BASED-ACM-MIB: Module not found
SNMP-COMMUNITY-MIB: Module not found
UCD-DLMOD-MIB: Module not found
SNMP-FRAMEWORK-MIB: Module not found
SNMP-MPD-MIB: Module not found
SNMP-USER-BASED-SM-MIB: Module not found
SNMP-NOTIFICATION-MIB: Module not found
SNMPv2-TM: Module not found
Turning on AgentX master support.
Creating directory: /var/agentx
NET-SNMP version 5.1.1
=20
But queries like snmpget/set doesn't work on the MIB node that i query
for (tried even directly querying with oid number)
=20
=20
Help awaited,
Sri.
=20

************************************************** **********************
************************************************** **********************
************************************************** **********************
*****

This e-mail, and any attachments thereto, are intended only for use by
the addressee(s) named herein and may contain privileged and/or
confidential information. If you are not the intended recipient of this
e-mail, you are hereby notified that any dissemination, distribution or
copying of this e-mail, and any attachments thereto, is illegal and
strictly prohibited. If you have received this e-mail in error, please
immediately notify me by telephone and permanently delete the original
and any copy of any e-mail and any printout thereof.

=20

________________________________

From: net-snmp-users-bounces@lists.sourceforge.net
[mailto:net-snmp-users-bounces@lists.sourceforge.net] On Behalf Of
Srivastava, Namburi (IE10)
Sent: Tuesday, July 04, 2006 5:51 PM
To: net-snmp-users@lists.sourceforge.net
Subject: Problem Running mib2c when cross compiling for Montavista
Platform



Hi,=20

I have cross compiled the Net-Snmp package for Montavista Linux using
arm-uclibc-gcc compiler.=20

When I am trying to create a sub-agent=20

I get the following line displayed (don't know whether this is a warning
or a error, it doesn't tell anything)=20
/usr/local/lib/libnetsnmp.so: the 'setlocale' function supports only
C|POSIX locales.=20

Of course, the subagent is created, but when I try to run it, it doesn't
work.=20

Can anybody help me on this?=20

Regards,=20
Sri.=20


************************************************** **********************
************************************************** **********************
************************************************** **********************
*****

This e-mail, and any attachments thereto, are intended only for use by
the addressee(s) named herein and may contain privileged and/or
confidential information. If you are not the intended recipient of this
e-mail, you are hereby notified that any dissemination, distribution or
copying of this e-mail, and any attachments thereto, is illegal and
strictly prohibited. If you have received this e-mail in error, please
immediately notify me by telephone and permanently delete the original
and any copy of any e-mail and any printout thereof.



------_=_NextPart_001_01C6A01C.E8ADA3A0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Problem Running mib2c when cross compiling for =
Montavista Platform</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1544" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3D"Comic Sans MS" color=3D#0000ff size=3D2><SPAN=20
class=3D336342010-05072006>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=3D"Comic Sans MS" color=3D#0000ff size=3D2><SPAN=20
class=3D336342010-05072006>When I run the subagent, the following =
messages get=20
logged in the log file</SPAN></FONT></DIV>
<DIV><FONT face=3D"Comic Sans MS" color=3D#0000ff size=3D2><SPAN=20
class=3D336342010-05072006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Comic Sans MS" color=3D#0000ff size=3D2><SPAN=20
class=3D336342010-05072006>IP-MIB: Module not found<BR>IF-MIB: Module =
not=20
found<BR>TCP-MIB: Module not found<BR>UDP-MIB: Module not=20
found<BR>HOST-RESOURCES-MIB: Module not found<BR>SNMPv2-MIB: Module not=20
found<BR>RFC1213-MIB: Module not found<BR>SNMPv2-SMI: Module not=20
found<BR>NOTIFICATION-LOG-MIB: Module not found<BR>UCD-SNMP-MIB: Module =
not=20
found<BR>UCD-DEMO-MIB: Module not found<BR>SNMP-TARGET-MIB: Module not=20
found<BR>NET-SNMP-AGENT-MIB: Module not =
found<BR>SNMP-VIEW-BASED-ACM-MIB: Module=20
not found<BR>SNMP-COMMUNITY-MIB: Module not found<BR>UCD-DLMOD-MIB: =
Module not=20
found<BR>SNMP-FRAMEWORK-MIB: Module not found<BR>SNMP-MPD-MIB: Module =
not=20
found<BR>SNMP-USER-BASED-SM-MIB: Module not =
found<BR>SNMP-NOTIFICATION-MIB:=20
Module not found<BR>SNMPv2-TM: Module not found<BR>Turning on AgentX =
master=20
support.<BR>Creating directory: /var/agentx<BR>NET-SNMP version=20
5.1.1</SPAN></FONT></DIV>
<DIV><FONT face=3D"Comic Sans MS" color=3D#0000ff size=3D2><SPAN=20
class=3D336342010-05072006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Comic Sans MS" color=3D#0000ff size=3D2><SPAN=20
class=3D336342010-05072006>But queries like snmpget/set doesn't work on =
the MIB=20
node that i query for (tried even directly querying with oid=20
number)</SPAN></FONT></DIV>
<DIV><FONT face=3D"Comic Sans MS" color=3D#0000ff size=3D2><SPAN=20
class=3D336342010-05072006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Comic Sans MS" color=3D#0000ff size=3D2><SPAN=20
class=3D336342010-05072006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Comic Sans MS" color=3D#0000ff size=3D2><SPAN=20
class=3D336342010-05072006>Help awaited,</SPAN></FONT></DIV>
<DIV><FONT face=3D"Comic Sans MS" color=3D#0000ff size=3D2><SPAN=20
class=3D336342010-05072006>Sri.</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV><!-- Converted from text/rtf format -->
<P><I><SPAN lang=3Den-us><FONT face=3DArial color=3D#0000ff=20
size=3D1>***************************************** ***********************=
************************************************** ***********************=
************************************************** ***********************=
***********</FONT></SPAN></I></P>
<P><I><SPAN lang=3Den-us><FONT face=3DArial color=3D#0000ff =
size=3D1>This e-mail, and=20
any attachments thereto, are intended only for use by the addressee(s) =
named=20
herein and may contain privileged and/or confidential information. If =
you are=20
not the intended recipient of this e-mail, you are hereby notified that =
any=20
dissemination, distribution or copying of this e-mail, and any =
attachments=20
thereto, is illegal and strictly prohibited. If you have received this =
e-mail in=20
error, please immediately notify me by telephone and permanently delete =
the=20
original and any copy of any e-mail and any printout=20
thereof.</FONT></SPAN></I></P>
<DIV>&nbsp;</DIV><BR>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
<HR tabIndex=3D-1>
<FONT face=3DTahoma size=3D2><B>From:</B>=20
net-snmp-users-bounces@lists.sourceforge.net=20
[mailto:net-snmp-users-bounces@lists.sourceforge.net] <B>On Behalf Of=20
</B>Srivastava, Namburi (IE10)<BR><B>Sent:</B> Tuesday, July 04, 2006 =
5:51=20
PM<BR><B>To:</B> net-snmp-users@lists.sourceforge.net<BR><B>Subject:</B> =
Problem=20
Running mib2c when cross compiling for Montavista =
Platform<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT face=3D"Trebuchet MS" size=3D2>Hi,</FONT> </P>
<P><FONT face=3D"Trebuchet MS" size=3D2>I have cross compiled the =
Net-Snmp package=20
for Montavista Linux using arm-uclibc-gcc compiler.</FONT> </P>
<P><FONT face=3D"Trebuchet MS" size=3D2>When I am trying to create a=20
sub-agent</FONT> </P>
<P><FONT face=3D"Trebuchet MS" size=3D2>I get the following line =
displayed (don't=20
know whether this is a warning or a error, it doesn't tell =
anything)</FONT>=20
<BR><FONT face=3D"Trebuchet MS" size=3D2>/usr/local/lib/libnetsnmp.so: =
the=20
'setlocale' function supports only C|POSIX locales.</FONT> </P>
<P><FONT face=3D"Trebuchet MS" size=3D2>Of course, the subagent is =
created, but when=20
I try to run it, it doesn't work.</FONT> </P>
<P><FONT face=3D"Trebuchet MS" size=3D2>Can anybody help me on =
this?</FONT> </P>
<P><FONT face=3D"Trebuchet MS" size=3D2>Regards,</FONT> <BR><FONT=20
face=3D"Trebuchet MS" size=3D2>Sri.</FONT> </P><BR>
<P><I><FONT face=3DArial color=3D#0000ff=20
size=3D1>***************************************** ***********************=
************************************************** ***********************=
************************************************** ***********************=
***********</FONT></I></P>
<P><I><FONT face=3DArial color=3D#0000ff size=3D1>This e-mail, and any =
attachments=20
thereto, are intended only for use by the addressee(s) named herein and =
may=20
contain privileged and/or confidential information. If you are not the =
intended=20
recipient of this e-mail, you are hereby notified that any =
dissemination,=20
distribution or copying of this e-mail, and any attachments thereto, is =
illegal=20
and strictly prohibited. If you have received this e-mail in error, =
please=20
immediately notify me by telephone and permanently delete the original =
and any=20
copy of any e-mail and any printout =
thereof.</FONT></I></P><BR></BODY></HTML>

------_=_NextPart_001_01C6A01C.E8ADA3A0--


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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
--===============0972573146==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users

--===============0972573146==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB 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 03:35 AM.


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