Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2007 20:17:58 +0100
From:      Kris Kennaway <kris@FreeBSD.org>
To:        d@delphij.net
Cc:        jkoshy@FreeBSD.org, FreeBSD Current <freebsd-current@freebsd.org>, MQ <antinvidia@gmail.com>
Subject:   Re: kldload hwpmc.ko fails with link_elf_obj: symbol linker_hwpmc_list_objects undefined
Message-ID:  <474DBEE6.3040303@FreeBSD.org>
In-Reply-To: <474DB34A.7000708@delphij.net>
References:  <474DB34A.7000708@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Xin LI wrote:
> -----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?

Adding it in GENERIC is probably reasonable.

Kris




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?474DBEE6.3040303>