kldload hwpmc.ko fails with link_elf_obj: symbol linker_hwpmc_list_objects undefined

From: Xin LI <delphij_at_delphij.net>
Date: Wed, 28 Nov 2007 10:28:26 -0800
-----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 <delphij_at_delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHTbNKhcUczkLqiksRAuM7AKCYeJRiWfsGO5iAgznhLXLCJIJ78ACffSZE
FRp8VRP2CxZULBtCqyHOo3c=
=ebEo
-----END PGP SIGNATURE-----
Received on Wed Nov 28 2007 - 17:28:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:23 UTC