Re: Adding c files to build agent

Simon Chamlian <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <CANmTPBb2+7C4=sHbuoyQ9jZYC2PjsLnBYf-_=YozTJZUKHbE4Q@mail.gmail.com>
It is not that easy in my case because I am cross compiling the agent for
an embedded target system. Also, the whole package is being compiled from
within Yocto (bitbake).

So I ran ./configure --with-mib-modules " file1 file2"

I noticed this created couple of Makefiles.

Then I ran
     bitbake net-snmp
which compiled the agent. I hoped that my modules would be integrated but
when I burn the image on the target embedded system,
snmpd is running but somehow my modules aren't being called so a get on my
mib is not returning the expected value.







On Tue, Aug 21, 2018 at 9:38 AM, Bart Van Assche <[email protected]> wrote:

> On 08/21/18 06:01, Simon Chamlian wrote:
> > Any pointers on how I can use AgentX ?
>
> Please keep the list in Cc: when replying.
>  More information about AgentX is available at
> http://net-snmp.sourceforge.net/wiki/index.php/TUT:Writing_a_Subagent.
> Since it has been a while since that page has been updated, if any
> information on that page would be outdated, please let us know.
>
> Bart.
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
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.