SNMP 802.11 MIB

2010-12-10 Thread Queenie de Melo
Hi all,

Where can i find a 802.11 MIB?

I need to understand what a 802.11MIB looks like or has.

Any suggestion is welcome.

Please help!
--
___
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/listinfo/net-snmp-users


Re: Study net-snmp source code

2010-11-07 Thread Queenie de Melo
i too would like to understand the flow and study the source code of
net-snmp. i have downloaded the lastest code.

>From here, now when should i start?

any advice is welcome.

On Fri, Nov 5, 2010 at 4:47 AM, Dave Shield wrote:

> On 4 November 2010 18:28, Leo Lin  wrote:
> > I would like to study net-snmp source code, where can I get started?
>
> http://www.net-snmp.org/download.html
>
> That includes links to the source code of the various
> current releases.
>
> Dave
>
>
> --
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> ___
> 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/listinfo/net-snmp-users
>
--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev___
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/listinfo/net-snmp-users


Re: Query: SNMP Prococol

2010-10-20 Thread Queenie de Melo
Thanks Dave, for a wonderful explanation

Another question struck my mind...
We know that, the SNMP agent(Server) listens on port 161 for SNMP GET/SET
requests from the SNMP Manager (Client). The SNMP Agent then sends back a
response (GET-RESPONSE) to the SNMP Manager.  This will be received by the
SNMP Manager on which Port? is it on Port 161 only?
And during the GET-RESPONSE sent from SNMP Agent to SNMP Manager--- Who is
the Server and who is the Client??Does it get reversed or remains the
same(SNMP agent as Server and SNMP Manager as Client)


On Mon, Oct 18, 2010 at 5:52 PM, Dave Shield wrote:

> On 18 October 2010 12:57, Queenie de Melo  wrote:
> > So the SNMP agent(Server) listens on port 161 for SNMP GET/SET requests
> > from the SNMP Manager (Client)
>
> Correct.
>
> (Strictly speaking, the agent can listen on any available port,
>  but port 161 is the standard port for SNMP information retrieval)
>
>
>
> > What about in Case of traps?
> >
> > The SNMP Manager in this case listens on UDP port 162 for the Traps sent
> by
> > the SNMP Agent. So in this case, is it that the SNMP Manager is  the
> > Server and SNMP Agent is the client??
>
> That's right.
>
> The SNMP agent (or some other application that generates traps) is the
> client
> and the application that receives the trap is the server.
>   The official terminology is "notification generator" and
> "notification receiver".
>
> The notification receiver may be the same SNMP manager application as the
> one generating information retrieval requests.   Or it may be a dedicated
> trap-receiving application (such as the Net-SNMP 'snmptrapd').
>   But the most important thing here is that the client-server relationship
> is
> reversed for traps, when compared to GET/SET requests.
>
>
>
> > Another query i had is: what exactly are SNMP INFORMS?
>
> A trap is sent from the agent to the trap receiver, but there's no
> acknowledgement sent back.   So the agent doesn't know whether
> the trap got there safely (let alone whether it was acted upon).
>
> An INFORM is essentially the same as a trap, except that it *does*
> trigger an acknowledgement.   So the agent (or other notification
> generator application) knows that the inform was received.
>   (Whether the receiver actually did anything with it is a different
> question!)
>
> Think of this as the same as "read receipt messages" in the context of
> email.
>
>
>
>
> >> SNMP inform is nothing it's an acknowledgment mechanisim in SNMP. which
> is
> >> getting supported from snmpv2c and snmpv3 onwards
> >
> > Is it sent from the Manager to the Agent in response to a TRAP?
>
> No
>
> >
>  or is it
> > sent from Agent to Manager just like a trap (but u want manager to ack
> the
> > receiptof trap)
>
> Yes.
>
>
>
> >or is it sent from NMS(SNMP Manager) to another SNMP Manager
> > 
>
> "SNMP Manager" is something of a vague term.
> Any SNMP application can act in various different roles - hence the
> current specifications talk in terms of "notification receiver" or
> "notification generator"  (and similarly for GET/SET requests)
>
> It's perfectly possible for one SNMP manager application to signal
> to another, using traps or informs.   But the most typical use of traps
> or informs would be from an agent to an NMS.
>
> Dave
>
--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev___
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/listinfo/net-snmp-users


