Hi,

When trying to link my agentx-subagent to net-snmp 5.4 I am always ending up
with 

/---
/server/net-snmp-5.4.1/lib/libnetsnmpagent.so: undefined reference to 
boot_DynaLoader'
---/

My m4-macro uses "net-snmp-config --agent-libs" for the linking flags which
outputs

/---
-L/server/net-snmp-5.4.1/lib/ -L/server/net-snmp-5.4.1/lib -lnetsnmpmibs
-lnetsnmpagent -lnetsnmphelpers -lnetsnmp -Wl,-E
-Wl,-rpath,/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader.a
-L/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE -lperl -lresolv
-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
---/

But linking DynLoader does not succeed.

When un-ar-ing DynaLoader.a to an DynLoader.o I can successfully link this
one.

Can anyone give me a hint for a clean solution?

Thanks in advance,

Holger

-- 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to