From owner-svn-src-all@FreeBSD.ORG Sun Dec 12 15:18:38 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 380C5106564A; Sun, 12 Dec 2010 15:18:38 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id E21C58FC1B; Sun, 12 Dec 2010 15:18:37 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:6456:15d6:3f8:ec76] (unknown [IPv6:2001:7b8:3a7:0:6456:15d6:3f8:ec76]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 761D65C43; Sun, 12 Dec 2010 16:18:35 +0100 (CET) Message-ID: <4D04E7D3.3060308@FreeBSD.org> Date: Sun, 12 Dec 2010 16:18:43 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.14pre) Gecko/20101211 Lanikai/3.1.8pre MIME-Version: 1.0 To: syrinx@FreeBSD.org References: <201012081430.oB8EUP8J006067@svn.freebsd.org> <5A7A3A47-18EF-4634-AA83-1501EF433A57@gmail.com> In-Reply-To: Content-Type: multipart/mixed; boundary="------------020203020906050501060306" Cc: src-committers@freebsd.org, ed@freebsd.org, Garrett Cooper , svn-src-head@freebsd.org, svn-src-all@freebsd.org, rdivacky@freebsd.org Subject: Re: svn commit: r216295 - in head/usr.sbin/bsnmpd: . tools tools/bsnmptools tools/libbsnmptools X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Dec 2010 15:18:38 -0000 This is a multi-part message in MIME format. --------------020203020906050501060306 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2010-12-11 16:42, Shteryana Shopova wrote: > This is now fixed. However I wouldn't expect bsnmpd(1) compiled with > clang to work - it didn't run last time I checked several months ago, > and I still get the same error - > > udo /usr/sbin/bsnmpd -d -c /root/snmpd.config > snmpd[80050]: lm_load: open /usr/lib/snmp_mibII.so: Undefined symbol > "oid_zeroDotZero" > snmpd[80050]: init dep failed: 13 1.3.6.1.4.1.12325.1.1.1.6 5.109.105.98.73.73 > snmpd[80050]: error in config file > > bsnmpd(1) uses export-dynamic flag Can you please try the attached patch, which makes clang pass the -export-dynamic flag to the linker properly? --------------020203020906050501060306 Content-Type: text/plain; name="bsnmpd-export-dynamic.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="bsnmpd-export-dynamic.diff" ZGlmZiAtLWdpdCBhL3Vzci5zYmluL2Jzbm1wZC9ic25tcGQvTWFrZWZpbGUgYi91c3Iuc2Jp bi9ic25tcGQvYnNubXBkL01ha2VmaWxlCmluZGV4IGY3ZTliMjMuLjgwYjE0ZTIgMTAwNjQ0 Ci0tLSBhL3Vzci5zYmluL2Jzbm1wZC9ic25tcGQvTWFrZWZpbGUKKysrIGIvdXNyLnNiaW4v YnNubXBkL2Jzbm1wZC9NYWtlZmlsZQpAQCAtMzEsNyArMzEsNyBAQCBDRkxBR1MrPSAtREhB VkVfU1RESU5UX0ggLURIQVZFX0lOVFRZUEVTX0ggLURIQVZFX0VSUl9IIC1ESEFWRV9TVFJM Q1BZCiBEUEFERD0JJHtMSUJCRUdFTU9UfSAke0xJQkJTTk1QfSAke0xJQldSQVB9CiBMREFE RD0JLWxiZWdlbW90IC1sYnNubXAgLWx3cmFwCiAKLUxERkxBR1M9IC1leHBvcnQtZHluYW1p YworTERGTEFHUz0gLVdsLC1leHBvcnQtZHluYW1pYwogCiAuaWYgJHtNS19PUEVOU1NMfSAh PSAibm8iCiBDRkxBR1MrPSAtREhBVkVfTElCQ1JZUFRPCg== --------------020203020906050501060306--