[Ffmpeg-devel] ffmpeg build fixes

Måns Rullgård mans
Fri Mar 23 01:35:15 CET 2007


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.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list