I'm trying to compile mplayer. I'm pretty newbie to compile c. I tried three different snapshots and version 1.1. The environment is windows 7 x64 compile with mingw "tdm64-gcc-4.7.1-3". ./configure --prefix=/build/mplayer/mplayer20121105 --language=en \ --enable-static \ --enable-x264 --enable-xvid --enable-faad --enable-faac --enable-mp3lame \ --confdir=./mplayer --codecsdir=./codecs \ --target=x86_64-w64-mingw32 \ --disable-unrarexec \ --disable-tv --disable-tv-bsdbt848 --disable-tv-v4l1 --disable-tv-v4l2 \ --cc=x86_64-w64-mingw32-gcc \ --host-cc=x86_64-w64-mingw32-gcc \ --ar=x86_64-w64-mingw32-ar \ --ranlib=/mingw/x86_64-w64-mingw32/bin/ranlib the outcome is always this: MPlayer interrupted by signal 11 in module: init_audio_codec - MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash. - MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and won't help unless you provide this information when reporting a possible bug. gdb: snapshot 2012-11-02: Program received signal SIGSEGV, Segmentation fault. 0x0000000001060853 in __gdtoa (fpi=<optimized out>, be=<optimized out>, bits=0x0, kindp=0x800, mode=0, ndigits=0, decpt=0x0, rve=0x0) at c:/crossdev/src/mingw-w64-svn/mingw-w64-crt/gdtoa/gdtoa.c:630 630 c:/crossdev/src/mingw-w64-svn/mingw-w64-crt/gdtoa/gdtoa.c: No such file or directory. snapshot 2012-11-05: Program received signal SIGSEGV, Segmentation fault. 0x00000000009d4fee in decode_frame () snapshot 2012-11-06: Program received signal SIGSEGV, Segmentation fault. 0x0000000000e7506e in FcMatrixRotate () release 1.1: Program received signal SIGSEGV, Segmentation fault. 0x00000000009a3092 in vp5_parse_coeff_models () I was not able to make a correct compilation, I applied these workarounds: 1) comment //glFinish(); in configure for check opengl 2) cp osdep/getch2-win.c osdep/getch2.c 3) comment Makefile #OS_FEATURE-$(SHMEM) += osdep/shmem.c 4) add #include <direct.h> in ffmpeg/libavformat/smoothstreamingenc.c 5) manual compilation x86_64-w64-mingw32-gcc -Wall -fexceptions -c libass/ass.c -o libass/ass.o -I. x86_64-w64-mingw32-gcc -Wall -fexceptions -c libass/ass_bitmap.c -o libass/ass_bitmap.o -I. -I/local/include/freetype2 x86_64-w64-mingw32-gcc -Wall -fexceptions -c libass/ass_cache.c -o libass/ass_cache.o -I. -I/local/include/freetype2 x86_64-w64-mingw32-gcc -Wall -fexceptions -c libass/ass_drawing.c -o libass/ass_drawing.o -I. -I/local/include/freetype2 x86_64-w64-mingw32-gcc -Wall -fexceptions -c libass/ass_font.c -o libass/ass_font.o -I. -I/local/include/freetype2 x86_64-w64-mingw32-gcc -Wall -fexceptions -c libass/ass_fontconfig.c -o libass/ass_fontconfig.o -I. -I/local/include/freetype2 x86_64-w64-mingw32-gcc -Wall -fexceptions -c libass/ass_library.c -o libass/ass_library.o -I. x86_64-w64-mingw32-gcc -Wall -fexceptions -c libass/ass_parse.c -o libass/ass_parse.o -I. -I/local/include/freetype2 x86_64-w64-mingw32-gcc -Wall -fexceptions -c libass/ass_render.c -o libass/ass_render.o -I. -I/local/include/freetype2 x86_64-w64-mingw32-gcc -Wall -fexceptions -c libass/ass_render_api.c -o libass/ass_render_api.o -I. -I/local/include/freetype2 x86_64-w64-mingw32-gcc -Wall -fexceptions -c libass/ass_shaper.c -o libass/ass_shaper.o -I. -I/local/include/freetype2 x86_64-w64-mingw32-gcc -Wall -fexceptions -c libass/ass_strtod.c -o libass/ass_strtod.o -I. -I/local/include/freetype2 x86_64-w64-mingw32-gcc -Wall -fexceptions -c libass/ass_utils.c -o libass/ass_utils.o -I. -I/local/include/freetype2 x86_64-w64-mingw32-gcc -Wall -fexceptions -c osdep/glob-win.c -o osdep/glob- win.o -I. -Iffmpeg 6) add parameter to command mplayer compilation for error "undefined reference": x86_64-w64-mingw32-gcc -o mplayer command.o [..] subopt-helper.o \ \ osdep/glob-win.o \ ffmpeg/libavcodec/x86/deinterlace.o ffmpeg/libavcodec/x86/dsputil.o ffmpeg/libavcodec/x86/dsputil_mmx.o \ ffmpeg/libavcodec/x86/h264_chromamc.o ffmpeg/libavcodec/x86/h264_qpel_10bit.o ffmpeg/libavcodec/x86/h264_chromamc_10bit.o \ ffmpeg/libavcodec/x86/dsputilenc.o ffmpeg/libavcodec/x86/dsputilenc_mmx.o \ ffmpeg/libavcodec/x86/v210.o ffmpeg/libavcodec/x86/dwt_yasm.o \ ffmpeg/libavcodec/x86/h264dsp_init.o ffmpeg/libavcodec/x86/h264_idct_10bit.o \ ffmpeg/libavcodec/x86/h264_weight_10bit.o ffmpeg/libavcodec/x86/h264_deblock_10bit.o\ ffmpeg/libavcodec/x86/h264_idct.o ffmpeg/libavcodec/x86/h264_deblock.o \ ffmpeg/libavcodec/x86/h264_weight.o ffmpeg/libavcodec/x86/h264_intrapred_init.o\ ffmpeg/libavcodec/x86/h264_intrapred_10bit.o ffmpeg/libavcodec/x86/h264_intrapred.o\ ffmpeg/libavcodec/x86/diracdsp_yasm.o ffmpeg/libavcodec/x86/vc1dsp_init.o ffmpeg/libavcodec/x86/vc1dsp.o \ ffmpeg/libavcodec/x86/pngdsp_init.o ffmpeg/libavcodec/x86/pngdsp.o \ ffmpeg/libavcodec/x86/proresdsp_init.o ffmpeg/libavcodec/x86/proresdsp.o \ ffmpeg/libavcodec/x86/vp3dsp.o \ ffmpeg/libavcodec/x86/vp8dsp.o \ ffmpeg/libavcodec/x86/fmtconvert.o \ ffmpeg/libavcodec/x86/ac3dsp.o \ ffmpeg/libavcodec/x86/fft.o \ ffmpeg/libavcodec/x86/dct32.o \ ffmpeg/libavcodec/x86/imdct36.o \ ffmpeg/libavcodec/x86/rv40dsp.o \ ffmpeg/libavcodec/x86/sbrdsp.o ffmpeg/libavcodec/x86/vp56dsp.o ffmpeg/libavcodec/x86/rv34dsp.o \ ffmpeg/libswscale/x86/scale.o ffmpeg/libswscale/x86/swscale.o ffmpeg/libswscale/x86/output.o ffmpeg/libswscale/x86/input.o \ ffmpeg/libavutil/x86/cpuid.o ffmpeg/libavutil/x86/float_dsp.o \ libass/ass.o libass/ass_library.o libass/ass_render_api.o libass/ass_render.o libass/ass_utils.o \ libass/ass_strtod.o libass/ass_cache.o libass/ass_fontconfig.o libass/ass_bitmap.o libass/ass_shaper.o \ libass/ass_drawing.o libass/ass_parse.o libass/ass_font.o \ \ libaf/af.o [..] ffmpeg/libavutil/libavutil.a \ \ /local/lib/xvidcore.a /local/lib/libfaac.a /local/lib/libx264.a /local/lib/ libpthreadGC2.a \ /C/Program\ Files/Microsoft\ SDKs/Windows/v7.1/Lib/x64/OpenGL32.Lib \ \ -Wl,--nxcompat [..] please help:)
Alessandro Gabbanelli <alessandro.gabbanelli <at> gmail.com> writes:
I'm trying to compile mplayer. I'm pretty newbie to compile c.
Yes, your mail is difficult to understand. Any reason you did not post on mplayer-users (which would be the appropriate mailing list)?
I tried three different snapshots and version 1.1.
The only supported version is current svn head.
The environment is windows 7 x64 compile with mingw "tdm64-gcc-4.7.1-3".
What is "tdm64-gcc-4.7.1-3" ? (I really don't know.)
./configure --prefix=/build/mplayer/mplayer20121105 --language=en \ --enable-static \ --enable-x264 --enable-xvid --enable-faad --enable-faac --enable-mp3lame \ --confdir=./mplayer --codecsdir=./codecs \ --target=x86_64-w64-mingw32 \ --disable-unrarexec \ --disable-tv --disable-tv-bsdbt848 --disable-tv-v4l1 --disable-tv-v4l2 \ --cc=x86_64-w64-mingw32-gcc \ --host-cc=x86_64-w64-mingw32-gcc \ --ar=x86_64-w64-mingw32-ar \ --ranlib=/mingw/x86_64-w64-mingw32/bin/ranlib
Please remove all --enable-* They do not do what you expect. (The --disable-* should be unnecessary, any reason why are using them?) Are really all of --target, --cc, --host-cc, --ar and --ranlib necessary?
the outcome is always this:
MPlayer interrupted by signal 11 in module: init_audio_codec
This is the outcome of running above configure command? That appears to be very unlikely. [...]
I was not able to make a correct compilation, I applied these workarounds:
It's probably better if you report your compilation problems instead. Carl Eugen
Il 08/11/2012 19:33, Carl Eugen Hoyos ha scritto:
Alessandro Gabbanelli <alessandro.gabbanelli <at> gmail.com> writes:
I'm trying to compile mplayer. I'm pretty newbie to compile c.
Yes, your mail is difficult to understand. Any reason you did not post on mplayer-users (which would be the appropriate mailing list)?
you're right, sorry
participants (3)
-
Alessandro Gabbanelli -
Carl Eugen Hoyos -
gmane.comp.video.mencoder.user