[问题]装了ubantu7.10 声卡不 发声 ,各位大牛帮忙啊!

声卡/显卡/打印机/USB设备等硬件问题(网卡问题请发上面的网卡板块)
头像
jysong
帖子: 4
注册时间: 2007-11-01 12:29
送出感谢: 0
接收感谢: 0

[问题]装了ubantu7.10 声卡不 发声 ,各位大牛帮忙啊!

#1

帖子 jysong » 2007-11-01 18:33

我是 dell v1400的 笔记本 , 安装ubuntu7.10后,没有 声音
网络上查了一下有人说是要装一个驱动
要按照以下步骤安装声卡驱动:
具体内容如下:

wget ftp://ftp.alsa-project.org/pub/driver/a ... c1.tar.bz2

tar xvpjf alsa-driver-1.0.15rc1.tar.bz2

cd alsa-driver-1.0.15rc1

./configure --with-cards=hda-intel,emu10k1

make

sudo make install

sudo gedit /lib/modules/2.6.22-14-generic/modules.dep

Replace the start of the line with hda-intel in it so that it starts with this:

/lib/modules/2.6.22-14-generic/kernel/sound/pci/hda/snd-hda-intel.ko

Remove the directory /lib/modules/2.6.22-14-generic/Ubuntu/media/snd-hda-intel

Add the following line to /etc/modprobe.d/alsa-base:

options snd-hda-intel model=dell-3stack

可是我下载了 驱动程序,解压后
输入
./configure --with-cards=hda-intel,emu10k
系统提示:
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
请问这是怎么回事?我刚刚接触linux,请高手给予指导,先谢过了!!!!
头像
jysong
帖子: 4
注册时间: 2007-11-01 12:29
送出感谢: 0
接收感谢: 0

#2

帖子 jysong » 2007-11-01 18:34

查看了configure.log,不知有用没?贴出来先
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.60. Invocation command line was

$ ./configure --with-cards=hda-intel,emu10k

## --------- ##
## Platform. ##
## --------- ##

hostname = ubuntu
uname -m = i686
uname -r = 2.6.22-14-generic
uname -s = Linux
uname -v = #1 SMP Sun Oct 14 23:05:12 GMT 2007

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2082: checking for gcc
configure:2098: found /usr/bin/gcc
configure:2109: result: gcc
configure:2347: checking for C compiler version
configure:2354: gcc --version >&5
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2357: $? = 0
configure:2364: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1
--enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug
--enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
configure:2367: $? = 0
configure:2374: gcc -V >&5
gcc: '-V' option must have argument
configure:2377: $? = 1
configure:2400: checking for C compiler default output file name
configure:2427: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
configure:2082: checking for gcc
configure:2098: found /usr/bin/gcc
configure:2109: result: gcc
configure:2347: checking for C compiler version
configure:2354: gcc --version >&5
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2357: $? = 0
configure:2364: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1
--enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug
--enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
configure:2367: $? = 0
configure:2374: gcc -V >&5
gcc: '-V' option must have argument
configure:2377: $? = 1
configure:2400: checking for C compiler default output file name
configure:2427: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory


configure:2082: checking for gcc
configure:2098: found /usr/bin/gcc
configure:2109: result: gcc
configure:2347: checking for C compiler version
configure:2354: gcc --version >&5
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2357: $? = 0
configure:2364: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1
--enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug
--enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
configure:2367: $? = 0
configure:2374: gcc -V >&5
gcc: '-V' option must have argument
configure:2377: $? = 1
configure:2400: checking for C compiler default output file name
configure:2427: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory


configure:2082: checking for gcc
configure:2098: found /usr/bin/gcc
configure:2109: result: gcc
configure:2347: checking for C compiler version
configure:2354: gcc --version >&5
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2357: $? = 0
configure:2364: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1
--enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug
--enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
configure:2367: $? = 0
configure:2374: gcc -V >&5
gcc: '-V' option must have argument
configure:2377: $? = 1
configure:2400: checking for C compiler default output file name
configure:2427: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory


