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.
|