📌 Pinned: Treat all vulnerable road users as if they were your closest family. Maintain a safe following distance from the vehicle in front (at least 2 seconds).

無法 build Linux kernel samples/bpf

In

,

Tags:



by

小結

總之,遇到問題記得先看 README.md / README.rst / README。

 

解決方式

在 linux/samples/bpf 這個資料夾裏面無法 build 出 sample 來

把編譯器的錯誤丟到 google 上面去沒有找到結果:

查看 README.rst,發現這段文字:

照著指令先回到最上層,然後 sudo make headers_install

回到 samples/bpf 重新 make 一次,DONE!


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.