我是靠谱客的博主 朴实龙猫,这篇文章主要介绍报错:ERROR: modpost: “__aeabi_unwind_cpp_pr1“ [/tmp/stapuOPLIl/stap_xxx.ko]undefined!,现在分享给大家,希望可以做个参考。
执行stap -ve 'probe begin { log(“hello systemtap!”) exit() }'报错:ERROR: modpost: “__aeabi_unwind_cpp_pr1” [/tmp/stapuOPLIl/stap_bdfa3bf4b2a919556ca0abc8ebe85f2e_1175.ko] undefined!”
解决方案:
- 搜索关键字“__aeabi_unwind_cpp_pr1”,找到相关定义文件,拷贝函数定义;
- 找个待编译的文件,将函数定义加进去编译,如“/home/pi/projects/kernel-building/linux-rpi-5.10.y/arch/arm/kernel/kgdb.c”
- 重新编译linux内核
- 重启设备
- 执行systemtap测试例
该报错原因是运行的内核还是原来的,应该在内核重新编译完成后重启设备就行了。
最后
以上就是朴实龙猫最近收集整理的关于报错:ERROR: modpost: “__aeabi_unwind_cpp_pr1“ [/tmp/stapuOPLIl/stap_xxx.ko]undefined!的全部内容,更多相关报错:ERROR:内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复