[Ffmpeg-devel] ffmpeg build fixes

Baptiste Coudurier baptiste.coudurier
Fri Mar 23 01:50:05 CET 2007


Hi

Diego Biurrun wrote:
> On Fri, Mar 23, 2007 at 12:35:15AM +0000, M?ns Rullg?rd wrote:
>> Diego Biurrun <diego at biurrun.de> writes:
>>
>>> On Wed, Mar 21, 2007 at 08:44:24PM +0100, Diego Biurrun wrote:
>>>> On Wed, Mar 21, 2007 at 07:28:23PM +0100, Stanislav Brabec wrote:
>>>>> I am sending you several ffmpeg build fixes. They are valid for the
>>>>> latest snapshot.
>>>>>
>>>>> ffmpeg-system-amr.patch: Changes the code to build AMR support with
>>>>> system amr libraries from http://www.penguin.cz/~utx/amr
>>>> This looks interesting, these libs are a pain to use.
>>> Hmmmm.  How am I supposed to use your libs?  I downloaded
>>> http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-610.zip
>>> then ran
>>> ./prepare_sources.sh
>>> ./configure
>>> make
>>> make install
>>>
>>> The result after running
>>>
>>> ./configure --enable-gpl --disable-ffserver --enable-amr-nb is
>>>
>>> gcc -I"/usr/src/ffmpeg"/libswscale   -DHAVE_AV_CONFIG_H
>>> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE
>>> -I"/usr/src/ffmpeg" -I"/usr/src/ffmpeg" -I"/usr/src/ffmpeg"/libavutil
>>> -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch
>>> -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -O3  -c -o
>>> mpegvideo.o mpegvideo.c
>>> In file included from /usr/src/ffmpeg/libavutil/common.h:55,
>>>                  from /usr/src/ffmpeg/libavutil/avutil.h:44,
>>>                  from avcodec.h:34,
>>>                  from mpegvideo.c:30:
>>> /usr/src/ffmpeg/libavutil/internal.h:273: warning: static declaration of
>>> 'lrintf' follows non-static declaration
>>> mpegvideo.c: In function `MPV_encode_picture':
>>> /usr/src/ffmpeg/libavutil/internal.h:273: sorry, unimplemented: inlining
>>> failed in call to 'lrintf': redefined extern inline functions are not
>>> considered for inlining
>>> mpegvideo.c:2633: sorry, unimplemented: called from here
>> This is usually caused by something causing the lrintf test to fail.
>> Check config.err and see what exactly went wrong.
> 
> Yes, silly me forgot to run ldconfig ..
> 
> Works fine now.  This is really looking good.  What do people think of
> relying on these libs instead of adding sources to FFmpeg?

It seems good.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-devel mailing list