Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 01-19-2006, 02:08 AM   #1
LQ Newbie
Registered: Apr 2005
Location: India
Posts: 5

Rep: Reputation: 0
need help in writing Makefile for module in 2.6 kernel


I want to make a module for 2.6 kernel, but it involves first making libraries and then ld all .o and .a . How can I do it in 2.6 kernel since the way we write Makefile is completely different from that for 2.4 kernel.

I will appreciate your support.

Old 01-19-2006, 08:35 AM   #2
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
Check out Chapter 3 of Linux Device Drivers 3rd Edition. This book is a great reference for writing device drivers, and it is free in PDF form.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write makefile for module in 2.6 kernel which builds and uses libraries videsh Linux - Distributions 1 01-19-2006 03:57 PM
need help in writing Makefile for module in 2.6 kernel videsh Linux - Software 3 01-19-2006 08:30 AM
Require a Makefile for kernel module programs b123coder Linux - Newbie 1 12-28-2004 11:11 AM
creating Makefile with multiple kernel module files b123coder Programming 0 12-26-2004 09:41 AM
module makefile for c++ in kernel 2.6 yuhuahe Linux - Software 0 04-14-2004 07:03 PM

All times are GMT -5. The time now is 10:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration