RE: How to complie NET-SNMP source into 64bit binary

This is a discussion on RE: How to complie NET-SNMP source into 64bit binary within the SNMP Users forums, part of the Networking and Network Related category; --Have you read README.solaris? >How can I complile NET-SNMP with gcc or Sun cc 64it complier in ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-30-2007
Liangliang Guo
 
Posts: n/a
Default RE: How to complie NET-SNMP source into 64bit binary

--Have you read README.solaris?


>How can I complile NET-SNMP with gcc or Sun cc 64it complier in Sun

Solaris 10.
>What directive should I turn on for the gcc or Sun cc complier.
>And what direcitve should I turn on for the "configure" script as well.


Answer:
Yes I have read it.Previously our project compiled the NET-SNMP into
32bit binary.
Because the uplift of our product to 64bit.We want to add some
directive to the gcc to compile NET-SNMP source into 64bit.
But we found that some compilation errors.Yesterday after I ask the
community on this issue, I tried to compile again with this option
--with-out-mib-modules=if-mib and it successfully passed the
compilation.
So I don't know whether it is right or not by using this option
--with-out-mib-modules=if-mib.
The version of my NET-SNMP is 5.3.1

-----Original Message-----
From: net-snmp-users-bounces@lists.sourceforge.net
[mailto:net-snmp-users-bounces@lists.sourceforge.net] On Behalf Of
net-snmp-users-request@lists.sourceforge.net
Sent: Thursday, August 30, 2007 3:09 AM
To: net-snmp-users@lists.sourceforge.net
Subject: Net-snmp-users Digest, Vol 15, Issue 58

Send Net-snmp-users mailing list submissions to
net-snmp-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/...net-snmp-users
or, via email, send a message with subject or body 'help' to
net-snmp-users-request@lists.sourceforge.net

You can reach the person managing the list at
net-snmp-users-owner@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific than
"Re: Contents of Net-snmp-users digest..."


Today's Topics:

1. RE: How to complie NET-SNMP source into 64bit binary (Bruce Shaw)
2. Agent X and Issue in net-snmp 5.4.1 (uonedang Dang)
3. RE: SNMP v3 user (Mike Ayers)
4. Re: SNMP v3 user (Mateus Interciso)
5. Sending trap by myself without passing through master agent
(DI BACCO ANTONIO - technolabs)


----------------------------------------------------------------------

Message: 1
Date: Wed, 29 Aug 2007 09:05:11 -0600
From: "Bruce Shaw" <Bruce.Shaw@gov.ab.ca>
Subject: RE: How to complie NET-SNMP source into 64bit binary
To: "Liangliang Guo (SH/CBC)" <liangliang.guo@ericsson.com>,
<net-snmp-users@lists.sourceforge.net>
Message-ID:

<A8E35CF33CF6584A8497CB2E7521385B030A7FA0@EDM-GOA-EXCC-5A.goa.ds.gov.ab.
ca>

Content-Type: text/plain; charset="us-ascii"

Have you read README.solaris?


>How can I complile NET-SNMP with gcc or Sun cc 64it complier in Sun

Solaris 10.
>What directive should I turn on for the gcc or Sun cc complier.
>And what direcitve should I turn on for the "configure" script as well.



This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please notify the
system manager. This message contains confidential information and is
intended only for the individual named. If you are not the named
addressee you should not disseminate, distribute or copy this e-mail.




------------------------------

Message: 2
Date: Wed, 29 Aug 2007 10:36:17 -0700 (PDT)
From: uonedang Dang <uonedang@yahoo.com>
Subject: Agent X and Issue in net-snmp 5.4.1
To: net-snmp-users@lists.sourceforge.net
Message-ID: <324065.89820.qm@web35202.mail.mud.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"

Hello All,

I plan to use AgentX from net-snmp 5.4.1,

I have the SNMP master agent running ...

I am writing the sun-agent X application .. everything is OK and SNMP
queries worked fine.

I need to have my sub-agent an multi-threaded application ... as soon
as add -lthread (or -lpthread) to my compiling command ... the
sun-agent came up and registered OK to master agent, but when SNMP
queries ==> it hanged and no response from the sun-agent ...

Any suggestion ?

Thanks

Dang


---------------------------------
Boardwalk for $500? In 2007? Ha!
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo!
Games.
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Wed, 29 Aug 2007 11:01:32 -0700
From: "Mike Ayers" <mike_ayers@tvworks.com>
Subject: RE: SNMP v3 user
To: "Mateus Interciso" <p.zarnick@gmail.com>,
<net-snmp-users@lists.sourceforge.net>
Message-ID:

<83E753BE7B6A324ABB336245BAF1DAAC0705D283@mailserv er.metatv-ds.metatv.co
m>

Content-Type: text/plain; charset="iso-8859-1"

> From: net-snmp-users-bounces@lists.sourceforge.net
> [mailto:net-snmp-users-bounces@lists.sourceforge.net] On Behalf Of
> Mateus Interciso
> Sent: Wednesday, August 29, 2007 7:43 AM


> Error in packet.
> Reason: inconsistentValue (The set value is illegal or unsupported in
> some way) Failed object:
> SNMP-USER-BASED-SM-MIB::usmUserStatus.".....z.aH...F"."wes"


Do you have and existing "wes" user? The usmUserStatus object
is MAX_ACCESS read-create, which means that you must delete the existing
"wes" user before attempting to create a new one.


HTH,

Mike



------------------------------

Message: 4
Date: Wed, 29 Aug 2007 15:37:37 -0300
From: "Mateus Interciso" <p.zarnick@gmail.com>
Subject: Re: SNMP v3 user
To: "Mike Ayers" <mike_ayers@tvworks.com>
Cc: net-snmp-users@lists.sourceforge.net
Message-ID:
<93a3a810708291137i65cb6e15s5cbe1fa1e81fb1c9@mail. gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

I don't think I have the user, since this is the first time I tryed, and
it gives me the same error with any user I select (even random
leters)

On 8/29/07, Mike Ayers <mike_ayers@tvworks.com> wrote:
> > From: net-snmp-users-bounces@lists.sourceforge.net
> > [mailto:net-snmp-users-bounces@lists.sourceforge.net] On Behalf Of
> > Mateus Interciso
> > Sent: Wednesday, August 29, 2007 7:43 AM

>
> > Error in packet.
> > Reason: inconsistentValue (The set value is illegal or unsupported
> > in some way) Failed object:
> > SNMP-USER-BASED-SM-MIB::usmUserStatus.".....z.aH...F"."wes"

>
> Do you have and existing "wes" user? The usmUserStatus object

is MAX_ACCESS read-create, which means that you must delete the existing
"wes" user before attempting to create a new one.
>
>
> HTH,
>
> Mike
>



--
-==Zarnick==-



------------------------------

Message: 5
Date: Wed, 29 Aug 2007 20:41:44 +0200
From: "DI BACCO ANTONIO - technolabs" <Antonio.DiBacco@technolabs.it>
Subject: Sending trap by myself without passing through master agent
To: <net-snmp-users@lists.sourceforge.net>
Message-ID: <F1F6EC0C8B75034F9E3A79FC85122E8EA1869A@aquib01a >
Content-Type: text/plain; charset="us-ascii"

Is it possible to call a function to give me the UDP packet that should
be send as a trap? I want to send it by myself, I'm in a subagent and I
don't want to deliver it to the master agent.

Bye,
Antonio.
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

------------------------------

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


End of Net-snmp-users Digest, Vol 15, Issue 58
**********************************************

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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
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 01:32 AM.


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