From owner-svn-src-all@FreeBSD.ORG Sun Dec 12 11:12:31 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 CE36A106566C; Sun, 12 Dec 2010 11:12:31 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (lev.vlakno.cz [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 7932B8FC12; Sun, 12 Dec 2010 11:12:30 +0000 (UTC) Received: from lev.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 68DA29CB0E9; Sun, 12 Dec 2010 12:12:29 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by lev.vlakno.cz (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dK0D-bgL8sAK; Sun, 12 Dec 2010 12:12:28 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 874639CB166; Sun, 12 Dec 2010 12:12:28 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.4/8.14.4/Submit) id oBCBCSRY053500; Sun, 12 Dec 2010 12:12:28 +0100 (CET) (envelope-from rdivacky) Date: Sun, 12 Dec 2010 12:12:28 +0100 From: Roman Divacky To: Shteryana Shopova Message-ID: <20101212111228.GA52492@freebsd.org> References: <201012081430.oB8EUP8J006067@svn.freebsd.org> <5A7A3A47-18EF-4634-AA83-1501EF433A57@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: src-committers@FreeBSD.org, ed@FreeBSD.org, Garrett Cooper , svn-src-head@FreeBSD.org, svn-src-all@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 11:12:31 -0000 On Sat, Dec 11, 2010 at 05:42:23PM +0200, Shteryana Shopova wrote: > Hi, > > 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 I see the symbol being defined in snmpd/main.c but I fail to find it in any (gcc) compiled library - where should it be? could you show me "readelf -a main.o" for gcc and clang compiled snmp lib? or at least show me where in the source I can issue "make" to get it :) thank you! roman