Trying to use thread_info method listed in kernel functions (https://developer.apple.com/documentation/kernel/kernel_functions ) in a kext. But when trying to load the kext I am getting the following error.
kextlibs --undef-symbols <kext>
For all architectures:
com.apple.kpi.bsd = 15.6
com.apple.kpi.iokit = 15.6
com.apple.kpi.libkern = 15.6
com.apple.kpi.mach = 15.6
For x86_64:
1 symbol not found in any library kext:
_thread_info
Could you please let me know what is the required dependency I am missing.
Thanks