This is a discussion on link an additional library within the SNMP Coders forums, part of the Networking and Network Related category; I am trying to register some MIB to the master agent and need to link an additional library. This library, ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I am trying to register some MIB to the master agent and need to link an additional library. This library, libmymib.a, is compiled in g++. I use --with-libs option in configure. However, when it tries to make snmpd, it complains that " ./.libs/libnetsnmpmibs.so: undefined reference to `MY_XXX". This MY_XXX is defined in libmymib.a and used in mibgroups/MY_MIB/ Will it be a problem to link to a g++ compiled library? When on 4.x version, it seemed no problem. Now, I am using 5.0.9. If that is the problem, is there a way to fix it? Thanks, FT ------------------------------------------------------- This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |