Re: Port to embedded platform
Vincent Bernat <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | One Piece |
| Message-ID | <[email protected]> |
OoO En cette soirée bien amorcée du mardi 16 juin 2009, vers 22:07, "Joan Landry" <[email protected]> disait : > However, even though init_mib_modules is in libnetsnmpmibs.a when I > include it as a library in my link I get an undefined reference to > `init_mib_modules()' > So what is the reason that I am not able to call this function yet I > can call init_master_agent? > I am also unable to call init_udp, init_tcp etc.. I did not understand that you wanted to keep MIB from regular snmpd into your agent. They are not exported into static or dynamic libraries, you cannot just link to them. The libraries only contain code to run a master agent or a sub agent whithout anything in it. I think that you should just include your MIB code into snmpd sources and use configure to include those new modules and exclude the modules you don't want. -- Don't over-comment. - The Elements of Programming Style (Kernighan & Plauger) ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ 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