免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 699 | 回复: 7
打印 上一主题 下一主题

声卡的问题...请高手赐教 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-04-17 17:55 |只看该作者 |倒序浏览
大虾们..小弟是一个Linux初学者对于这个东西还不熟悉,今天我在安装声卡的时候遇上了点麻烦,,,请个位帮小弟分析一下以及告诉我解决的方法..
[root@LongMax alsa-driver-0.9.2]# ./configure
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable cc found in $PATH
[root@LongMax alsa-driver-0.9.2]# make install
make dep
make[1]: Entering directory `/tmp/alsa-driver-0.9.2'
make[2]: Entering directory `/tmp/alsa-driver-0.9.2/acore'
Makefile:18: /usr/src/linux-2.4.18-3/alsa-driver-0.9.2/alsa-kernel/core/Makefile: 没有那个文件或目录
Makefile:20: /usr/src/linux-2.4.18-3/alsa-driver-0.9.2/Rules.make: 没有那个文件
或目录
make[2]: *** No rule to make target `/usr/src/linux-2.4.18-3/alsa-driver-0.9.2/Rules.make'.  Stop.
make[2]: Leaving directory `/tmp/alsa-driver-0.9.2/acore'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/tmp/alsa-driver-0.9.2'
make: *** [include/sndversions.h] Error 2
唉,,,我弄了一个下午都是 这样..人都快了崩溃了..到现在我的linux还是个哑巴~大家救救我
adminlxf 该用户已被删除
2 [报告]
发表于 2005-04-17 18:48 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
3 [报告]
发表于 2005-04-17 19:24 |只看该作者

声卡的问题...请高手赐教

我去试一下,呵呵...谢谢你```一会要是搞不定还会找你嘿嘿~

论坛徽章:
0
4 [报告]
发表于 2005-04-17 22:25 |只看该作者

声卡的问题...请高手赐教

kernel source code 装了没有?

The following are steps to enable alsa work on FC1。

1. Prerequisites:
Ensure "soundcore" is enabled as module in kernel. You can use command `modinfo soundcore`to check it, the default kernel of FC1 has enabled it.  
Ensure linux kernel source code has been installed and  /usr/src/linux/.config file exists

2.  Install   alsa-driver
1>;#tar jxvf  alsa-driver-0.9.8.tar.tar
2>;#cd alsa-driver-0.9.8
3>;#./configure --with-cards=via82xx --with-sequencer=yes
4>;#mkdir -p include/linux
5>;#touch include/linux/workqueue.h
6>;#make; make install

Notes: step 4>;. 5>; should be done on FC1. Otherwise,   `modprobe snd-via82xx` will fail for "unresolved symbol schedule_work"

3. Install alsa-lib
#tar jxvf alsa-lib-0.9.8.tar.tar
#cd alsa-lib-0.9.8
# ./configure;make;make install

4. Install alsa-utils
#tar jxvf alsa-utils-0.9.8.tar.tar
#cd alsa-lib-0.9.8
# ./configure; make; make install

5.config /etc/modules.conf
#cd alsa-driver-0.9.8/utils/
#./alsaconf
press enter till end, then audio config information will write to /etc/modules.conf. The original moduels.conf will be saved as /etc/modules.conf.old.
Combine the content of modules.conf.old and modules.conf together as moduels.conf.

#modprobe snd-via82xx;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss
you can add modprobe command above into /etc/rc.d/rc.local
Then audio modules will automatically load when startup.

6 Unmute volume , save and reload the config.
The volume of mixer is set as mute by default, so we should use the util----alsamixer
After installing alsa-util
#alsamixer
Direction key will adjust volume, ‘m' key will switch mute and unmute.  ‘Esc' key will quit and save.

Store volume control
#alsactl store

Add the command below into /etc/rc.d/rc.local, thus the audio config will reload when restart up.
#alsactl restore

论坛徽章:
0
5 [报告]
发表于 2005-04-17 22:40 |只看该作者

声卡的问题...请高手赐教

系統內似是沒有gcc的工具...
先安裝gcc開發工具先吧.


  1. [root@LongMax alsa-driver-0.9.2]# ./configure
  2. checking for gcc... no
  3. checking for cc... no
  4. checking for cc... no
  5. checking for cl... no
复制代码

论坛徽章:
0
6 [报告]
发表于 2005-04-21 16:58 |只看该作者

声卡的问题...请高手赐教

启动KUDZU服务,这样你每次启动系统时,它会给你检测硬件设备的,就像W$中的硬件检测一样

论坛徽章:
0
7 [报告]
发表于 2005-04-21 17:01 |只看该作者

声卡的问题...请高手赐教

另外,你如果没有GCC的话,这事情好像就比较玄!!!不妨装一个上去,反正你要用到的

论坛徽章:
0
8 [报告]
发表于 2005-04-21 20:12 |只看该作者

声卡的问题...请高手赐教

还不如用oss,省的烦,有的烂声卡死活装不上。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP