Re: Getting 'modpost: "cc_mkenc" [...] undefined!' when compiling out of tree kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the replies Justin and Stan.

First off, sorry I mistook the package I was using, it is kernel-devel for those kernels.

The build we run is actually part of our CI, we don't have access to the full kernel on it, just to the sources available as part of the kernel-devel packages, so building the driver as part of the kernel itself would come with some additional challenges that we might not want to take on at the moment. We also build a separate eBPF probe that is not failing so we might fallback to using just that for 5.18+ kernels.

It does strike me as weird that I've not been able to find anyone else having this problem when building out of tree kernel modules. Guess I'll have to go hunt down what piece of the code is trying to use cc_mkenc and try to get rid of it, since I have no compelling argument for exporting the symbol other than "my module doesn't compile"
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux