[FFmpeg-devel] Mac OS X Compile (New issue)

Scott Harper orcein
Mon Mar 31 05:09:28 CEST 2008

On Mar 30, 2008, at 3:05 PM, ?smail D?nmez wrote:
> Hi,
> On Sun, Mar 30, 2008 at 11:59 PM, Scott Harper <orcein at gmail.com>  
> wrote:
>> So, after realizing that my Intel Mac doesn support mmx, I re-
>> downloaded the latest version (12633) and configured it with "-- 
>> enable-
>> shared" and "--disable-vhook" and tried to build again, just a basic
>> configuration, and I got the following error:
>> D_ISOC9X_SOURCE -I"/Users/orcein/src/ffmpeg-12633" -I"/Users/orcein/
>> src/ffmpeg-12633" -I"/Users/orcein/src/ffmpeg-12633"/libavcodec -I"/
>> Users/orcein/src/ffmpeg-12633"/libavdevice -I"/Users/orcein/src/
>> ffmpeg-12633"/libavfilter -I"/Users/orcein/src/ffmpeg-12633"/
>> libavformat -I"/Users/orcein/src/ffmpeg-12633"/libavutil -I"/Users/
>> orcein/src/ffmpeg-12633"/libpostproc -I"/Users/orcein/src/
>> ffmpeg-12633"/libswscale -pipe -force_cpusubtype_ALL -Wno-sign- 
>> compare
>> -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-
>> switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls - 
>> Wno-
>> pointer-sign -Wcast-qual -Wwrite-strings -O3 -fno-math-errno  -c -o
>> i386/cavsdsp_mmx.o i386/cavsdsp_mmx.c
>> i386/cavsdsp_mmx.c: In function 'ff_put_cavs_qpel8_mc01_3dnow':
>> i386/cavsdsp_mmx.c:447: error: can't find a register in class
>> 'GENERAL_REGS' while reloading 'asm'
>> make[1]: *** [i386/cavsdsp_mmx.o] Error 1
> Is this Xcode 3.0 or 3.1 beta? Anyhow an 64bit build will fix this  
> error.

I use Xcode 3.0.  How can I enable 64-bit?  Is it an architecture  
option in configure?  CPU?  I tried setting "--arch=x86_64", and  
configure reported using a generic architecture of "x86_32" instead,  
and it didn't compile any better.

Anyway, Diego says it's a gcc problem, so I'm downloading the iPhone  
SDK now (it looks like that's the only way to get a newer version of  
gcc on my Mac) and will try it again with the newer gcc version, too.

-- Scott

More information about the ffmpeg-devel mailing list