[MPlayer-users] mplayer compile error (mac os x, debug)
Ray Kohler
ataraxia at cmu.edu
Mon Jul 14 01:00:19 CEST 2008
On Jul 13, 2008, at 6:22 PM, cbreak wrote:
> I can not compile a debug binary of mplayer and mencoder on mac os x
> 10.5.
Same here. libavcodec/i386/cavsdsp_mmx.c won't compile without -fomit-
frame-pointer (at least on this platform). Setting --enable-debug
leaves that (and -ffast-math) out of CFLAGS - normally a sensible
thing to do.
I built my debug binary by configuring without --enable-debug and
hacking config.mak to just add "-g3". Not optimal, but (mostly) works
in a pinch.
> The full log/output is on:
> http://the-color-black.net/dl/temp/compile_debug.txt.bz2
> (contains output of configure, make, contents of configure.log and
> some other files)
>
> Here some snippets:
>
> ...
> cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -
> D_ISOC9X_SOURCE -I.. -I.. -Wdisabled-optimization -Wno-po
> inter-sign -Wdeclaration-after-statement -std=gnu99 -I. -W -Wall -O2 -
> march=pentium-m -mtune=pentium-m -pipe -g -mdynamic-
> no-pic -falign-loops=16 -shared-libgcc -D_LARGEFILE_SOURCE -
> D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/
> usr/local/include -I/usr/X11/include -I/usr/local/include/freetype2 -
> I/
> usr/local/include -c -o i386/vp3dsp_mmx.o i386/vp3
> dsp_mmx.c
> cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -
> D_ISOC9X_SOURCE -I.. -I.. -Wdisabled-optimization -Wno-po
> inter-sign -Wdeclaration-after-statement -std=gnu99 -I. -W -Wall -O2 -
> march=pentium-m -mtune=pentium-m -pipe -g -mdynamic-
> no-pic -falign-loops=16 -shared-libgcc -D_LARGEFILE_SOURCE -
> D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/
> usr/local/include -I/usr/X11/include -I/usr/local/include/freetype2 -
> I/
> usr/local/include -c -o i386/vp3dsp_sse2.o i386/vp
> 3dsp_sse2.c
> i386/cavsdsp_mmx.c: In function 'ff_put_cavs_qpel8_mc01_3dnow':
> i386/cavsdsp_mmx.c:448: error: can't find a register in class
> 'GENERAL_REGS' while reloading 'asm'
> make[1]: *** [i386/cavsdsp_mmx.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> In file included from i386/snowdsp_mmx.c:24:
> ../libavcodec/snow.h: In function 'snow_interleave_line_header':
> ../libavcodec/snow.h:138: warning: unused parameter 'high'
> ...
>
> I compiled it with the commands:
>
> artefact:mplayer cbreak$ ./configure --enable-menu --enable-debug
> artefact:mplayer cbreak$ make -j12
>
> I get the same result with --enable-debug=1, --enable-debug=2 and --
> enable-debug=3
> This is from r27274, but I got the same result from r26500
>
> compiling succeeds without --enable-debug
>
> cb
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>
More information about the MPlayer-users
mailing list