Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 02-16-2007, 06:12 AM   #1
Registered: Sep 2005
Location: india
Distribution: Fedora Core 2
Posts: 62

Rep: Reputation: 15
Module compilation in Linux - 2.6.17

Hi All
Is there any difference between module compilation procedure for Linux 2.6.9 and 2.6.17?

I compile my module for Linux 2.6.17 as below.
1. compile with -c option as we do in 2.6.9
2. run modpost utility
3. do final linking

In doing so module gets built with following warning messages.

test1.mod.c:1: warning: target CPU does not support interworking
test1.mod.c:9: warning: missing braces around initializer
test1.mod.c:9: warning: (near initialization for `')

Now when I insert this module,I dont get the print messages which I put in module init function.
Could anyone please help me out in this regard?


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
Module compilation/linking in linux 2.6 linux_3008 Linux - Kernel 0 10-05-2006 02:41 AM
module compilation fails taux Programming 1 02-23-2006 05:50 PM
Module Compilation thirumalai Linux - Software 0 08-13-2004 01:20 AM
module compilation aliyildiz Linux - General 6 03-31-2003 04:11 PM
module compilation aliyildiz Linux - General 0 12-08-2001 02:53 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 10:36 AM.

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
Open Source Consulting | Domain Registration