[Ffmpeg-devel] Re: Compiling ffmpeg on Max OS X
James Barros
james
Tue Jun 13 18:14:40 CEST 2006
When compiling for a mac, (at least the G5 variety) you need the ./
config flag "--extra-cflags=-DHAVE_LRINTF"
eg: my config is:
./configure --enable-mp3lame --enable-gpl --enable-faac --enable-xvid
--enable-x264 --extra-cflags=-DHAVE_LRINTF
Hope that helps.
-- James
On Jun 12, 2006, at 8:02 PM, Anthony N. Frasso wrote:
> I tried again to build ffmpeg on my computer, a Mac
> Mini running OS X 10.3.9, and again had the exact same
> problem. Does anyone have an understanding of what I
> may be doing wrong, or what is wrong with the build?
>
> Thanks for all your help!
>
>> On 9-jun-2006, at 3:23, Anthony N. Frasso wrote:
>>> I downloaded the most recent version of ffmpeg
>> this
>>> evening. Unfortunately, errors occurred when I
>>> attempted to compile it. I am using Mac OS X
>> version
>>> 10.3.9. Here is the output:
>>>
>>>
>> /Users/tony/Software/ffmpeg/libavutil/common.h:620:
>>> warning: static declaration for `lrintf' follows
>>> non-static
>>> cc -Wl,-dynamic,-search_paths_first -g -o
>> ffmpeg_g
>>> ffmpeg.o cmdutils.o -L./libavformat -lavformat
>>> -L./libavcodec -lavcodec -L./libavutil -lavutil
>>> -lmp3lame -lxvidcore -lx264
>>> ld: table of contents for archive:
>>> /usr/local/lib//libxvidcore.a is out of date;
>> rerun
>>> ranlib(1) (can't load from it)
>>> ld: warning multiple definitions of symbol
>>> _localtime_r
>>> ./libavformat/libavformat.a(os_support.o)
>> definition
>>> of _localtime_r in section (__TEXT,__text)
>>> /usr/lib//libSystem.dylib(localtime.So) definition
>> of
>>> _localtime_r
>>> make: *** [ffmpeg_g] Error 1
>>
>> Confirmed, i have the same issue for VLC. Did
>> something change in
>> linking options of ffmpeg, or was a localtime_r
>> recently introduced
>> into ffmpeg ?
>>
>> DJ
>>
>>> Here was the output from running ./configure:
>>>
>>> # ./configure --enable-mp3lame --enable-xvid
>>> --enable-x264 --enable-a52 --enable-gpl
>>> big/little test failed
>>> install prefix /usr/local
>>> source path /Users/tony/Software/ffmpeg
>>> C compiler cc
>>> make make
>>> CPU powerpc (generic)
>>> big-endian no
>>> inttypes.h yes
>>> broken inttypes.h no
>>> AltiVec enabled yes
>>> gprof enabled no
>>> zlib enabled no
>>> lzo enabled no
>>> libgsm enabled no
>>> mp3lame enabled yes
>>> libogg enabled no
>>> Vorbis enabled no
>>> Theora enabled no
>>> FAAD enabled no
>>> faadbin enabled no
>>> FAAC enabled no
>>> XviD enabled yes
>>> x264 enabled yes
>>> a52 support yes
>>> a52 dlopened no
>>> DTS support no
>>> pp support no
>>> debug symbols yes
>>> strip symbols yes
>>> optimize yes
>>> static yes
>>> shared no
>>> video hooking no
>>> SDL 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 no
>>> License: GPL
>>> Creating config.mak and config.h...
>>>
>>> Any thoughts on what is going on? Any and all
>> help
>>> will be greatly appreciated!!!
>>>
>>> Regards,
>>> Anthony Frasso
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>
More information about the ffmpeg-devel
mailing list