内核模块编程WARNING:"func"[modulename]. undefined
[root@localhost TestTsp]# make
make -C /usr/src/kernels/2.6.18-194.32.1.el5-i686 M=/home/kai/Desktop/TSM/TestTsp modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-194.32.1.el5-i686'
Building modules, stage 2.
MODPOST
WARNING: "Tspi_TCM_GetTestResult" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_TCM_GetCapability" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_TCM_SelfTestFull" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_TCM_CreateEndorsementKey" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_NV_DefineSpace" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_Hash_GetHashValue" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_TCM_GetEventLog" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_NV_WriteValue" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_Hash_VerifySignature" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_PcrComposite_GetCompositeHash" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_TCM_GetAuditDigest" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_TCM_ReadCounter" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_Policy_AssignToObject" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_TCM_GetRandom" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_TCM_CreateCounter" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_SetAttribUint32" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_TCM_PcrRead" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_TCM_TakeOwnership" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_Context_FreeMemory" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_Hash_Sign" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_Data_Unenvelop" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_TCM_PcrExtend" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_NV_ReadValue" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_TCM_PcrReset" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_TCM_ReadCurrentTicks" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_Hash_UpdateHashValue" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_TCM_SetStatus" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_TCM_GetPubEndorsementKey" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_NV_ReleaseSpace" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_TCM_GetEvent" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_GetPolicyObject" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_TCM_Quote" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_Policy_SetSecret" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_PcrComposite_SelectPcrIndex" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_TCM_ClearOwner" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_TCM_GetEvents" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_ChangeAuth" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
WARNING: "Tspi_Hash_TickStampBlob" [/home/kai/Desktop/TSM/TestTsp/kmain.ko] undefined!
CC /home/kai/Desktop/TSM/TestTsp/kmain.mod.o
LD [M] /home/kai/Desktop/TSM/TestTsp/kmain.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-194.32.1.el5-i686'
请问这中问题怎么解决?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要被别的模块引用的函数要EXPORT_SYMBOL(XXXXXXXX);