[asterisk-dev] Conflict between Asterisk and net snmp

Denis Smirnov ds at seiros.ru
Tue Feb 28 13:57:30 MST 2006


On Tue, Feb 28, 2006 at 09:26:39PM +0100, Olle E Johansson wrote:

OEJ> The recent inclusion of res_snmp causes a conflict on several of my  
OEJ> systems.
OEJ> /usr/bin/ld: multiple definitions of symbol _unload_module
OEJ> res_snmp.o definition of _unload_module in section (__TEXT,__text)
OEJ> /usr/lib/libnetsnmp.dylib(libnetsnmp.5.2.1.dylib-master.o) definition  
OEJ> of _unload_module
OEJ> collect2: ld returned 1 exit status
OEJ> make[1]: *** [res_snmp.so] Error 1
OEJ> make: *** [subdirs] Error 1
OEJ> Should we change our "unload_module" to "ast_unload_module" to avoid
OEJ> this conflict?

I think, that we don't need unload_module symbol at all.

It would be better, if module has public only one structure named like
ast_module_info, with pointers to other functions.

-- 
JID: ds at im.seiros.ru
ICQ: 58417635 (please, use jabber, if you can)

http://freesource.info/




More information about the asterisk-dev mailing list