LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2003, 04:18 PM   #1
davescafe
LQ Newbie
 
Registered: Jan 2003
Posts: 1

Rep: Reputation: 0
Compiling A Sound Card Driver From .h And .c Files


I am converting my main workstation from Windows XP to Red Hat Linux 8.0. This is my first experience with Linux.

After installing Red Hat 8.0, I logged-in to KDE and was greeted with the following "Informational - artsmessage":

Sound server informational message:
Error while initializing the sound driver:
can't start sound i/o
The sound server will continue, using the null output device.

I cannot hear sound from my speakers, and I presume that the driver did not load correctly. Using Red Hat's "Sound Card Configuration" I can see that my card uses a Cirrus Logic CS 4614 chip. I was happy to find a downloadable driver on the Cirrus Logic website specifically for this chip and the Linux 2.4x kernel. However, inside the downlad package, there were only .h and .c files. There was no make file, no readme, and no info files. I am not sure what to do now. I assume that I need to compile the driver somehow. I have two books on Linux which, despite their high cost, provide only snippets of the info I need to really get up and running, and neither mentions anything about compiling with .h or .c files. I know the Internet is a great resource, but my searches have not been successful.

If anyone knows how I can compile a driver using these .h and .c files, or if anyone can point me to a reference (in print or on the Internet or anywhere), it would be music to my ears.

Thank you very much,

Dave

Last edited by davescafe; 01-28-2003 at 04:28 PM.
 
Old 01-28-2003, 08:04 PM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
i guess type
gcc nameofcfile.c -o nameyouwantforoutputfile
 
  


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
Compiling driver files AngryDwarf Linux - Hardware 1 09-28-2005 08:05 AM
sound card help ESS1978 Sound Card - maestro driver fatrandy13 Linux - Hardware 1 05-03-2005 02:43 AM
compiling rtl8139.c driver for NIC card stielinc Linux - Networking 4 02-11-2005 11:10 PM
Compiling r8169.c network card driver on Alpha... Minuteman Linux - Hardware 1 04-03-2004 07:59 AM
Newbie needs help compiling an alsa sound driver Steve9999 Linux - Newbie 3 02-26-2004 12:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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