LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-02-2003, 02:47 PM   #1
whysyn
Member
 
Registered: Jun 2003
Location: Cleveburg, OH
Distribution: mostly Fedora
Posts: 154

Rep: Reputation: 30
Question compile kernel module without 'make'


hello guys,

i just downloaded the driver sources for my raid card and unpacked them. i was surprised to see that there were no instructions, no configure script, and no makefile.

all i got was a .c and .h file.

how can i compile this into a kernel module?

thanks!
 
Old 10-05-2003, 03:51 AM   #2
clacour
Member
 
Registered: Sep 2003
Location: Dallas, Tx, USA
Distribution: Red Hat, Gentoo, Libranet
Posts: 98

Rep: Reputation: 16
You might have to create a makefile, but try "make xyz.o", where xyz is the name of the .c file. Make implicitly understands several kinds of files, of which .c is one.

I'd also look for any kind of executable in that directory, and see if maybe they have instructions on the web site.

Another possibility: if this has the same name as something already in the kernel tree, maybe you're supposed to replace the code in the kernel source tree with this stuff. The regular kernel compile and makefiles would know what to do with it if the name was identical.

Good luck,

CHL
 
Old 01-29-2006, 01:56 AM   #3
djuhl30
Member
 
Registered: Dec 2005
Location: IRAQ (BACK @ FT HOOD NOW)
Distribution: GENTOO now
Posts: 98

Rep: Reputation: 16
Texas SUCK!!! Yeah I'm stationed at FT HOOD...
 
  


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
Kernel compile fails with make-kpkg, not with make cspos Debian 37 11-09-2005 10:11 AM
Compile in kernel or module? maginotjr Slackware 4 06-30-2005 12:54 PM
can't Compile a module under Kernel 2.4.20-8 srsairam Linux - Software 3 11-09-2004 01:45 AM
can i compile just one kernel module whithout recompiling the whole kernel? edman007 Linux - Software 3 02-17-2004 04:05 PM
compile individual kernel module snape Linux - Software 1 06-27-2001 11:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:16 AM.

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