Hi.

On Thursday 19 January 2006 13:38, Erik Christiansen wrote:
> On Thu, Jan 19, 2006 at 11:01:25AM +1000, Nigel Cunningham wrote:
> > I've been working on an update to 5.3.0.1, and have failed to build. The
> > Makefile for agent/mibgroup/target is non-existent, and I can't find
> > anything in the Makefiles to build it for Linux.
>
> ...
>
> > make
>
> I'm no expert, but isn't agent/mibgroup/target handled by
> agent/mibgroup/Makefile? At least, peeking in there, one sees
> target/target.o and target/target_counters.o amongst OBJS, and
> target/target.c target/target_counters.c amongst SRCS.
>
> How are you trying to build it? (Specifically, what does the config step
> preceding make look like? Even plain ./configure should see the
> directory built, I'd expect. :-)
>
> Incidentally, my .o and .lo files exist in agent/mibgroup/target, so it
> seems to have built OK.

Yes, I discovered afterwards that the problem is more subtle that I initially 
thought. It occurs when you attempt to build having configured 
--with-out-mib-modules= including target and notifications. The build fails 
because other targets which explicitly depend on that code are still compiled 
and building libnetsnmp cannot resolve those symbols. Having enabled their 
compilation, I can get a working implementation.

Regards,

Nigel


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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

Reply via email to