[MPlayer-users] help on AMD 64 bit compile for playing wmv

Jerry Geis geisj at pagestation.com
Thu Jun 7 23:05:21 CEST 2007


>Hi Jerry Geis!

> On 2007.06.07 at 16:21:20 -0400, Jerry Geis wrote next:

>>/ ./configure --disable-ivtv --enable-largefiles --target=athlon_xp 
/>>/ --cc="$MPLAYERCC -m32" --as="as -32" --with-extralibdir=/usr/lib; make; 
/>>/ make install
/>>/ 
/>>/ If I then do "mplayer movie.wmv" it playes the movie with sound...
/>>/ 
/>>/ If I then do "mplayer -ao alsa:noblock movie.wmv" or
/>>/ "mplayer -ao alsa movie.wmv" it plays the movie but NO sound.
/>>/ 
/>>/ What is missing here.
/
>configure and mplayer's output.

>(a wild guess: alsa development packages?)

>-- 

>Vladimir


I am using alsa-1.0.14.

mplayer is not finding that.

the file /usr/include/alsa/asoundlib.h
and /usr/include/sys/asoundlib.h both exist.

How do I get mplayer to recognize alsa?

Thanks - I am soooo close.

Jerry



##########################################

============ Checking for ALSA audio ============

#include <sys/asoundlib.h>
#if !((SND_LIB_MAJOR == 0) && (SND_LIB_MINOR == 5))
#error "alsa version != 0.5.x"
#endif
int main(void) { return 0; }

gcc34 -m32 -O4 -march=athlon-xp -mtune=athlon-xp -pipe -ffast-math -fomit-frame-pointer  -I/usr/include   -L/usr/lib -o /tmp/mplayer-conf-3759-31048.o /tmp/mplayer-conf-8182-31048.c -lasound -ldl -lpthread
In file included from /tmp/mplayer-conf-8182-31048.c:1:
/usr/include/sys/asoundlib.h:1:2: warning: #warning This header is deprecated, use <alsa/asoundlib.h> instead.
/tmp/mplayer-conf-8182-31048.c:3:2: #error "alsa version != 0.5.x"

ldd /tmp/mplayer-conf-3759-31048.o
ldd: /tmp/mplayer-conf-3759-31048.o: No such file or directory


#include <sys/asoundlib.h>
#if !((SND_LIB_MAJOR == 0) && (SND_LIB_MINOR == 9))
#error "alsa version != 0.9.x"
#endif
int main(void) { return 0; }

gcc34 -m32 -O4 -march=athlon-xp -mtune=athlon-xp -pipe -ffast-math -fomit-frame-pointer  -I/usr/include   -L/usr/lib -o /tmp/mplayer-conf-3759-31048.o /tmp/mplayer-conf-8182-31048.c -lasound -ldl -lpthread
In file included from /tmp/mplayer-conf-8182-31048.c:1:
/usr/include/sys/asoundlib.h:1:2: warning: #warning This header is deprecated, use <alsa/asoundlib.h> instead.
/tmp/mplayer-conf-8182-31048.c:3:2: #error "alsa version != 0.9.x"

ldd /tmp/mplayer-conf-3759-31048.o
ldd: /tmp/mplayer-conf-3759-31048.o: No such file or directory


#include <alsa/asoundlib.h>
#if !((SND_LIB_MAJOR == 0) && (SND_LIB_MINOR == 9))
#error "alsa version != 0.9.x"
#endif
int main(void) { return 0; }

gcc34 -m32 -O4 -march=athlon-xp -mtune=athlon-xp -pipe -ffast-math -fomit-frame-pointer  -I/usr/include   -L/usr/lib -o /tmp/mplayer-conf-3759-31048.o /tmp/mplayer-conf-8182-31048.c -lasound -ldl -lpthread
/tmp/mplayer-conf-8182-31048.c:3:2: #error "alsa version != 0.9.x"

ldd /tmp/mplayer-conf-3759-31048.o
ldd: /tmp/mplayer-conf-3759-31048.o: No such file or directory


#include <sys/asoundlib.h>
#if !((SND_LIB_MAJOR == 1) && (SND_LIB_MINOR == 0))
#error "alsa version != 1.0.x"
#endif
int main(void) { return 0; }

gcc34 -m32 -O4 -march=athlon-xp -mtune=athlon-xp -pipe -ffast-math -fomit-frame-pointer  -I/usr/include   -L/usr/lib -o /tmp/mplayer-conf-3759-31048.o /tmp/mplayer-conf-8182-31048.c -lasound -ldl -lpthread
In file included from /tmp/mplayer-conf-8182-31048.c:1:
/usr/include/sys/asoundlib.h:1:2: warning: #warning This header is deprecated, use <alsa/asoundlib.h> instead.
/usr/bin/ld: skipping incompatible /usr/lib64/libasound.so when searching for -lasound
/usr/bin/ld: cannot find -lasound
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-3759-31048.o
ldd: /tmp/mplayer-conf-3759-31048.o: No such file or directory


#include <alsa/asoundlib.h>
#if !((SND_LIB_MAJOR == 1) && (SND_LIB_MINOR == 0))
#error "alsa version != 1.0.x"
#endif
int main(void) { return 0; }

gcc34 -m32 -O4 -march=athlon-xp -mtune=athlon-xp -pipe -ffast-math -fomit-frame-pointer  -I/usr/include   -L/usr/lib -o /tmp/mplayer-conf-3759-31048.o /tmp/mplayer-conf-8182-31048.c -lasound -ldl -lpthread
/usr/bin/ld: skipping incompatible /usr/lib64/libasound.so when searching for -lasound
/usr/bin/ld: cannot find -lasound
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-3759-31048.o
ldd: /tmp/mplayer-conf-3759-31048.o: No such file or directory

Result is: no 
##########################################




More information about the MPlayer-users mailing list