On Mon, 14 Feb 2005 09:33:03 -0800 (PST) Shivali wrote:
SG> i tried working with these two files 
SG> nstAgentSubagentObject.c & the .h file as suggested in
SG> the tutorial of home page but on compilation it gave
SG> the error message : usr/lib/libnetsnmpagent.so:
SG> undefined reference to `hosts_ctl'
SG> tried a lot but cudnt solve the things

This function is from the tcpwrappers routine. Add '-lwrap' to your makfile or
link line.

-- 
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to