[MPlayer-users] compile error in mplayer svn

Antonio Olivares olivares14031 at yahoo.com
Tue May 8 00:31:39 CEST 2012



--- On Sat, 5/5/12, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> From: Carl Eugen Hoyos <cehoyos at ag.or.at>
> Subject: Re: [MPlayer-users] compile error in mplayer svn
> To: mplayer-users at mplayerhq.hu
> Date: Saturday, May 5, 2012, 11:11 PM
> Antonio Olivares <olivares14031
> <at> yahoo.com> writes:
> 
> > CC    libavcodec/ptx.o
> > libavcodec/ptx.c: In function 'ptx_decode_frame':
> > libavcodec/ptx.c:61:22: error: 'PIX_FMT_REB555'
> undeclared
> 
> This line looks differently in FFmpeg since ptx.c was
> committed in 2007.
> (Remove your local changes with cd ffmpeg && git
> diff|patch -p1 -R)
> 
> Carl Eugen
> 

Dear sir, 


I have done as you have instructed, but I still get error :(

cc -MD -MP -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 -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg  -D_REENTRANT   -I/usr/include/freetype2 -c -o libmpcodecs/vd_ffmpeg.o libmpcodecs/vd_ffmpeg.c
libmpcodecs/vd_ffmpeg.c: In function 'init':
libmpcodecs/vd_ffmpeg.c:378:9: warning: 'sub_id' is deprecated (declared at ffmpeg/libavcodec/avcodec.h:1355) [-Wdeprecated-declarations]
libmpcodecs/vd_ffmpeg.c: In function 'decode':
libmpcodecs/vd_ffmpeg.c:872:6: warning: return discards 'const' qualifier from pointer target type [enabled by default]
{standard input}: Assembler messages:
{standard input}:1759: Error: unknown pseudo-op: `.cfi_remember_qtate'
{standard input}:1775: Error: CFI state restore without previous remember
make: *** [libmpcodecs/vd_ffmpeg.o] Error 1

[students at optiplex-gx280-e213-1 mplayer]$ cd ffmpeg/
[students at optiplex-gx280-e213-1 ffmpeg]$ git diff|patch -p1 -R
[students at optiplex-gx280-e213-1 ffmpeg]$ cd ..
[students at optiplex-gx280-e213-1 mplayer]$ make distclean
make -C ffmpeg clean
make[1]: Entering directory `/home/students/Downloads/mplayer/ffmpeg'
make[1]: Leaving directory `/home/students/Downloads/mplayer/ffmpeg'
make[1]: Entering directory `/home/students/Downloads/mplayer/ffmpeg'
make[1]: Leaving directory `/home/students/Downloads/mplayer/ffmpeg'
rm -rf tests/res
rm -f ./*.o gui/*.o gui/skin/*.o gui/ui/*.o gui/ui/gtk/*.o gui/util/*.o gui/win32/*.o gui/wm/*.o input/*.o libaf/*.o libao2/*.o libmenu/*.o libmpcodecs/*.o libmpcodecs/native/*.o libmpdemux/*.o libvo/*.o loader/*.o loader/dmo/*.o loader/dshow/*.o loader/wine/*.o mp3lib/*.o osdep/*.o stream/*.o stream/freesdp/*.o stream/librtsp/*.o stream/realrtsp/*.o sub/*.o TOOLS/*.o vidix/*.o libass/*.o libdvdcss/*.o libdvdnav/*.o libdvdnav/vm/*.o libdvdread4/*.o libmpeg2/*.o tremor/*.o ./*.a gui/*.a gui/skin/*.a gui/ui/*.a gui/ui/gtk/*.a gui/util/*.a gui/win32/*.a gui/wm/*.a input/*.a libaf/*.a libao2/*.a libmenu/*.a libmpcodecs/*.a libmpcodecs/native/*.a libmpdemux/*.a libvo/*.a loader/*.a loader/dmo/*.a loader/dshow/*.a loader/wine/*.a mp3lib/*.a osdep/*.a stream/*.a stream/freesdp/*.a stream/librtsp/*.a stream/realrtsp/*.a sub/*.a TOOLS/*.a vidix/*.a libass/*.a libdvdcss/*.a libdvdnav/*.a libdvdnav/vm/*.a libdvdread4/*.a libmpeg2/*.a tremor/*.a ./*.ho gui/*.ho
 gui/skin/*.ho gui/ui/*.ho gui/ui/gtk/*.ho gui/util/*.ho gui/win32/*.ho gui/wm/*.ho input/*.ho libaf/*.ho libao2/*.ho libmenu/*.ho libmpcodecs/*.ho libmpcodecs/native/*.ho libmpdemux/*.ho libvo/*.ho loader/*.ho loader/dmo/*.ho loader/dshow/*.ho loader/wine/*.ho mp3lib/*.ho osdep/*.ho stream/*.ho stream/freesdp/*.ho stream/librtsp/*.ho stream/realrtsp/*.ho sub/*.ho TOOLS/*.ho vidix/*.ho libass/*.ho libdvdcss/*.ho libdvdnav/*.ho libdvdnav/vm/*.ho libdvdread4/*.ho libmpeg2/*.ho tremor/*.ho ./*~ gui/*~ gui/skin/*~ gui/ui/*~ gui/ui/gtk/*~ gui/util/*~ gui/win32/*~ gui/wm/*~ input/*~ libaf/*~ libao2/*~ libmenu/*~ libmpcodecs/*~ libmpcodecs/native/*~ libmpdemux/*~ libvo/*~ loader/*~ loader/dmo/*~ loader/dshow/*~ loader/wine/*~ mp3lib/*~ osdep/*~ stream/*~ stream/freesdp/*~ stream/librtsp/*~ stream/realrtsp/*~ sub/*~ TOOLS/*~ vidix/*~ libass/*~ libdvdcss/*~ libdvdnav/*~ libdvdnav/vm/*~ libdvdread4/*~ libmpeg2/*~ tremor/*~
rm -f mplayer mencoder mplayer.exe mencoder.exe
rm -rf DOCS/tech/doxygen DOCS/HTML
rm -f codecs2html codec-cfg-test libvo/aspecttest mp3lib/test mp3lib/test2 loader/qtx/list loader/qtx/qtxload codecs2html.exe codec-cfg-test.exe libvo/aspecttest.exe mp3lib/test.exe mp3lib/test2.exe loader/qtx/list.exe loader/qtx/qtxload.exe
rm -f TOOLS/alaw-gen TOOLS/asfinfo TOOLS/avi-fix TOOLS/avisubdump TOOLS/compare TOOLS/dump_mp4 TOOLS/movinfo TOOLS/netstream TOOLS/subrip TOOLS/vivodump TOOLS/fastmemcpybench TOOLS/modify_reg TOOLS/bmovl-test TOOLS/vfw2menc TOOLS/alaw-gen.exe TOOLS/asfinfo.exe TOOLS/avi-fix.exe TOOLS/avisubdump.exe TOOLS/compare.exe TOOLS/dump_mp4.exe TOOLS/movinfo.exe TOOLS/netstream.exe TOOLS/subrip.exe TOOLS/vivodump.exe TOOLS/fastmemcpybench.exe TOOLS/modify_reg.exe TOOLS/bmovl-test.exe TOOLS/vfw2menc.exe
rm -f TOOLS/realcodecs/*.so.6.0
rm -f drivers/mga_vid.o drivers/tdfx_vid.o drivers/radeon_vid.o drivers/rage128_vid.o drivers/mga_vid_test drivers/tdfx_vid_test drivers/*~
rm -f vidix/dhahelper/*.o vidix/dhahelper/*~ vidix/dhahelper/test
rm -f vidix/dhahelperwin/*.o vidix/dhahelperwin/*~ vidix/dhahelperwin/dhahelper.sys vidix/dhahelperwin/dhasetup.exe vidix/dhahelperwin/base.tmp vidix/dhahelperwin/temp.exp
make -C ffmpeg distclean
make[1]: Entering directory `/home/students/Downloads/mplayer/ffmpeg'
make[1]: Leaving directory `/home/students/Downloads/mplayer/ffmpeg'
rm -f DOCS/xml/html-chunk.xsl DOCS/xml/html-single.xsl
rm -f ./*.d gui/*.d gui/skin/*.d gui/ui/*.d gui/ui/gtk/*.d gui/util/*.d gui/win32/*.d gui/wm/*.d input/*.d libaf/*.d libao2/*.d libmenu/*.d libmpcodecs/*.d libmpcodecs/native/*.d libmpdemux/*.d libvo/*.d loader/*.d loader/dmo/*.d loader/dshow/*.d loader/wine/*.d mp3lib/*.d osdep/*.d stream/*.d stream/freesdp/*.d stream/librtsp/*.d stream/realrtsp/*.d sub/*.d TOOLS/*.d vidix/*.d libass/*.d libdvdcss/*.d libdvdnav/*.d libdvdnav/vm/*.d libdvdread4/*.d libmpeg2/*.d tremor/*.d
rm -f config.* codecs.conf.h help_mp.h version.h TAGS tags
rm -f vidix/pci_dev_ids.c vidix/pci_ids.h vidix/pci_names.c vidix/pci_vendors.h
rm -f codec-cfg cpuinfo codec-cfg.exe cpuinfo.exe
[students at optiplex-gx280-e213-1 mplayer]$ make
[students at optiplex-gx280-e213-1 mplayer]$ make
Makefile:22: config.mak: No such file or directory
make: *** osdep/: Is a directory.  Stop.
[students at optiplex-gx280-e213-1 mplayer]$ make clean'
> ^C
[students at optiplex-gx280-e213-1 mplayer]$ make clean
Makefile:22: config.mak: No such file or directory
make: *** osdep/: Is a directory.  Stop.
[students at optiplex-gx280-e213-1 mplayer]$ ./configure --prefix=/usr
remote: Counting objects: 202764, done.
remote: Compressing objects: 100% (44149/44149), done.


cc -MD -MP -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 -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg  -D_REENTRANT   -I/usr/include/freetype2 -fomit-frame-pointer -c -o mp3lib/decode_i586.o mp3lib/decode_i586.c
cc -MD -MP -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 -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg  -D_REENTRANT   -I/usr/include/freetype2 -c -o mp3lib/dct64_mmx.o mp3lib/dct64_mmx.c
mp3lib/dct64_mmx.c: Assembler messages:
mp3lib/dct64_mmx.c:16: Warning: missing operand; zero assumed
mp3lib/dct64_mmx.c:769: Error: no such instruction: `fiqtp 224(%edi)'
make: *** [mp3lib/dct64_mmx.o] Error 1




Regards,


Antonio 


More information about the MPlayer-users mailing list