[MacPorts] #13021: mplayer won't build on Mac OS X 10.5 Leopard

MacPorts trac at macosforge.org
Sun Jan 27 07:24:07 PST 2008


#13021: mplayer won't build on Mac OS X 10.5 Leopard
------------------------------------------+---------------------------------
  Reporter:  fauconnier.steven at gmail.com  |       Owner:  ecronin at gizmolabs.org
      Type:  defect                       |      Status:  reopened             
  Priority:  Normal                       |   Milestone:  Port Bugs            
 Component:  ports                        |     Version:  1.6.0                
Resolution:                               |    Keywords:  mplayer leopard build
------------------------------------------+---------------------------------
Changes (by yves at macports.org):

  * status:  closed => reopened
  * version:  1.5.0 => 1.6.0
  * resolution:  fixed =>

Comment:

 I am failing with rc2

 I have this new MacPro (which I'm quite proud of BTW ...) which probably
 has other MMX changes

 I have to use the included mmx patch but the build fails shortly after
 with

 {{{
 ccache /usr/bin/gcc-4.0 -I../libswscale -I../libavcodec
 -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
 -D_ISOC9X_SOURCE
 -I.. -I.. -I../libavutil -Wdisabled-optimization -Wno-pointer-sign
 -Wdeclaration-after-statement -I. -I.. -I../libavutil -pipe -mdynamic-no-
 pic
 -falign-loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H
 -I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include
 -I/usr/X11/include -I/opt/local/include/SDL  -D_THREAD_SAFE
 -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include
 -c -o i386/dsputil_mmx.o i386/dsputil_mmx.c
 In file included from i386/dsputil_mmx.c:2868:
 i386/h264dsp_mmx.c: In function 'h264_loop_filter_strength_mmx2':
 i386/h264dsp_mmx.c:574: error: can't find a register in class
 'GENERAL_REGS' while reloading 'asm'
 i386/dsputil_mmx.c: In function 'dsputil_init_mmx':
 i386/dsputil_mmx.c:3776: warning: assignment from incompatible pointer
 type
 i386/dsputil_mmx.c:3778: warning: assignment from incompatible pointer
 type
 i386/dsputil_mmx.c:3784: warning: assignment from incompatible pointer
 type
 i386/dsputil_mmx.c:3786: warning: assignment from incompatible pointer
 type
 make[1]: *** [i386/dsputil_mmx.o] Error 1
 make: *** [libavcodec/libavcodec.a] Error 2
 }}}

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13021#comment:16>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list