O erro real é:
% bl0ck_qu0te% Eu acho que você precisa instalar libasound2-dev
:
sudo apt-get install libasound2-dev
No Ubuntu 14.04, executo ./configure --enable-gui --enable-xvid-lavc --enable-xv --enable-alsa
para instalar mplayer
, quando se trata de Checking for FFmpeg ....
, o erro é exibido. Eu cat config.log
, os detalhes do erro estão abaixo:
============ 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
Eu não sei o que está acontecendo, por favor, ajude
O erro real é:
% bl0ck_qu0te% Eu acho que você precisa instalar libasound2-dev
:
sudo apt-get install libasound2-dev
Se você quiser criar mplayer
do código-fonte, eu instalaria todas as dependências de construção:
sudo apt-get build-dep mplayer