[FFmpeg-trac] #641(build system:new): Build fails with --disable-mmx2 flag (error: implicit declaration of function 'yuv2yuvX_MMX2')
FFmpeg
trac at avcodec.org
Fri Nov 11 12:54:21 CET 2011
#641: Build fails with --disable-mmx2 flag (error: implicit declaration of
function 'yuv2yuvX_MMX2')
-------------------------------------+-------------------------------------
Reporter: Spekadyon | Type: defect
Status: new | Priority: normal
Component: build | Version: git-
system | master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Running configure with --disable-mmx2, with no other options, makes the
build fail with the following error:
{{{
CC libswscale/x86/swscale_mmx.o
In file included from libswscale/x86/swscale_mmx.c:89:0:
libswscale/x86/swscale_template.c: In function 'sws_init_swScale_MMX':
libswscale/x86/swscale_template.c:1873:21: warning: unused variable
'should_dither'
libswscale/x86/swscale_template.c:1942:44: warning: assignment from
incompatible pointer type
libswscale/x86/swscale_template.c:1943:44: warning: assignment from
incompatible pointer type
libswscale/x86/swscale_template.c:1954:42: warning: assignment from
incompatible pointer type
libswscale/x86/swscale_template.c:1955:42: warning: assignment from
incompatible pointer type
libswscale/x86/swscale_mmx.c: In function 'updateMMXDitherTables':
libswscale/x86/swscale_mmx.c:131:9: warning: new qualifiers in middle of
multi-level non-const cast are unsafe
libswscale/x86/swscale_mmx.c:132:9: warning: new qualifiers in middle of
multi-level non-const cast are unsafe
libswscale/x86/swscale_mmx.c:133:9: warning: new qualifiers in middle of
multi-level non-const cast are unsafe
libswscale/x86/swscale_mmx.c: In function 'yuv2yuvX_sse3':
libswscale/x86/swscale_mmx.c:184:9: error: implicit declaration of
function 'yuv2yuvX_MMX2'
libswscale/x86/swscale_mmx.c:184:9: warning: 'return' with a value, in
function returning void
libswscale/x86/swscale_mmx.c: At top level:
libswscale/x86/swscale_mmx.c:179:13: warning: 'yuv2yuvX_sse3' defined but
not used
make: *** [libswscale/x86/swscale_mmx.o] Error 1
make: *** Waiting for unfinished jobs....
}}}
This does not occur with the --enable-mmx2 flag.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/641>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list