kldload hwpmc.ko fails with link_elf_obj: symbol linker_hwpmc_list_objects undefined



-----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@xxxxxxxxxxx> http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHTbNKhcUczkLqiksRAuM7AKCYeJRiWfsGO5iAgznhLXLCJIJ78ACffSZE
FRp8VRP2CxZULBtCqyHOo3c=
=ebEo
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Person new to FreeBSD needs help...
    ... It comes up when the system can't find a bootable kernel; ... It sounds like it's a pretty cut and dried install. ... Person new to FreeBSD needs help... ... > out what is going wrong, but it wasn't far from "unable to load ...
    (freebsd-questions)
  • Unable to load a kernel !
    ... Unable to load a kernel! ... Booting from CD FreeBSD seems to install without problems. ...
    (freebsd-questions)
  • Re: Compiling in sound driver in kernel
    ... What is the exact error message that you get? ... So the kernel now builds correctly with 'device sound' and 'device ... should not be able to load the module. ... FreeBSD is a registered trademark of The FreeBSD Foundation. ...
    (freebsd-questions)
  • Re: kldload hwpmc.ko fails with link_elf_obj: symbol linker_hwpmc_list_objects undefined
    ... Hash: SHA1 ... With a fresh 7.0-BETA3 build it seems to be unable to load hwpmc.ko into ... kernel. ...
    (freebsd-current)
  • error: symbol ether_poll_register undefined
    ... I'm trying to port Click modular router to FreeBSD 7.0. ... Along the way, I changed it quite a bit, but I managed to get it to compile. ... Well, when I try to load it, this is what I get: ... I assume that ether_poll_register should be in the kernel. ...
    (freebsd-questions)