当前位置: 技术问答>linux和unix
alsa编译出错
来源: 互联网 发布时间:2016-09-23
本文导语: 我按网上的方法顺序编译alsa,编译完alsa-driver-1.0.23,alsa-lib-1.0.9都没有问题,当编译到alsa-utils-1.0.23的时候出现错误,我./configure 结果如下 checking for a BSD-compatible install... /usr/bin/install -c checking whether build enviro...
我按网上的方法顺序编译alsa,编译完alsa-driver-1.0.23,alsa-lib-1.0.9都没有问题,当编译到alsa-utils-1.0.23的时候出现错误,我./configure 结果如下
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... i686-suse-linux-gnu
checking host system type... i686-suse-linux-gnu
checking for ld used by GCC... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for cross-compiler... gcc
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread
checking for version >= 1.0.16... not present.
configure: error: Sufficiently new version of libasound not found.
我去找libasound headers 都没找到,现在电脑没声音的,求各位达人指点下这问题改怎么解决,我的OS是opensuse10.3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... i686-suse-linux-gnu
checking host system type... i686-suse-linux-gnu
checking for ld used by GCC... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for cross-compiler... gcc
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread
checking for version >= 1.0.16... not present.
configure: error: Sufficiently new version of libasound not found.
我去找libasound headers 都没找到,现在电脑没声音的,求各位达人指点下这问题改怎么解决,我的OS是opensuse10.3
|
红色部分。是否配置了更新源?那就先安装那个链接库~~
|
alsa-driver-1.0.23,alsa-lib-1.0.9
为什么alsa-lib要装1.0.9,那个libasound应该就在它里面,你先升级下它,装alsa-lib-1.0.23吧。如果要安装新的,那最好成批安装,版本对应在linux下比较重要。
为什么alsa-lib要装1.0.9,那个libasound应该就在它里面,你先升级下它,装alsa-lib-1.0.23吧。如果要安装新的,那最好成批安装,版本对应在linux下比较重要。