[问题]装了ubantu7.10 声卡不 发声 ,各位大牛帮忙啊!
- jysong
- 帖子: 4
- 注册时间: 2007-11-01 12:29
[问题]装了ubantu7.10 声卡不 发声 ,各位大牛帮忙啊!
我是 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,请高手给予指导,先谢过了!!!!
网络上查了一下有人说是要装一个驱动
要按照以下步骤安装声卡驱动:
具体内容如下:
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
查看了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.
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.
-
- 帖子: 36
- 注册时间: 2008-01-06 11:35
-
- 帖子: 36
- 注册时间: 2008-01-06 11:35
-
- 帖子: 36
- 注册时间: 2008-01-06 11:35
确实是编译环境问题,查看内核和需要的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次。。。
但是又出现新问题,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
- 论坛版主
- 帖子: 9202
- 注册时间: 2006-12-23 13:46
- 来自: Azores Islands
- 联系:
- juhongqiang
- 帖子: 96
- 注册时间: 2008-02-17 20:02
7楼的 你好
我也是用的 6819 加我QQ吧 530481933
你的电脑的 屏幕亮度 能调么
你的电脑的 屏幕亮度 能调么
- juhongqiang
- 帖子: 96
- 注册时间: 2008-02-17 20:02
咱的声卡是什么型号的啊 还有 键盘的类型选的哪个啊 屏幕的亮度 不能调 是不是是键盘的类型不对,加个好友吧 以后有问题能 找你帮个忙啊 530481933evilchoose 写了:我的是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.
怎么回事哈,高手指点下......
-
- 帖子: 138
- 注册时间: 2008-01-24 16:24
- cnshzj007
- 帖子: 685
- 注册时间: 2006-05-24 21:38
- 来自: 上海
- 联系:
- cnshzj007
- 帖子: 685
- 注册时间: 2006-05-24 21:38
- 来自: 上海
- 联系: