Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > Make doesnt generate target Modules

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 07-24-2009   #1 (permalink)
Just Joined!
 
Join Date: Jul 2009
Posts: 5
Make doesnt generate target Modules

Hi all,

I am trying to buid driver modules against a custom kernel.
Actually with the same source modules are generated for 2.6 kernel source.
But when i do make with PATH set to kernel, make completes but no modules are generated for mu custom kernel.
Any idea on how to trace the issue.

Regards
Sarvesh
Sarvesh81 is offline  


Reply With Quote
Old 07-25-2009   #2 (permalink)
Linux User
 
Join Date: Jun 2008
Location: Acadiana
Posts: 334
Did make give you any error messages? If not, where did you look for your freshly built modules?
Segfault is offline   Reply With Quote
Old 07-27-2009   #3 (permalink)
Just Joined!
 
Join Date: Jul 2009
Posts: 5
Hi,
Actually trying to build ath9k modules against 2.4.20 version kernel.
But when make is done against 2.6.30 kernel, it succeds generating modules in
compat-wireless/drivers/wireless/ath9k folder.


Regards
Sarvesh
Sarvesh81 is offline   Reply With Quote
Old 07-27-2009   #4 (permalink)
Just Joined!
 
Join Date: Jul 2009
Posts: 5
Hi,

Here is the log for make:
**********************************
make KLIB=/home/prasad/project_peacock/new_lsp_blore/linux-2.4.20_mvl31_new KLIB_BUILD=/home/prasad/project_peacock/new_lsp_blore/linux-2.4.20_mvl31_new
make: *** No rule to make target `kernelversion'. Stop.
/bin/sh: line 1: test: -lt: unary operator expected
make: *** No rule to make target `kernelversion'. Stop.
/bin/sh: line 1: test: -eq: unary operator expected
make: *** No rule to make target `kernelversion'. Stop.
/bin/sh: line 1: test: -ge: unary operator expected
make: *** No rule to make target `kernelversion'. Stop.
./scripts/gen-compat-autoconf.sh config.mk > include/linux/compat_autoconf.h
make[1]: *** No rule to make target `kernelversion'. Stop.
./scripts/gen-compat-autoconf.sh: line 182: [: -le: unary operator expected
make: *** No rule to make target `kernelversion'. Stop.


Regards
Sarvesh
Sarvesh81 is offline   Reply With Quote
Old 07-27-2009   #5 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
Quote:
Originally Posted by Sarvesh81 View Post
Hi,
Actually trying to build ath9k modules against 2.4.20 version kernel.
I doubt that this would ever work. There are too many differences in a 2.4 kernel. You can't even install the compat-wireless drivers on earlier 2.6 kernels, because of kernel changes.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Old 07-27-2009   #6 (permalink)
Linux User
 
Join Date: Jun 2008
Location: Acadiana
Posts: 334
Yep, that would be correct, if I recall correctly 2.4 did not have in-kernel wireless stack.
Segfault is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:54 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2