mplayer doesn't build for me under Leopard on MacBook Pro

Ryan Schmidt ryandesign at macports.org
Sat Nov 3 17:58:09 PDT 2007


A bug has been filed for this:

http://trac.macports.org/projects/macports/ticket/13021

I have added your email address to the Cc list so you'll be notified  
when changes are made to the bug.


On Nov 3, 2007, at 19:35, Lloyd Zusman wrote:

> I have recently upgraded to Leopard, XCode 3.0, and Darwin Ports  
> 1.5.0 on
> my MacBook Pro.
>
> I am trying to install mplayer, but the build goes for a while and  
> then
> finally fails with this error (some long lines manually broken in  
> order
> to get this posted via Gmane):
>
> .  Error: Target org.macports.build returned: shell command
> .    "cd "/opt/local/var/macports/build/
> .    _opt_local_var_macports_sources_rsync.macports.
> .    org_release_ports_multimedia_MPlayer/work/MPlayer-1.0rc1" &&  
> make all "
> .    returned error 2
> .  Command output: make -C libavformat LIBPREF=lib LIBSUF=.a
> .  make[1]: Nothing to be done for `all'.
> .  make -C libavcodec LIBPREF=lib LIBSUF=.a
> .  cc -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m
> .    -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer
> .    -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN
> .    -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE - 
> D_FILE_OFFSET_BITS=64
> .    -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/ 
> include -I.
> .    -I./libavutil -I./libavcodec   -DHAVE_AV_CONFIG_H - 
> D_FILE_OFFSET_BITS=64
> .    -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil
> .    -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m
> .    -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer
> .    -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN
> .    -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE - 
> D_FILE_OFFSET_BITS=64
> .    -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include
> .    -c -o i386/dsputil_mmx.o i386/dsputil_mmx.c
> .  i386/h264dsp_mmx.c: In function 'h264_h_loop_filter_luma_mmx2':
> .  i386/dsputil_mmx.c:634: error: can't find a register in class
> .    'GENERAL_REGS' while reloading 'asm'
> .  i386/dsputil_mmx.c:634: error: can't find a register in class
> .    'GENERAL_REGS' while reloading 'asm'
> .  make[1]: *** [i386/dsputil_mmx.o] Error 1
> .  make: *** [libavcodec/libavcodec.a] Error 2
> .
> .  Error: Status 1 encountered during processing.
>
> Based on my googling and looking elsewhere, I think this is related to
> the choice of C compiler that is used.  Here are the results of
> "cc --version":
>
> .  i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
> .  Copyright (C) 2005 Free Software Foundation, Inc.
> .  This is free software; see the source for copying conditions.   
> There is NO
> .  warranty; not even for MERCHANTABILITY or FITNESS FOR A  
> PARTICULAR PURPOSE.
>
> Does anyone have any ideas as to what I can do to get mplayer to build
> under my configuration?


More information about the macports-users mailing list