RE: net-snmp 5.6.X compilation errors in QNX Momentics 6.3.0

"Ali Mirza, Rashid" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Forgot to add this:

When I finish with a configure, I get the following as a table:

SNMP Versions Supported 1 2c 3
Building for: nto
Net-SNMP Version: 5.6.rc2
network transport support : Callback Unix Alias TCP UDP IPv4Base SocketBase TCPBase UDPIPv4Base UDPBase
SNMPv3 Securit ModulesL usm
AgentMIB code : default_modules => mibII
MYSQL Trap Logging : unavailable
Embedded Perl modules : disabled
SNMP Python modules ; disabled
Crypto support from L internal
Authentication support : MD5 SHA1
Encryption Support : DES AES

Regards


From: [email protected] [mailto:[email protected]] On Behalf Of Abraham Varricatt
Sent: Thursday, September 16, 2010 6:56 AM
To: Ali Mirza, Rashid
Cc: [email protected]
Subject: Re: net-snmp 5.6.X compilation errors in QNX Momentics 6.3.0

On Thu, Sep 16, 2010 at 12:11 AM, Ali Mirza, Rashid <[email protected]<mailto:[email protected]>> wrote:
since i was running QNX in VMware, i just re-started the virtual machine, and made sure date and time were correct.
Then i did a configure, without any arguments,
Then did a make, and am getting the following error:
make[1]: *** No rule to make target mibgroup/ip-mib/ipv6ScopeZoneIndexTable/ipv6ScopeZoneIndexTable_data_access.h' , needed by 'agent_index.lo'. Stop

Does anyone know whats happening here?

I've never used QNK before, but perhaps one of the mibs hasn't been configured properly for that environment? Can you see if this configure option would work,

./configure --disable-mibs --disable-applications --disable-manuals --disable-scripts --disable-mib-loading --disable-embedded-perl --disable-perl-cc-checks --with-out-mib-modules="ucd_snmp snmpv3mibs agent_mibs agentx target disman/event disman/schedule notification-log-mib notification host utilities" --with-mib-modules="utilities/execute"



Running in VirtualBox (x86, of course) the above results in just "mib-II" getting built into the net-snmp agent. In fact, I've only tested the above for building the agent and not the other tools, so you'll need to try something like this,



./configure <above stuff>

make agent

make install (never tried this myself)



Then move to the directory where the agent executable is, I think it's either /agent/snmpd or /agent/.libs/snmpd



Give it a shot to run the agent with this command,

snmpd -f -d -Lo udp:161 -C -c /path/to/snmpd.conf



The above will run the agent as a foreground process and display some debug data (such as when it receives/sends a message. Have an SNMP manager ready on a nearby system to test this.



All the best to you!

-Abraham Varricatt

________________________________
This transmission is intended solely for the person or organization to whom it is addressed. It may contain privileged and confidential information. If you are not the intended recipient, you should not copy, distribute or take any action in reliance on it. If you have received this transmission in error, please notify us immediately by e-mail at [email protected]

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.