Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 09-21-2005, 05:30 AM   #1
Registered: Jan 2005
Posts: 55

Rep: Reputation: 15
compile drivers help!

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, 06:09 AM   #2
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.)
Lokk in the readmes for more options and parameters. After cofiguring finishes successfully,
When its also finished successfully
make install
Be warned, these are only generic. Always refer to the documentation related.
Old 09-21-2005, 08:49 AM   #3
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?


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

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