[Devel] [ openser-Bugs-1665593 ] snmpstats: not building while cross compiling

SourceForge.net noreply at sourceforge.net
Thu Feb 22 15:42:56 CET 2007


Bugs item #1665593, was opened at 2007-02-21 15:35
Message generated for change (Settings changed) made by jmagder
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1665593&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver devel
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Ovidiu Sas (osas)
Assigned to: Jeffrey Magder (jmagder)
Summary: snmpstats: not building while cross compiling

Initial Comment:
The snmpstats doesn't build while cross compiling.  Here's a small patch that will enable cross compilation.

--- sip-server.orig/modules/snmpstats/Makefile	2007-02-20 13:18:20.000000000 -0500
+++ openser/modules/snmpstats/Makefile	2007-02-21 15:01:23.000000000 -0500
@@ -7,6 +7,8 @@
 BUILDER = $(shell which net-snmp-config)
 ifeq ($(BUILDER),)
 	NAME=
+	DEFS +=-I$(LOCALBASE)/include
+	BUILDAGENTLIBS =-L$(LOCALBASE)/lib -lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers -lnetsnmp
 else
 	BUILDAGENTLIBS = $(shell net-snmp-config --agent-libs)
 endif 


----------------------------------------------------------------------

Comment By: Jeffrey Magder (jmagder)
Date: 2007-02-22 09:42

Message:
Logged In: YES 
user_id=1509908
Originator: NO

The patch has been pushed.  Thank you Ovidiu!

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1665593&group_id=139143



More information about the Devel mailing list