Net-snmp and 802.11

2010-10-19 Thread Queenie de Melo
Dear All,

Where can i find the Net-SNMP mib modules in C for 802.11 interface??

Please help.

Thanks!
--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev___
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/listinfo/net-snmp-users


Query: SNMP Prococol

2010-10-18 Thread Queenie de Melo
HI,

Iam not sure if iam in the right forum but felt like this forum can answer
my questions.

Read that SNMP,

> SNMP defines a client/server relationship. The client program (called the
> network/SNMP manager) makes virtual connections to a server program (called
> the SNMP agent) which resides on a remote network device, and serves
> information to the network manager regarding the device‘s status. The SNMP
> agent receives requests on UDP port 161.

So the SNMP agent(Server) listens on port 161 for SNMP GET/SET requests from
the SNMP Manager (Client)

What about in Case of traps?

The SNMP Manager in this case listens on UDP port 162 for the Traps sent by
the SNMP Agent. So in this case, is it that the SNMP Manager is not the
Server and SNMP Agent is the client??

Another query i had is: what exactly are SNMP INFORMS?

Read that ,

> SNMP inform is nothing it's an acknowledgment mechanisim in SNMP. which is
> getting supported from snmpv2c and snmpv3 onwards

Is it sent from the Manager to the Agent in response to a TRAP? or is it
sent from Agent to Manager just like a trap (but u want manager to ack the
receiptof trap) or is it sent from NMS(SNMP Manager) to another SNMP Manager


Iam confused with the explanation given in the below link.

http://docstore.mik.ua/orelly/networking_2ndEd/snmp/ch02_06.htm :
2.6.8. SNMP inform


Please help!!

Thanks!!
--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev___
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/listinfo/net-snmp-users


snmptrapd --- Receives trap

2010-06-07 Thread Queenie de Melo
Hello,

I would like to know when the snmptrapd daemons receives a trap.

where would that be ?? Which function would that be in?

Can anyone help me out!!

Thanks
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo___
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/listinfo/net-snmp-users


snmptrapd -F options

2010-05-10 Thread Queenie de Melo
Hello,

I was tring to get the traps in the a particualar format like
TIME, AgentIP, TRAP-STRING
I use the -F option and in quotes "" i specify the option as shown in the
man pages
 for Time - the %h:%j:%k option
 for AgentIP --- the %B option
 for TRAP-STRING what option should i use. If i use %v, i get the full
line ie as below

 iso.3.6.1.4.1..1.2.3.1.0 = STRING: "Hello World"
iso.3.6.1.4.1..1.2.1.4.0 = INTEGER: 5

I want only the STRING: "Hello World" to be displayed. What option can I
use.

Please help
--

___
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/listinfo/net-snmp-users


Re: loading vendor specific .mib

2010-03-04 Thread Queenie de Melo
OK Dave :)

I get what you mean :)

When i  run snmptrapd i run it with -Lf option to log the traps received
into a file specified after the -Lf command.

Now the traps received, does not show the string of what trap it is. Only a
timestamp appears. I thought it maybe bec i havent loaded the MIB of the
agent. So i went ahead and loaded the MIB (mail trail below), but i still
get only the timestamp.

Was wondering why i dont get the trap specificinfo in words.



On Thu, Mar 4, 2010 at 5:27 PM, Dave Shield wrote:

> On 4 March 2010 11:49, Queenie de Melo  wrote:
> > Had another doubt... I get only nos..
>
> Yes - because that is what you asked for.
> What did you expect the option '-On' to do?
>
> Dave
>
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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/listinfo/net-snmp-users


Re: loading vendor specific .mib

2010-03-04 Thread Queenie de Melo
Yes Dave.. That worked. Thanks!!

Had another doubt... I get only nos..
Is there an option where i can get the trap message in words like its
listed  in windows say.. in MGSOFT.



On Wed, Mar 3, 2010 at 3:21 PM, Dave Shield wrote:

> On 3 March 2010 09:46, Queenie de Melo  wrote:
> > Instead of using the Filename i tried using the MiB module name. but i
> get
> > the same error.
> >
> > I have attached a screenshot that will give u a better idea. Where could
> i
> > be going wrong?
>
> The 'snmptranslate' command works with the names of MIB objects.
> Not enumerated values for those objects.
>
> Try
>  snmptranslate -m +TC200GTSSystem -IR -On gdslAlarmtype
>
> Dave
>
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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/listinfo/net-snmp-users


