Re: Adding c files to build agent

2018-08-21 Thread Bart Van Assche
On 08/21/18 07:52, Simon Chamlian wrote: > 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

Re: Adding c files to build agent

2018-08-21 Thread Simon Chamlian
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 n

Re: Adding c files to build agent

2018-08-21 Thread Bart Van Assche
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 upda

Re: Adding c files to build agent

2018-08-20 Thread Bart Van Assche
On 08/20/18 13:26, Simon Chamlian wrote: > I am trying to adapt the agent to our requirements. In order to do so, I > need to add some code (c files) to the agent to handle our own MIB. > > The agent is running on an embedded system (Linux-systemd) using Yocto > to build it. > > Where (in which m

Adding c files to build agent

2018-08-20 Thread Simon Chamlian
Hi, I am trying to adapt the agent to our requirements. In order to do so, I need to add some code (c files) to the agent to handle our own MIB. The agent is running on an embedded system (Linux-systemd) using Yocto to build it. Where (in which makefile) do I add my own code? I need to do somet