找回密码
 立即注册
the内核moduleskernel | 网络 2022-11-13 123 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
Linux2.4内核中,模块的编译只需求内核源码头文件,并在包括linux/modules.h头文件之前定义MODULES,且其编译、连接后生成的内核模块后缀为.o。而在2.6内核中,模块的编译需求依赖配置过的内核源码,编译进程首要会到内核源码对象下,读取顶层的Makefile文件,且编译、连接后生成的内核模块后缀为.ko

(In the Linux 2.4 kernel, the compilation of modules only requires the kernel source dock file, and the MODULES is defined before the Linux/modules. h header file is included, and the suffix of the kernel modules generated after the compilation and connection is. o. In the 2.6 kernel, the compilation requirements of modules depend on the configured kernel source code. The compilation process will first go to the kernel source code object to read the top-level Makefile file, and the suffix of the kernel module generated after compilation and connection is. ko)

[下载]11134751067.rar




上一篇:在windows环境下使用Eclipse开发UNIX所需配置
下一篇:Linux软件包的配置、编译与安装