Re: snmptrapd only

2010-03-03 Thread Queenie de Melo
Thanks Dave for your reply.

Well... i tried removing the "disableAuthorization yes" entry from the
snmptrapd.conf well.. i do not get any traps... i get the below message
(just pasting the last messages)


> Cannot find module (SNMPv2-MIB): At line 0 in (none)
> Cannot find module (SNMPv2-SMI): At line 0 in (none)
> Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
> Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
> Warning: no access control information configured.
>   It's unlikely this agent can serve any useful purpose in this state.
>   Run "snmpconf -g basic_setup" to help you configure the snmptrapd.conf
> file fo
> r this agent.
> *Warning: no access control information configured.*
> *This receiver will *NOT* accept any incoming notifications.*
> NET-SNMP version 5.3.0.1
>

Btw, when  "disableAuthorization yes" was present in the snmptrapd.conf, i
use dto get as below


> Cannot find module (SNMPv2-SMI): At line 0 in (none)
> Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
> Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
> *snmptrapd.conf: line 13: Warning: Unknown token: disableAuthorization*.
> Warning: no access control information configured.
>   It's unlikely this agent can serve any useful purpose in this state.
>   Run "snmpconf -g basic_setup" to help you configure the snmptrapd.conf
> file fo
> r this agent.
> *Warning: no access control information configured.
> This receiver will *NOT* accept any incoming notifications.*
> NET-SNMP version 5.3.0.1


Any suggestions? Please help!!

Are there any modules(configure options) that have no dependencies on
snmptrapd functionality?

Regards,


>
>
>
On Tue, Mar 2, 2010 at 3:32 PM, Dave Shield wrote:

> On 2 March 2010 09:27, Queenie de Melo  wrote:
> > I tried configuring using --disable-agent but when i run it, it says that
> > the disableAuthorization is an unknown token in the snmptrapd.conf.
>
> Try removing this entry from the config file.
> If the trap receiver doesn't have the code to parse this config token,
> it's likely that it doesn't have the code to check access anyway.
>
> See what happens if you run the stripped-down trap receiver
> without this token.  Can you receive traps or not?
>
> Dave
>
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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/listinfo/net-snmp-users


snmptrapd only

2010-03-02 Thread Queenie de Melo
Hi All,

 i have net-snmp.5.3.0.1 and i have successfully cross compiled it for our
target platform.

All i need on the target platform is for it to receive traps, hence
snmptrapd only needs to be generated.

Currently my snmptrapd is nearly coming to 1MB. This works fine and receives
the traps as expected but I need a much smaller image of snmptrapd.

I tried configuring using --disable-agent but when i run it, it says that
the disableAuthorization is an unknown token in the snmptrapd.conf.
This same snmptrapd.conf file worked fine when i had not given
--disable-agent. The " disableAuthorization Yes " was added by me at that
time to allow/receive all the agents traps.

Is there any configuration I can remove which will not have dependencies on
anything related to snmptrapd, so as to have a small size of my snmptrapd.
Or is there a minimal-snmptrapd sort of a configuration ?
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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/listinfo/net-snmp-users


loading vendor specific .mib

2010-02-25 Thread Queenie de Melo
Hi all,

I have a vendor specific mib which is a .mib file.

i have gone thorugh the documentation provided. I receive the traps.. but
the full information is not shown (just like its told on the
http://net-snmp.sourceforge.net/wiki/index.php/TUT:Configuring_snmptrapd_to_parse_MIBS_from_3rd_party_Vendors
site
)

following the tutorial :
http://www.net-snmp.org/wiki/index.php/TUT:Using_and_loading_MIBS

when i do
snmptranslate -Dinit_mib .1.3 2>&1 | grep MIBDIR
I can see the MIBDIR locations.

and before loading the MIB (*.mib) when i use the snmptranslate command
along with a node mentioned in the .mib file, i get the Unknown object
identifier:  

but after loading the .mib file suing the snmptranslate -m command as
mentioned in the document with the + sign and the Mib name. i still
get *Unknown
object identifier* and the node.

This same .mib from vendor works fine in windows based MGSOFT using MGSOFT
mibs compiler.

