[uClibc] net-snmp build broken

Chris Wilson chris at netservers.co.uk
Fri Apr 23 17:13:49 UTC 2004


Hi all,

Compiling net-snmp seems to be broken in CVS. The configure script runs 
with a PATH which allows it to find i386-uclibc-* tools, but make doesn't, 
so it fails when it tries to use those tools. The attached patch seems to 
fix it for me.

Cheers, Chris.
-- 
_  __ __     _
 / __/ / ,__(_)_  | Chris Wilson -- UNIX Firewall Lead Developer |
/ (_  ,\/ _/ /_ \ | NetServers.co.uk http://www.netservers.co.uk |
\__/_/_/_//_/___/ | 21 Signet Court, Cambridge, UK. 01223 576516 |
-------------- next part --------------
Index: make/netsnmp.mk
===================================================================
RCS file: /var/cvs/buildroot/make/netsnmp.mk,v
retrieving revision 1.4
diff -u -b -B -w -p -r1.4 netsnmp.mk
--- a/make/netsnmp.mk	1 Apr 2004 04:23:17 -0000	1.4
+++ b/make/netsnmp.mk	23 Apr 2004 16:43:52 -0000
@@ -59,11 +59,11 @@ $(NETSNMP_DIR)/.configured: $(NETSNMP_DI
 	touch  $(NETSNMP_DIR)/.configured
 
 $(NETSNMP_DIR)/agent/snmpd: $(NETSNMP_DIR)/.configured
-	$(MAKE) -C $(NETSNMP_DIR)
+	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(NETSNMP_DIR)
 
 $(TARGET_DIR)/usr/sbin/snmpd: $(NETSNMP_DIR)/agent/snmpd
 	#$(MAKE) DESTDIR=$(TARGET_DIR) -C $(NETSNMP_DIR) install
-	$(MAKE) PREFIX=$(TARGET_DIR)/usr \
+	$(TARGET_CONFIGURE_OPTS) $(MAKE) PREFIX=$(TARGET_DIR)/usr \
 	    prefix=$(TARGET_DIR)/usr \
 	    exec_prefix=$(TARGET_DIR)/usr \
 	    persistentdir=$(TARGET_DIR)/var/lib/snmp \


More information about the uClibc mailing list