link an additional library

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, ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-24-2005
Fong Tsui
 
Posts: n/a
Default link an additional library


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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:24 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0