Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试进入内核模块编程。经过一番研究,我有点困惑。我的问题是,我需要内核源代码来进行模块编程吗?
另外,如果是,在编译完我编写的模块后是否需要重新编译内核?
我需要内核源代码来进行模块编程吗?
您需要内核头文件,通常我使用: $ sudo apt-get install build-essential linux-headers-$(uname -r)
不