LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-21-2005, 04:30 AM   #1
Itachi
Member
 
Registered: Jan 2005
Posts: 55

Rep: Reputation: 15
compile drivers help!


Hi,
I'm a linux newbie.

i have a few .h and .c drivers files from a retailer for a camera.
can someone guide me on how and where to compile these files to?

i'm using red hat btw.

Thanks in advance!
 
Old 09-21-2005, 05:09 AM   #2
SkyEye
Member
 
Registered: Sep 2005
Location: Sri Lanka
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441

Rep: Reputation: 40
Do a "ls" and see wheather theres a "Makefile" or something like that. If so I shall tell you the typical steps. But read the READMEs and Manuals available, they will contain the information you need. And look for a file "configure" with eXecute permissions set.

The following would typically work (assuming that you are currently in that directory.)
Code:
./configure
Lokk in the readmes for more options and parameters. After cofiguring finishes successfully,
Code:
make
When its also finished successfully
Code:
make install
Be warned, these are only generic. Always refer to the documentation related.
 
Old 09-21-2005, 07:49 AM   #3
Itachi
Member
 
Registered: Jan 2005
Posts: 55

Original Poster
Rep: Reputation: 15
There's no make file or Readme, only .c and .h files. and there is no main() in any of the .c files.
what should i do in this case?
 
  


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
Can't Compile ALSA Drivers AFI_Flame Linux - General 3 07-01-2004 02:59 PM
Aureal drivers won't compile CyberMacro Linux - General 0 08-19-2003 05:19 AM
re-compile Nvidia drivers niton Linux - Newbie 2 07-20-2002 06:58 PM
How do I compile drivers? gonus Linux - Newbie 15 04-29-2002 05:11 PM
Compile Kernal with New Drivers...How to add drivers? scgadgets Linux - General 4 09-19-2001 09:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration