[FFmpeg-devel] ffmpeg make with libamr fails

Mait Mandel Mait.Mandel
Thu May 10 12:32:25 CEST 2007


i'm unable to compile the latest SVN (r8966) with latest libamr_nb:

[vlc at test ffmpeg]$ make
make -C libavutil   all
make[1]: Entering directory `/home/vlc/svn-may/ffmpeg/libavutil'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/vlc/svn-may/ffmpeg/libavutil'
make -C libavcodec  all
make[1]: Entering directory `/home/vlc/svn-may/ffmpeg/libavcodec'
gcc -I"/home/vlc/svn-may/ffmpeg"/libswscale  -DHAVE_AV_CONFIG_H
-I"/home/vlc/svn-may/ffmpeg" -I"/home/vlc/svn-may/ffmpeg"
-I"/home/vlc/svn-may/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 /home/vlc/svn-may/ffmpeg/libavutil/common.h:55,
                 from /home/vlc/svn-may/ffmpeg/libavutil/avutil.h:44,
                 from avcodec.h:34,
                 from mpegvideo.c:30:
/home/vlc/svn-may/ffmpeg/libavutil/internal.h:269: warning: static
declaration of 'lrintf' follows non-static declaration
In file included from mpegvideo.c:30:
avcodec.h:2505: warning: `ImgReSampleContext' is deprecated (declared at
avcodec.h:2511: warning: `ImgReSampleContext' is deprecated (declared at
mpegvideo.c: In function `MPV_encode_picture':
/home/vlc/svn-may/ffmpeg/libavutil/internal.h:269: 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
make[1]: *** [mpegvideo.o] Error 1
make[1]: Leaving directory `/home/vlc/svn-may/ffmpeg/libavcodec'
make: *** [lib] Error 2

configure options: --enable-pp --enable-gpl --disable-ffserver
--enable-libfaad --enable-libfaac --enable-libamr_nb;
if I remove libamr_nb, then it works nice; libamr_nb is the latest,
version from http://www.penguin.cz/~utx/amr.

any ideas of what i'm doing wrong?


More information about the ffmpeg-devel mailing list