LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-11-2002, 10:47 AM   #1
Luis Alvarado
LQ Newbie
 
Registered: Jul 2002
Posts: 1

Rep: Reputation: 0
problems compiling ac97_codec.c in Redhat 7.3


I tried compiling ac97_codec.c for my Compaq Presario Sound Card (using the command gcc ac97_codec.) and it gives the following errors:


In file included from /usr/include/linux/timex.h:152,
from /usr/include/linux/sched.h:14,
from /usr/include/linux/delay.h:12,
from ac97_codec.c :49:
/usr/include/asm/timex.h:10:21: asm/msr.h: No such file or directory
In file included from ac97_codec.c:49:
/usr/include/linux/delay.h:13:23: asm/delay.h: No such file or directory
ac97_codec.c:51:25: asm/uaccess.h: No such file or directory


If someone has come up with the same problem, I would appreciate all the help you can provide.
 
Old 07-14-2002, 08:07 PM   #2
pbharris
Member
 
Registered: Apr 2001
Location: chicago, IL
Distribution: debian, redhat
Posts: 280

Rep: Reputation: 30
hello,
i have not had theis problem - but can i ask if you have kernel headers installed ?
 
Old 07-14-2002, 08:57 PM   #3
RefriedBean
Member
 
Registered: Jun 2002
Location: N 37° 33.327 E 126° 55.650
Distribution: Gentoo, Slackware, OpenZaurus
Posts: 186

Rep: Reputation: 31
Hi!
You'll probably want to recompile your whole kernel. And include support for your sound card.

Look here for a checklist http://teachkorea.netfirms.com/kernel.htm

Good Luck!
RefriedBean
 
  


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
Problems compiling 2.6.x kernel on RedHat 8.0 africantiger Linux - Newbie 0 07-13-2004 09:42 PM
Problems installing amsn (TK compiling problems) JNewton Linux - Software 0 05-24-2004 12:07 PM
Compiling redhat 9.0 cholzsc1 Linux - Software 10 07-14-2003 06:50 PM
Problems compiling .c files in RedHat Linux 8.0 evanmac Linux - General 1 03-01-2003 11:05 PM
Problems compiling RedHat 7.2 RichardP Linux - Newbie 6 01-30-2002 10:47 AM

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

All times are GMT -5. The time now is 05:30 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
Open Source Consulting | Domain Registration