I was wondering, if there should be any linux specific change to be done in
the .mib or if i need to compile the .mibs before loading. Does
snmptranslate take care of this?

Please help.
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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/listinfo/net-snmp-users


Re: net-snmp-5.5_CrossCompiling_xscale_be

2010-02-22 Thread Queenie de Melo
Thanks for your response Dave,

Actually I only require my target platform to receive traps sent from other
agents and then depending on what type of trap, take appropriate action
(like send email etc)

In this scenario, is it enough if i compile only snmptrapd.o with compile
options of
--with-out-mib-modules=mibII/at
--disable-agent
--disable-applications
 along with the other configure options for cross compilation
( --host=xscale --with-cc=xscale_be-gcc
--with-linkcc=xscale_be-ld --with-ar=xscale_be-ar --with-endianness=big )

I can compile without errors and am able to get snmptrapd with above
configure options
(./configure --host=xscale --with-cc=xscale_be-gcc
--with-linkcc=xscale_be-ld --with-ar=xscale_be-ar --with-endianness=big
--disable-agent --disable-applications
--with-out-mib-modules=mibII/at )

 would this be enough for my requirement??


On Mon, Feb 22, 2010 at 6:15 PM, Dave Shield wrote:

> On 22 February 2010 12:27, Queenie de Melo  wrote:
> > Well I tried with
> >  ./configure --host=xscale --with-cc=xscale_be-gcc
> > --with-linkcc=xscale_be-ld
> >  --with-ar=xscale_be-ar --with-endianness=big
> > --with-out-mib-modules=mibII/at
>
>
> >> /bin/sh ../libtool  --mode=link xscale_be-ld -g -O2 -Unone -Dnone=none
> -o
> >> snmpd snmpd.lo  -L../snmplib/.libs -L../snmplib -L./.libs
> -L./helpers/.libs
>
> >> xscale_be-ld: unrecognized option '-Unone'
> >> xscale_be-ld: use the --help option for usage information
> >> make[1]: *** [snmpd] Error 1
>
>
> Hmmm...
> That looks like an issue with the cross-compilation environment,
> or the target-host recognition.   Unfortunately, that's not something
> which I have any experience of.   (Though pre-processor directives
> shouldn't really be being passed to the linker, surely?)
>
> I'll have to leave this query for someone else to pick up on.
> Sorry
>
> Dave
>
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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/listinfo/net-snmp-users


Re: net-snmp-5.5_CrossCompiling_xscale_be

2010-02-22 Thread Queenie de Melo
Thanks Dave for you response.

Well I tried with
* ./configure --host=xscale --with-cc=xscale_be-gcc
--with-linkcc=xscale_be-ld
 --with-ar=xscale_be-ar --with-endianness=big
--with-out-mib-modules=mibII/at*


> /bin/sh ../libtool  --mode=link xscale_be-ld -g -O2 -Unone -Dnone=none  -o
> snmpd snmpd.lo  -L../snmplib/.libs -L../snmplib -L./.libs -L./helpers/.libs
> -L./helpers  libnetsnmpagent.la helpers/libnetsnmphelpers.la
> libnetsnmpmibs.la ../snmplib/libnetsnmp.la -lelf
> libtool: link: xscale_be-ld -g -O2 -Unone -Dnone=none -o snmpd snmpd.o
> -L/home/queenie/Linux_NMS/net-snmp-5.5/agent/.libs
> -L/home/queenie/Linux_NMS/net-snmp-5.5/agent/helpers/.libs
> -L/home/queenie/Linux_NMS/net-snmp-5.5/snmplib/.libs
> -L/home/queenie/Linux_NMS/net-snmp-5.5/snmplib
> -L/home/queenie/Linux_NMS/net-snmp-5.5/agent/helpers
> ./.libs/libnetsnmpagent.a helpers/.libs/libnetsnmphelpers.a
> ./.libs/libnetsnmpmibs.a
> /home/queenie/Linux_NMS/net-snmp-5.5/agent/helpers/.libs/libnetsnmphelpers.a
> /home/queenie/Linux_NMS/net-snmp-5.5/agent/.libs/libnetsnmpagent.a
> /home/queenie/Linux_NMS/net-snmp-5.5/snmplib/.libs/libnetsnmp.a -ldl
> ../snmplib/.libs/libnetsnmp.a -lcrypto -lelf
> xscale_be-ld: unrecognized option '-Unone'
> xscale_be-ld: use the --help option for usage information
> make[1]: *** [snmpd] Error 1
> make[1]: Leaving directory `/home/queenie/Linux_NMS/net-snmp-5.5/agent'
> make: *** [subdirs] Error 1
>
> Any  idea  what could be going wrong?
Is there any special CFLAGS to be given?




On Mon, Feb 22, 2010 at 4:00 PM, Dave Shield wrote:

> On 19 February 2010 10:15, Queenie de Melo  wrote:
> > I configure using the below configure options, which gives me no errors
> > ./configure --host=xscale --with-cc=xscale_be-gcc
> --with-linkcc=xscale_be-ld
> > --with-ar=xscale_be-ar --with-endianness=big
> >
> > After configuring, when i do a make, I get the below errors:
>
> > mibII/at.c: In function `ARP_Scan_Next':
> > mibII/at.c:736: error: `ifIndex' undeclared (first use in this function)
> > mibII/at.c:736: error: (Each undeclared identifier is reported only once
> > mibII/at.c:736: error: for each function it appears in.)
>
>
> Try omitting the 'mibII/at' module from the agent.
> I.e. run
>configure --with-out-mib-modules=mibII/at .
>
> (plus the configure options you are currently using)
>
> Dave
>
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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/listinfo/net-snmp-users


net-snmp-5.5_CrossCompiling_xscale_be

2010-02-19 Thread Queenie de Melo
Hello everybody,

Iam a newbie to linux and I recently downloaded net-snmp, Iam getting errors
when i try cross compiling net-snmp-5.5 for my target platform having xscale
big endian architecture.

I configure using the below configure options, which gives me no errors
*./configure --host=xscale --with-cc=xscale_be-gcc
--with-linkcc=xscale_be-ld --with-ar=xscale_be-ar --with-endianness=big *
**
After configuring, when i do a make, I get the below errors:

/bin/sh ../../libtool  --mode=compile xscale_be-gcc -I../../include -I.
-I../../agent -I../../agent/mibgroup -I../../snmplib   -g -O2 -Unone
-Dnone=none  -c -o mibII/at.lo mibII/at.c
libtool: compile:  xscale_be-gcc -I../../include -I. -I../../agent
-I../../agent/mibgroup -I../../snmplib -g -O2 -Unone -Dnone=none -c
mibII/at.c -o mibII/at.o
mibII/at.c: In function `ARP_Scan_Next':
mibII/at.c:736: error: `ifIndex' undeclared (first use in this function)
mibII/at.c:736: error: (Each undeclared identifier is reported only once
mibII/at.c:736: error: for each function it appears in.)
make[2]: *** [mibII/at.lo] Error 1
make[2]: Leaving directory
`/home/queenie/Linux_NMS/net-snmp-5.5/agent/mibgroup'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/queenie/Linux_NMS/net-snmp-5.5/agent'
make: *** [subdirs] Error 1
What could be the problem? any suggestions for solutions???
I tried "make snmptrapd" but again i get below error
make[1]: Entering directory `/home/queenie/Linux_NMS/net-snmp-5.5/snmplib'
make[1]: Leaving directory `/home/queenie/Linux_NMS/net-snmp-5.5/snmplib'
make[1]: Entering directory `/home/queenie/Linux_NMS/net-snmp-5.5/agent'
make[1]: Nothing to be done for `libs'.
make[1]: Leaving directory `/home/queenie/Linux_NMS/net-snmp-5.5/agent'
make[1]: Entering directory `/home/queenie/Linux_NMS/net-snmp-5.5/apps'
/bin/sh ../libtool  --mode=compile xscale_be-gcc -I../include -I. -I../agent
-I../agent/helpers -I../agent/mibgroup -I../snmplib   -g -O2 -Unone
-Dnone=none  -c -o snmptrapd.lo snmptrapd.c
libtool: compile:  xscale_be-gcc -I../include -I. -I../agent
-I../agent/helpers -I../agent/mibgroup -I../snmplib -g -O2 -Unone
-Dnone=none -c snmptrapd.c -o snmptrapd.o
make[1]: *** No rule to make target `../agent/libnetsnmpmibs.la', needed by
`snmptrapd'.  Stop.
make[1]: Leaving directory `/home/queenie/Linux_NMS/net-snmp-5.5/apps'
make: *** [snmptrapd] Error 2

Surprisingly when i configure using below options

*./configure --host=xscale --with-cc=xscale_be-gcc
--with-linkcc=xscale_be-ld --with-ar=xscale_be-ar --with-endianness=big
--disable-agent --disable-applications*
and then do a make or make snmptrapd i get no errors. (both
*--disable-agent
--disable-applications* should be disabled)

Any clue?? Please help!!
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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/listinfo/net-snmp-users


net-snmp-5.5_CrossCompiling_xscale_be

2010-02-19 Thread Queenie de Melo
Hello everybody,

Iam a newbie to linux and I recently downloaded net-snmp, Iam getting errors
when i try cross compiling net-snmp-5.5 for my target platform having xscale
big endian architecture.

I configure using the below configure options, which gives me no errors
*./configure --host=xscale --with-cc=xscale_be-gcc
--with-linkcc=xscale_be-ld --with-ar=xscale_be-ar --with-endianness=big *
**
After configuring, when i do a make, I get the below errors:


> /bin/sh ../../libtool  --mode=compile xscale_be-gcc -I../../include -I.
> -I../../agent -I../../agent/mibgroup -I../../snmplib   -g -O2 -Unone
> -Dnone=none  -c -o mibII/at.lo mibII/at.c
> libtool: compile:  xscale_be-gcc -I../../include -I. -I../../agent
> -I../../agent/mibgroup -I../../snmplib -g -O2 -Unone -Dnone=none -c
> mibII/at.c -o mibII/at.o
> mibII/at.c: In function `ARP_Scan_Next':
> mibII/at.c:736: error: `ifIndex' undeclared (first use in this function)
> mibII/at.c:736: error: (Each undeclared identifier is reported only once
> mibII/at.c:736: error: for each function it appears in.)
> make[2]: *** [mibII/at.lo] Error 1
> make[2]: Leaving directory
> `/home/queenie/Linux_NMS/net-snmp-5.5/agent/mibgroup'
> make[1]: *** [subdirs] Error 1
> make[1]: Leaving directory `/home/queenie/Linux_NMS/net-snmp-5.5/agent'
> make: *** [subdirs] Error 1
>

What could be the problem? any suggestions for solutions???

I tried "make snmptrapd" but again i get below error


> make[1]: Entering directory `/home/queenie/Linux_NMS/net-snmp-5.5/snmplib'
> make[1]: Leaving directory `/home/queenie/Linux_NMS/net-snmp-5.5/snmplib'
> make[1]: Entering directory `/home/queenie/Linux_NMS/net-snmp-5.5/agent'
> make[1]: Nothing to be done for `libs'.
> make[1]: Leaving directory `/home/queenie/Linux_NMS/net-snmp-5.5/agent'
> make[1]: Entering directory `/home/queenie/Linux_NMS/net-snmp-5.5/apps'
> /bin/sh ../libtool  --mode=compile xscale_be-gcc -I../include -I.
> -I../agent -I../agent/helpers -I../agent/mibgroup -I../snmplib   -g -O2
> -Unone -Dnone=none  -c -o snmptrapd.lo snmptrapd.c
> libtool: compile:  xscale_be-gcc -I../include -I. -I../agent
> -I../agent/helpers -I../agent/mibgroup -I../snmplib -g -O2 -Unone
> -Dnone=none -c snmptrapd.c -o snmptrapd.o
> make[1]: *** No rule to make target `../agent/libnetsnmpmibs.la', needed
> by `snmptrapd'.  Stop.
> make[1]: Leaving directory `/home/queenie/Linux_NMS/net-snmp-5.5/apps'
> make: *** [snmptrapd] Error 2
>

Surprisingly when i configure using below options

*./configure --host=xscale --with-cc=xscale_be-gcc
--with-linkcc=xscale_be-ld --with-ar=xscale_be-ar --with-endianness=big
--disable-agent --disable-applications*
and then do a make or make snmptrapd i get no errors. (both
*--disable-agent
--disable-applications* should be disabled)

Any clue?? Please help!!
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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/listinfo/net-snmp-users