[FFmpeg-devel] Building from snapshot - error with assembler

jd1008 jd1008 at gmail.com
Sat Apr 30 01:56:04 CEST 2016



On 04/29/2016 05:25 PM, Michael Niedermayer wrote:
> On Fri, Apr 29, 2016 at 05:08:39PM -0600, jd1008 wrote:
>> This is for the developers:
>> Building ffmpeg-20160428.tar.bz2
>> .
>> .
>> .
>> .
>> yasm -f elf -m amd64 -DPIC -I.
>> -I"/sdb3/home/jd/rpmbuild/BUILD/ffmpeg-20160428" -Pconfig.asm -I
>> libavcodec/x86/ -o libavcodec/x86/vp3dsp.o libavcodec/x86/vp3dsp.asm
>> libavcodec/x86/h264_qpel_mmx.c: Assembler messages:
>> libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for `cmp'
>> libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for `cmp'
>> libavcodec/x86/h264_qpel_mmx.c:964: Error: operand type mismatch for `cmp'
>> yasm -f elf -m amd64 -DPIC -I.
>> -I"/sdb3/home/jd/rpmbuild/BUILD/ffmpeg-20160428" -Pconfig.asm -I
>> libavcodec/x86/ -M -o libavcodec/x86/vp56dsp.o
>> libavcodec/x86/vp56dsp.asm > libavcodec/x86/vp56dsp.d
>> common.mak:44: recipe for target 'libavcodec/x86/dsputil_mmx.o' failed
>> make: *** [libavcodec/x86/dsputil_mmx.o] Error 1
>> make: *** Waiting for unfinished jobs....
>> yasm -f elf -m amd64 -DPIC -I.
>> -I"/sdb3/home/jd/rpmbuild/BUILD/ffmpeg-20160428" -Pconfig.asm -I
>> libavcodec/x86/ -o libavcodec/x86/vp56dsp.o
>> libavcodec/x86/vp56dsp.asm
>> error: Bad exit status from /var/tmp/rpm-tmp.fkHUB2 (%build)
> missing configure command line options and config.mak/h/log
> as well as yasm version
> URL where you downloaded the snapshot
> also did this work for you with previous snapshots
$ rpm -q yasm
yasm-1.2.0-7.fc22.x86_64
$ pwd
/usr/src/redhat/BUILD/ffmpeg-20160428
$ file config.mak
config.mak: makefile script, ASCII text, with very long lines

So, config.mak is not a directory

$ find . -type d -name h
$
$ find . -name log
$

The config comand:

./configure \
     --prefix=%{_prefix} \
     --bindir=%{_bindir} \
     --datadir=%{_datadir}/%{name} \
     --incdir=%{_includedir}/%{name} \
     --libdir=%{_libdir} \
     --mandir=%{_mandir} \
     --arch=%{_target_cpu} \
     --enable-libopencore-amrnb \
     --enable-version3 \
     --enable-bzlib \
     --enable-frei0r \
     --enable-libdc1394 \
     --enable-libdirac \
     --enable-libfaac \
     --enable-nonfree \
     --enable-nonfree \
     --enable-indev=jack \
     --enable-libgsm \\\
     --enable-libmp3lame \
     --enable-nonfree \
     --enable-libopencv \
     --enable-libopenjpeg \
     --enable-librtmp \
     --enable-libschroedinger \
     --enable-libspeex \
     --enable-libtheora \
     --enable-libvorbis \
     --enable-libvpx \
     --enable-libx264 \
     --enable-libxvid \
     --enable-x11grab \
     --enable-avfilter \
     --enable-postproc \
     --enable-pthreads \
     --disable-static \
     --enable-shared \
     --enable-gpl \
     --disable-debug \
     --disable-stripping



More information about the ffmpeg-devel mailing list