[Ffmpeg-devel] Build Issues: Inline Errors

Ho Chaw Ming chawming
Sat Nov 4 00:19:05 CET 2006


Hi

I have read from the Archives a few users who experienced problems building
FFMpeg with inline issues due to the -Winline switch added recently. I tried
removed that and it still does work. Will appreciate some help if possible. 

This is the environment:
Dual Xeon 3.2Ghz
Linux Distribution Cent OS 4.4. 
GCC Version gcc-3.4.6-3


This is the configure parameters (which completes successfully):
./configure --disable-altivec --disable-debug --disable-audio-oss
--disable-v4l --disable-v4l2 --disable-dv1394 --disable-network
--disable-ffplay --enable-mp3lame --enable-pthreads --enable-xvid
--enable-faad --enable-faac --enable-gpl --enable-pp --cpu=pentium4
--arch=x86 --enable-shared


This is the errors in the make stage: 

mpegvideo.c: In function `MPV_motion':
mpegvideo.c:3417: warning: inlining failed in call to 'prefetch_motion':
--param large-function-growth limit reached
mpegvideo.c:3453: warning: called from here
mpegvideo.c:3199: warning: inlining failed in call to 'obmc_motion': --param
large-function-growth limit reached
mpegvideo.c:3501: warning: called from here
mpegvideo.c:3325: warning: inlining failed in call to 'chroma_4mv_motion':
--param large-function-growth limit reached
mpegvideo.c:3511: warning: called from here
mpegvideo.c:2634: warning: inlining failed in call to 'gmc1_motion': --param
large-function-growth limit reached
mpegvideo.c:3520: warning: called from here
mpegvideo.c:2720: warning: inlining failed in call to 'gmc_motion': --param
large-function-growth limit reached
mpegvideo.c:3523: warning: called from here
mpegvideo.c:3228: warning: inlining failed in call to 'qpel_motion': --param
large-function-growth limit reached
mpegvideo.c:3527: warning: called from here
/usr/local/src/ffmpeg/libavutil/common.h:291: warning: inlining failed in
call to 'clip': --param large-function-growth limit reached
mpegvideo.c:3556: warning: called from here
/usr/local/src/ffmpeg/libavutil/common.h:291: warning: inlining failed in
call to 'clip': --param large-function-growth limit reached
mpegvideo.c:3559: warning: called from here
mpegvideo.c:2852: warning: inlining failed in call to 'hpel_motion': --param
large-function-growth limit reached
mpegvideo.c:3579: warning: called from here
mpegvideo.c:3325: warning: inlining failed in call to 'chroma_4mv_motion':
--param large-function-growth limit reached
mpegvideo.c:3593: warning: called from here
mpegvideo.c:3228: warning: inlining failed in call to 'qpel_motion': --param
large-function-growth limit reached
mpegvideo.c:3599: warning: called from here
mpegvideo.c: In function `MPV_decode_mb':
mpegvideo.c:3695: warning: inlining failed in call to 'MPV_motion_lowres':
--param max-inline-insns-single limit reached
mpegvideo.c:3973: warning: called from here
mpegvideo.c:3695: warning: inlining failed in call to 'MPV_motion_lowres':
--param max-inline-insns-single limit reached
mpegvideo.c:3977: warning: called from here
mpegvideo.c:3445: warning: inlining failed in call to 'MPV_motion': --param
max-inline-insns-single limit reached
mpegvideo.c:3987: warning: called from here
mpegvideo.c:3445: warning: inlining failed in call to 'MPV_motion': --param
max-inline-insns-single limit reached
mpegvideo.c:3992: warning: called from here
mpegvideo.c:3695: warning: inlining failed in call to 'MPV_motion_lowres':
--param max-inline-insns-single limit reached
mpegvideo.c:3973: warning: called from here
mpegvideo.c:3695: warning: inlining failed in call to 'MPV_motion_lowres':
--param max-inline-insns-single limit reached
mpegvideo.c:3977: warning: called from here
mpegvideo.c:3445: warning: inlining failed in call to 'MPV_motion': --param
max-inline-insns-single limit reached
mpegvideo.c:3987: warning: called from here
mpegvideo.c:3445: warning: inlining failed in call to 'MPV_motion': --param
max-inline-insns-single limit reached
mpegvideo.c:3992: warning: called from here
mpegvideo.c: In function `MPV_encode_picture':
/usr/local/src/ffmpeg/libavutil/internal.h:218: sorry, unimplemented:
inlining failed in call to 'lrintf': redefined extern
 inline functions are not considered for inlining
mpegvideo.c:2609: sorry, unimplemented: called from here
make[1]: *** [mpegvideo.o] Error 1
make[1]: Leaving directory `/usr/local/src/ffmpeg/libavcodec'
make: *** [lib] Error 2


Will appreciate some guidance (or fixes) if possible as I have grappled with
this issue since last night. I have read the archives and while there's some
mention of the cause (-Winline in configure), the exact fix is unknown as
far as I can see. If there's a fix mentioned somewhere in detail that I
missed, please pardon me, and provide me with a link to it.

Thank you in advance.

CM





More information about the ffmpeg-devel mailing list