Re: static linking of net-snmp libraries..

2009-02-10 Thread Wes Hardaker
> On Fri, 6 Feb 2009 15:42:42 +0530, "Renju Mathew" > said: It looks like you're missing libraries in the compile line... RM> gcc -o example-demon example-demon.o nstAgentSubagentObject.o RM> `net-snmp-config --agent-libs` What's the output of `net-snmp-config --agent-libs` ? RM> /usr

static linking of net-snmp libraries..

2009-02-06 Thread Renju Mathew
Hi all, I was trying to compile the sample SubAgent from the totorial (http://net-snmp.sourceforge.net/wiki/index.php/TUT:Writing_a_Subagent) using static linking of net-snmp libraries. But for some reason, its giving me errors. Dynamic linking of the same works for me.. I' m working

static linking of net-snmp libraries..

2009-02-06 Thread Renju Mathew
Hi all, I was trying to compile the sample SubAgent from the totorial (http://net-snmp.sourceforge.net/wiki/index.php/TUT:Writing_a_Subagent) using static linking of net-snmp libraries. But for some reason, its giving me errors. Dynamic linking of the same works for me.. I' m working