compile linux 2.6 module
来源:互联网 发布:免费php分类信息系统 编辑:程序博客网 时间:2024/05/18 02:55
compile linux 2.6 module
write a simple moudle: quark.c
write a Makefile:
make it:
write a simple moudle: quark.c
- #include <linux/version.h>
- #include <linux/module.h>
- #include <linux/types.h>
- #include <linux/sched.h>
- int __init quark_init(void)
- {
- return 0;
- }
- void __exit quark_exit(void)
- {
- }
- module_init(quark_init);
- module_exit(quark_exit);
write a Makefile:
- obj-m=quark.o
make it:
- make -C /lib/modules/$(uname -r)/build/ SUBDIRS=$(pwd) modules
- compile linux 2.6 module
- linux kernel Module compile about "Hello, altercrazy"
- compile only one kernel module *.ko in linux
- Cross compile the kernel module
- compile module with freescale LTIB
- nginx rtmp module install compile
- Android—Step by step - Compile kernel module for Samsung Galaxy S3 (Linux)
- How to: Compile Linux kernel 2.6
- How to: Compile Linux kernel 2.6
- How to: Compile Linux kernel 2.6
- How to: Compile Linux kernel 2.6
- module compile在redhat 9 kernel 2.4.20与2.6.20的差异
- Compile linux kernel source
- Compile Linux Kernel Modules
- Compile Linux kernel
- linux compile problem
- linux kernel compile
- openssl compile on linux
- 梦幻西游老朋友
- 番茄”为什么会凋谢?
- 过完河迅速拆桥 微软Silverlight奥运一结束即遭NBC抛弃
- Definition of Dev Testing
- WebKit项目全面紧急动员 为Chrome打好基础
- compile linux 2.6 module
- AV-Test测试:OneCare位列16 瑞星垫底
- 良好的程序设计习惯
- ubuntu linux shell下删除目录命令
- 工作流系统全面介绍
- 收集面试的笔试,机试题目
- 32位系统上使用64位变量需要注意
- perl脚本之------向/etc/aliases中添加/删除邮件组
- perl脚本之------向/etc/aliases邮件组添加删除用户