LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


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

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


Hi,

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.

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

Rep: Reputation: 67
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.
 
  


Reply


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 02:57 PM
need help in writing Makefile for module in 2.6 kernel videsh Linux - Software 3 01-19-2006 07:30 AM
Require a Makefile for kernel module programs b123coder Linux - Newbie 1 12-28-2004 10:11 AM
creating Makefile with multiple kernel module files b123coder Programming 0 12-26-2004 08:41 AM
module makefile for c++ in kernel 2.6 yuhuahe Linux - Software 0 04-14-2004 06:03 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:54 PM.

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