Re: net-snmp 5.6.X compilation errors in QNX Momentics 6.3.0
Abraham Varricatt <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Sep 16, 2010 at 12:11 AM, Ali Mirza, Rashid < [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 ------------------------------------------------------------------------------ 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