Re: agentx example gives compile errors

2014-10-16 Thread Pranesh Kulkarni
use CFLAGS=-I `net-snmpf-config --cflags or try with hardcoding directly -I /usr/local/include/net-snmp On Wed, Oct 15, 2014 at 11:30 PM, Ali Azar wrote: > Hi Pranesh, > > Thanks for your response! I noticed that my includes are also in > /usr/local/include/net-snmp/ > > so should I modify my

Re: agentx example gives compile errors

2014-10-14 Thread Pranesh Kulkarni
Hi, the declarations for the above functions are in #include #include #include #include which are not included properly , it should get automatically with CFLAGS=-I `net-snmpf-config --cflags` check with this command "net-snmp-config --cflags" on your terminal , and check the output p

agentx example gives compile errors

2014-10-14 Thread Ali Azar
Hi all, I am trying to run the make on agentX example in this tutorial here: http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_Subagent but when I run make on example-demon, it gives me the following error messages and looks like it can't link the header files properly: [root@localhost agent]