Hi all! this is in regard with my previous post. When i used makefile to compile my program it showed me the following error: [EMAIL PROTECTED] ~]# make snmpdemoapp gcc -o snmpdemoapp snmpdemoapp.o `net-snmp-config --libs` snmpdemoapp.o(.text+0x87): In function `main': /root/snmpdemoapp.c:41: undefined reference to `init_agent' snmpdemoapp.o(.text+0x8f):/root/snmpdemoapp.c:46: undefined reference to `init_nstAgentSubagentObject' snmpdemoapp.o(.text+0x9a):/root/snmpdemoapp.c:50: undefined reference to `init_vacm_vars' snmpdemoapp.o(.text+0x9f):/root/snmpdemoapp.c:51: undefined reference to `init_usmUser' snmpdemoapp.o(.text+0xba):/root/snmpdemoapp.c:59: undefined reference to `init_master_agent' snmpdemoapp.o(.text+0x10d):/root/snmpdemoapp.c:72: undefined reference to `agent_check_and_process' collect2: ld returned 1 exit status make: *** [snmpdemoapp] Error 1
Hope to hear from you soon! puru -- -- Computer Engineering Undergraduate(final year) Dept of Computer Science and Engineering Vellore Institute of Technology ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
