Answer the question
In order to leave comments, you need to log in
Debian. Building mplayer from source
Hello. I downloaded the source codes from the official site mplayer. Installed the following packages:
libogg0 libogg-dev libvorbis0a libvorbis-dev vorbis-tools libpng12-0 liblogfile-rotate-perl debhelper fakeroot libgtk1.2 libgtk1.2-dev svgalibg1 svgalibg1-dev libsdl1.2-dev libswscale-dev libswscale0 libpostproc-dev libpostproc51 libavcodec-dev libavcodec51
. I unpacked the sources, did ./configure - it worked without errors. Ran make - error:
make[1]: *** [4xm.o] Error 1
make[1]: Leaving directory `/usr/src/mplayer-checkout-2011-04-26/ffmpeg/libavcodec'
make: *** [ffmpeg/libavcodec/libavcodec.a] Error 2
make[1]: *** [postprocess.o] Error 1
make[1]: Leaving directory `/usr/src/mplayer-checkout-2011-04-26/ffmpeg/libpostproc'
make: *** [ffmpeg/libpostproc/libpostproc.a] Error 2
Googled - didn't find anything. Randomly made make clean && ./configure && make
Now the error is different:
Now I ran make again and saw another error:
As further experiments showed, these three errors alternate in random order when running make. What's happening? How to fix?
PS
I'm not happy with the complete outputs of make - they are huge. Let me just say that the entire output is bombarded with errors like this: "error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token"
make[1]: postprocess.c:1088: error: 'PPContext' has no member named 'vChromaSubSample'*** [swscale.o] Error 1
make[1]: Leaving directory `/usr/src/mplayer-checkout-2011-04-26/ffmpeg/libswscale'
make: *** [ffmpeg/libswscale/libswscale.a] Error 2
make[1]: *** [postprocess.o] Error 1
make[1]: Leaving directory `/usr/src/mplayer-checkout-2011-04-26/ffmpeg/libpostproc'
make: *** [ffmpeg/libpostproc/libpostproc.a] Error 2
make[1]: *** [swscale.o] Error 1
make[1]: Leaving directory `/usr/src/mplayer-checkout-2011-04-26/ffmpeg/libswscale'
make: *** [ffmpeg/libswscale/libswscale.a] Error 2
I encountered exactly the same error when building postgresql on centos. There, however, the compilation took off on this error. Here they seem to be ignored. So still I have not defeated this error on centos. Google gives a bunch of posts on forums for this error, where programmers complain about gcc swearing when building their programs. All this looks like a gcc glitch, but the downgrade does nothing.
Answer the question
In order to leave comments, you need to log in
Such a question, why did you need to collect it from the source at all? In experimental, there is a fairly recent version.
What compiler do you have? Are you sure you're not building a-libraries from cross-compiler generated o-files? What flags are passed to the compiler and linker?
Forgive me for hinting off topic, but there is such a repository: www.debian-multimedia.org/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question