Re: problem in compiling

2006-03-13 Thread Dave Shield
On Sat, 2006-03-11 at 23:32 +0530, Puru Govind wrote: > 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' If you've only just installed the libraries, you may need to run 'ldconfi

Re: problem in compiling program

2006-03-11 Thread Thomas Anders
Puru Govind wrote: Well ppl i am having problems in compiling my programs. I m using fedora core3 and followed the instructions as given on the website. i downloaded the "net-snmp.1.4.rc1.tar" . And then installed the libraray as a root. Then i ran snmpd. I was just trying the first example given