Re: kldload hwpmc.ko fails with link_elf_obj: symbol linker_hwpmc_list_objects undefined



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

_______________________________________________
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

  • kldload hwpmc.ko fails with link_elf_obj: symbol linker_hwpmc_list_objects undefined
    ... With a fresh 7.0-BETA3 build it seems to be unable to load hwpmc.ko into ... kernel. ... FreeBSD - The Power to Serve! ...
    (freebsd-current)
  • Re: Very high load on P4 machines with 2.4.28
    ... the machine with the highest load average is the ... a load of 0.75, pushing out 14Mbit/s. ... > increases your wait I/O time in this particular application. ... nothing that would suggest such change, but then I'm not a kernel hacker, I ...
    (Linux-Kernel)
  • Re: Dynamically loading binaries in Kernel mode.
    ... Right now only the kernel will load ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ...
    (microsoft.public.development.device.drivers)
  • Xorg xserver blank using one kernel, but ok using another
    ... because xorg.conf is the same whether it's runinng under Xen or a normal kernel. ... The main difference beteween the blank screen and the ok screen is that when the display works, I get "VESA VBE DDC supported" but when it goes blank I get "VESA VBE DDC not supported". ... # This file was generated by dexconf, the Debian X Configuration tool, using ... Load "bitmap" ...
    (Debian-User)
  • Re: Xorg xserver blank using one kernel, but ok using another
    ... because xorg.conf is the same whether it's runinng under Xen or a normal kernel. ... The main difference beteween the blank screen and the ok screen is that when the display works, I get "VESA VBE DDC supported" but when it goes blank I get "VESA VBE DDC not supported". ... # This file was generated by dexconf, the Debian X Configuration tool, using ... Load "bitmap" ...
    (Debian-User)