From owner-freebsd-current@FreeBSD.ORG Wed Nov 28 18:28:35 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 136A516A46B for ; Wed, 28 Nov 2007 18:28:35 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id B2EA313C4D1 for ; Wed, 28 Nov 2007 18:28:34 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id 2B279EC267F; Thu, 29 Nov 2007 02:28:45 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id s14SHbGq5WU4; Thu, 29 Nov 2007 02:28:40 +0800 (CST) Received: from charlie.delphij.net (71.5.7.139.ptr.us.xo.net [71.5.7.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 6EF2FEC267A; Thu, 29 Nov 2007 02:28:39 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:x-enigmail-version:content-type:content-transfer-encoding; b=oREUx0yTVrj0rHi/BTOVxIX0X1TE/HufB8Zk61MJFcbqDyJ4VGUa3AOjqfxunHi0L ZjrhwAI1H/FOH12qX+7qA== Message-ID: <474DB34A.7000708@delphij.net> Date: Wed, 28 Nov 2007 10:28:26 -0800 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: FreeBSD Current X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Cc: jkoshy@FreeBSD.org, MQ Subject: kldload hwpmc.ko fails with link_elf_obj: symbol linker_hwpmc_list_objects undefined X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Nov 2007 18:28:35 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear colleagues, With a fresh 7.0-BETA3 build it seems to be unable to load hwpmc.ko into kernel. I got this: link_elf_obj: symbol linker_hwpmc_list_objects undefined and it seems that the symbol depends on HWPMC_HOOKS. Shall we provide some mechanism to prevent building hwpmc.ko if it is not defined, or make it a default option for GENERIC? Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHTbNKhcUczkLqiksRAuM7AKCYeJRiWfsGO5iAgznhLXLCJIJ78ACffSZE FRp8VRP2CxZULBtCqyHOo3c= =ebEo -----END PGP SIGNATURE-----