OZONE Asylum
Forums
OZONE
Compiling kernel module for kernel 2.6.29
This page's ID:
31024
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Sorry if this is in the wrong forum. Feel free to move. I am trying to compile a module here is wat i have Module: [code] int init_module(void) { printk(KERN_INFO "Hello world 1.\n"); return 0; } void cleanup_module(void) { printk(KERN_INFO "Goodbye world 1.\n"); } [/code] and this is my makefile: [code] obj-m += hello-1.o all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean [/code] the makefile axecutes without erros but i do not get a binary file (.o or .ko) any ideas?
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »