В Ubuntu 14.04 я работаю ./configure --enable-gui --enable-xvid-lavc --enable-xv --enable-alsa
устанавливать mplayer
, когда дело доходит до Checking for FFmpeg ....
затем ошибка обнаруживается. Я cat config.log
, детали ошибки ниже:
============ Checking for FFmpeg ============
#include 'libavutil/x86/asm.h'
int main(void) { return 0; }
cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize /tmp/mplayer-configure--1996/tmp.c -Ilibdvdread4 -fpie -DPIC -D_REENTRANT -ffast-math -fpie -pie -lrt -lasound -ldl -lpthread -lXv -o /tmp/mplayer-configure--1996/tmp -lm
In file included from /tmp/mplayer-configure--1996/tmp.c:1:0:
ffmpeg/libavutil/x86/asm.h:30:5: warning: "ARCH_X86_64" is not defined [-Wundef]
#if ARCH_X86_64
ffmpeg/libavutil/x86/asm.h:50:7: warning: "ARCH_X86_32" is not defined [-Wundef]
#elif ARCH_X86_32
ffmpeg/libavutil/x86/asm.h:77:5: warning: "ARCH_X86_64" is not defined [-Wundef]
#if ARCH_X86_64 && defined(PIC)
ffmpeg/libavutil/x86/asm.h:93:5: warning: "HAVE_XMM_CLOBBERS" is not defined [-Wundef]
#if HAVE_XMM_CLOBBERS
ffmpeg/libavutil/x86/asm.h:105:5: warning: "ARCH_X86_64" is not defined [-Wundef]
#if ARCH_X86_64 && defined(PIC)
ffmpeg/libavutil/x86/asm.h:111:5: warning: "HAVE_INLINE_ASM_DIRECT_SYMBOL_REFS" is not defined [-Wundef]
#if HAVE_INLINE_ASM_DIRECT_SYMBOL_REFS
/usr/bin/ld: cannot find -lasound
collect2: error: ld returned 1 exit status
Я не знаю то, что продолжается, Помогите
Фактическая ошибка:
/usr/bin/ld: cannot find -lasound
я думаю, что необходимо установить libasound2-dev
:
sudo apt-get install libasound2-dev
Если бы Вы хотите создать mplayer
из источника, я установил бы все его зависимости от сборки:
sudo apt-get build-dep mplayer
Возможно, было бы самым легким следовать этому руководству по Форумам Ubuntu:
практическое руководство: Создайте svn MPlayer под последней версией выпуска Ubuntu
http://ubuntuforums.org/showthread.php?t=2149564
, и это гарантировало бы работу и полнофункциональную копию MPlayer, а также самого актуального SMPlayer...