configure:2082: checking for gcc
configure:2098: found /usr/bin/gcc
configure:2109: result: gcc
configure:2347: checking for C compiler version
configure:2354: gcc --version >&5
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2357: $? = 0
configure:2364: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1
--enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug
--enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
configure:2367: $? = 0
configure:2374: gcc -V >&5
gcc: '-V' option must have argument
configure:2377: $? = 1
configure:2400: checking for C compiler default output file name
configure:2427: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2430: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2469: error: C compiler cannot create executables
See `config.log' for more details.
头像
woohaha
帖子: 133
注册时间: 2007-07-17 22:09
来自: 广东
送出感谢: 0
接收感谢: 0
联系:

#3

帖子 woohaha » 2007-11-19 0:31

我顶上去,我的也有同样的问题出现。

是不是没装编译环境呢??
ckcylgp
帖子: 1
注册时间: 2007-11-19 14:31
送出感谢: 0
接收感谢: 0

#4

帖子 ckcylgp » 2007-11-19 14:34

我也顶,我也是dell1400,也同样没有声音,不知道怎么回事,请帮忙
zhml84
帖子: 12
注册时间: 2007-11-19 15:58
送出感谢: 0
接收感谢: 0

#5

帖子 zhml84 » 2007-11-21 9:04

双击音量按钮,查看是否默认为静音?
evilchoose
帖子: 36
注册时间: 2008-01-06 11:35
送出感谢: 0
接收感谢: 0

#6

帖子 evilchoose » 2008-01-06 20:02

我也是一样的问题啊,什么gcc
是不是要设置什么环境变量之类的???
evilchoose
帖子: 36
注册时间: 2008-01-06 11:35
送出感谢: 0
接收感谢: 0

#7

帖子 evilchoose » 2008-01-08 9:05

我的是gateway t-6819
效果一样,我另外下载的lib和utils也是一样的,
都是这个错误...
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
怎么回事哈,高手指点下......
evilchoose
帖子: 36
注册时间: 2008-01-06 11:35
送出感谢: 0
接收感谢: 0

#8

帖子 evilchoose » 2008-01-09 11:31

确实是编译环境问题,查看内核和需要的gcc版本,安装后这个问题就解决了
但是又出现新问题,make通不过
提示问题是这样子。。。。
make dep
make[1]: Entering directory `/home/ia2ptk/tmp/alsa-driver-1.0.15'
make[2]: Entering directory `/home/ia2ptk/tmp/alsa-driver-1.0.15/acore'
copying file alsa-kernel/core/pcm.c
/home/ia2ptk/tmp/alsa-driver-1.0.15/utils/patch-alsa: 24: patch: not found
make[2]: *** [pcm.c] 错误 1
make[2]: Leaving directory `/home/ia2ptk/tmp/alsa-driver-1.0.15/acore'
make[1]: *** [dep] 错误 1
make[1]: Leaving directory `/home/ia2ptk/tmp/alsa-driver-1.0.15'
make: *** [include/sndversions.h] 错误 2

高手救命啊,我整了将近4天了。。。。
还是没有声音,oss,alsa都试了n次。。。
头像
skyx
论坛版主
帖子: 9203
注册时间: 2006-12-23 13:46
来自: Azores Islands
送出感谢: 0
接收感谢: 1 次
联系:

#9

帖子 skyx » 2008-01-09 11:35

dell 1400 北美版应有  oem 版ubuntu 安装盘,装上就可用的。

另,ubuntu 英文论坛有dell 讨论专区,非常全。
no security measure is worth anything if an attacker has physical access to the machine
头像
juhongqiang
帖子: 96
注册时间: 2008-02-17 20:02
送出感谢: 0
接收感谢: 0
联系:

7楼的 你好

#10

帖子 juhongqiang » 2008-02-28 0:07

我也是用的 6819 加我QQ吧 530481933
你的电脑的 屏幕亮度 能调么
头像
juhongqiang
帖子: 96
注册时间: 2008-02-17 20:02
送出感谢: 0
接收感谢: 0
联系:

#11

帖子 juhongqiang » 2008-02-28 0:10

evilchoose 写了:我的是gateway t-6819
效果一样,我另外下载的lib和utils也是一样的,
都是这个错误...
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
怎么回事哈,高手指点下......
咱的声卡是什么型号的啊 还有 键盘的类型选的哪个啊 屏幕的亮度 不能调 是不是是键盘的类型不对,加个好友吧 以后有问题能 找你帮个忙啊 530481933
anandayang
帖子: 138
注册时间: 2008-01-24 16:24
送出感谢: 0
接收感谢: 0

#12

帖子 anandayang » 2008-02-28 10:09

你patch命令找不到, 装一个吧
1.0.16rc1都出来了, 为什么不用最新的呢
头像
cnshzj007
帖子: 685
注册时间: 2006-05-24 21:38
来自: 上海
送出感谢: 0
接收感谢: 0
联系:

#13

帖子 cnshzj007 » 2008-02-28 10:14

在这个论坛搜索D630 sound,试试,我记得在ubuntu wiki英文上有相关方法。
我只是一个ARCH的FANS,来自RH和UBUNTU的滋润!
头像
cnshzj007
帖子: 685
注册时间: 2006-05-24 21:38
来自: 上海
送出感谢: 0
接收感谢: 0
联系:

#14

帖子 cnshzj007 » 2008-02-28 10:23

https://wiki.ubuntu.com/Gutsy_Intel_HD_Audio_Controller

就是这个。自己找有你对应的型号吗?嘿嘿
我只是一个ARCH的FANS,来自RH和UBUNTU的滋润!
头像
jysong
帖子: 4
注册时间: 2007-11-01 12:29
送出感谢: 0
接收感谢: 0

#15

帖子 jysong » 2008-05-08 12:05

多年没来了,没想到有这么多人有同样的问题。
其实就是没有编译环境的问题
我后来,下载一个build essential就好了
回复

回到 “常用硬件支持”