Hello Dave, I had created the makefile with the following content.
CC=gcc OBJS1=msdTrapd.o msdMIBEvents.o TARGETS=msdTrapd msdTrapd.o msdMIBEvents.o CFLAGS=-I. `net-snmp-config --cflags` BUILDLIBS=`net-snmp-config --libs` BUILDAGENTLIBS=`net-snmp-config --agent-libs` # shared library flags (assumes gcc) DLFLAGS=-fPIC -shared all: $(TARGETS) msdTrapd: $(OBJS1) $(CC) -o msdTrapd $(OBJS1) $(BUILDAGENTLIBS) clean: rm $(OBJS1) $(TARGETS) If I give the command make msdTrapd it gives the: make *** No rule to make target `msdTrapd.o', needed by `msdTrapd'. Stop. Problem is comming. My mib2c generated code name is msdMIBEvents.c abd msdMIBEvents.h. Please help me to solve the problem. Thanks and Regards Nataraju ------------------------------------------------------- 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users