From owner-freebsd-ports@FreeBSD.ORG Thu May 13 04:56:38 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45A44106564A; Thu, 13 May 2010 04:56:38 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from spartan.hamla.org (spartan.hamla.org [206.251.255.30]) by mx1.freebsd.org (Postfix) with ESMTP id 214068FC17; Thu, 13 May 2010 04:56:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by spartan.hamla.org (Postfix) with ESMTP id 74624170F0; Thu, 13 May 2010 00:56:37 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:reply-to:message-id :subject:subject:from:from:date:date:received:received; s=aegis; t=1273726597; bh=dQ9F0+nF8GbNZlWNZYqcc3xrO7tUpFD6oW+OTi06I6M=; b= Zjh58vHJAjwV1u7BUygTaqtPlQQXHJVCZK0uD/MAPGTEOCuQ1IHdKwlLOh73wQX8 Gw+FMbK52lKuAhFdWPIe5WkXpOmzWRXAs0C5KteLdJiTse25Cxg42/hMq1A3+Orj gbPHohEld8W2jk/eh47Elx5hlBZCxo3NK2xOT+6QCj4= X-Virus-Scanned: by ClamAV at spartan.hamla.org Received: from spartan.hamla.org ([127.0.0.1]) by localhost (spartan.hamla.org [127.0.0.1]) (amavisd-new, port 10027) with LMTP id lD+W5+MQ-CnH; Thu, 13 May 2010 00:56:37 -0400 (EDT) Received: from magic.hamla.org (cpe-69-201-179-80.nyc.res.rr.com [69.201.179.80]) by spartan.hamla.org (Postfix) with ESMTPSA id A186117091; Thu, 13 May 2010 00:56:36 -0400 (EDT) Date: Thu, 13 May 2010 00:56:34 -0400 From: Sahil Tandon To: Mike Jakubik Message-ID: <20100513045634.GE38019@magic.hamla.org> References: <4BEB160B.7050101@intertainservices.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline In-Reply-To: <4BEB160B.7050101@intertainservices.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: sylvio@FreeBSD.org, freebsd-ports@freebsd.org Subject: Re: FreeBSD Port: net-mgmt/net-snmp X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2010 04:56:38 -0000 --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, 12 May 2010, Mike Jakubik wrote: > I am having trouble compiling net-snmp on a number of 8-STABLE > systems, below is the error. Are you using any non-default OPTIONS? > ./.libs/libnetsnmpmibs.so: undefined reference to `exp' I wonder if this is a quirk with how link time arguments are passed to ld(1) via the configure script. Would you try compiling after applying the attached patch? -- Sahil Tandon --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="net-snmp.diff" Index: Makefile =================================================================== RCS file: /home/pcvs/ports/net-mgmt/net-snmp/Makefile,v retrieving revision 1.178 diff -u -r1.178 Makefile --- Makefile 1 May 2010 01:38:47 -0000 1.178 +++ Makefile 13 May 2010 04:36:50 -0000 @@ -40,7 +40,7 @@ --with-sys-location="${NET_SNMP_SYS_LOCATION}" \ --with-logfile="${NET_SNMP_LOGFILE}" \ --with-persistent-directory="${NET_SNMP_PERSISTENTDIR}" \ - --with-gnu-ld --with-libwrap --with-libs="-lm -lkvm -ldevstat" + --with-gnu-ld --with-libwrap --with-ldflags="-lm -lkvm -ldevstat" .if defined(BATCH) CONFIGURE_ARGS+=--with-defaults --bg08WKrSYDhXBjb5--