[Ffmpeg-devel] Compiling ffmpeg on MacIntel

Christophe Ducommun cducommun
Sun Mar 5 23:22:28 CET 2006


>
> Christophe Ducommun wrote:
>> I am trying to compile ffmpeg on a MacIntel (latest CVS code) !
>>
>> But the make failed, I have disabled MMX/SSE optimisations and it
>> compile fine and
>> work correctly.
>>
>> Can you fix this compilation problem with MMX/SSE optimisation on Mac
>> Intel ?
>
> 	Please post the console output demonstrating how and where 'make'
> failed. Also tell us what gcc you are using ('gcc --version').

ordinateur-de-christophe-ducommun:~/Desktop/ffmpeg yoyo$ ./configure  
--enable-static --disable-shared
Error, no memalign() but SSE enabled, disable it or use --enable- 
memalign-hack.

After that I have tryed --enable-memalign-hack

ordinateur-de-christophe-ducommun:~/Desktop/ffmpeg yoyo$ ./configure  
--enable-static --disable-shared --enable-memalign-hack
install prefix   /usr/local
source path      /Users/yoyo/Desktop/ffmpeg
C compiler       cc
make             make
CPU              x86 (generic)
big-endian       no
inttypes.h       yes
broken inttypes.h no
MMX enabled      yes
Vector Builtins  yes
gprof enabled    no
zlib enabled     yes
lzo enabled      no
libgsm enabled   no
mp3lame enabled  no
libogg enabled   no
Vorbis enabled   no
Theora enabled   no
FAAD enabled     no
faadbin enabled  no
FAAC enabled     no
XviD enabled     no
x264 enabled     no
a52 support      no
a52 dlopened     no
DTS support      no
pp support       no
debug symbols    yes
strip symbols    yes
optimize         yes
static           yes
shared           no
video hooking    yes
SDL support      no
Imlib2 support   no
FreeType support no
Sun medialib support no
pthreads support no
AMR-NB float support no
AMR-NB fixed support no
AMR-WB float support no
AMR-WB IF2 support no
network support      yes
IPv6 support         yes
License: LGPL
Creating config.mak and config.h...
ordinateur-de-christophe-ducommun:~/Desktop/ffmpeg yoyo$ make
make -C libavutil all
make[1]: Nothing to be done for `all'.
make -C libavcodec all
cc -O3 -g -Wall -Wno-switch  -no-cpp-precomp -pipe -fomit-frame- 
pointer -force_cpusubtype_ALL -Wno-sign-compare -mdynamic-no-pic - 
DHAVE_AV_CONFIG_H -I.. -I/Users/yoyo/Desktop/ffmpeg/libavutil - 
D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE   -c -o i386/ 
fdct_mmx.o i386/fdct_mmx.c
{standard input}:unknown:file contains unmatched .macro and .endmacro  
for: FDCT_ROW_SSE2_H1it
make[1]: *** [i386/fdct_mmx.o] Error 1
make: *** [lib] Error 2

After that I have tryed

./configure --enable-static --disable-shared --disable-mmx

And it compile fine !

GCC 4.01
ordinateur-de-christophe-ducommun:~/Desktop/ffmpeg yoyo$ gcc
i686-apple-darwin8-gcc-4.0.1: no input files


Christophe





More information about the ffmpeg-devel mailing list