Discussion:
How to compile new mib module from Yocto
(too old to reply)
Amit Tomer
2015-04-30 13:09:30 UTC
Permalink
Hi,

I need to cross compile a new mib module and for the same I'm using Yocto.

Now, I have gone through following link.

http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_MIB_Module

As per above link

Compile it into the master agent.

Copied the respected .c and .h files to agent/mibgroups folder .

But now when I run "bitbake net-snmp", don't find .o file with respect
to .c file copied to agent/mibgroup.

I tried modified "Makefile" but didn't get .o file.


Thanks
Amit.
b***@gmail.com
2017-07-06 13:10:13 UTC
Permalink
Hey Amit, how are you?

I have a question very similar to yours.
Were you able to solve this issue? How did you do it?

Regards,
Bernardo.
Post by Amit Tomer
Hi,
I need to cross compile a new mib module and for the same I'm using Yocto.
Now, I have gone through following link.
http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_MIB_Module
As per above link
Compile it into the master agent.
Copied the respected .c and .h files to agent/mibgroups folder .
But now when I run "bitbake net-snmp", don't find .o file with respect
to .c file copied to agent/mibgroup.
I tried modified "Makefile" but didn't get .o file.
Thanks
Amit.
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Net-snmp-users mailing list
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Loading...