Steward
分享是一種喜悅、更是一種幸福
驅動程式 - Linux Device Driver(LDD) - 解決Error: modpost: __stack_chk_guard undefined!問題
.config
CONFIG_HAVE_STACKPROTECTOR=y CONFIG_STACKPROTECTOR=y CONFIG_STACKPROTECTOR_STRONG=y
問題如下:
ERROR: modpost: "__stack_chk_guard" undefined!
解法如下:
-fno-stack-protectorP.S. 記得不要修改.config檔案內容,避免Kernel Panic