>>> ffmpeg 3.4.5 Extracting xzcat /home/rclinux/rc-buildroot-test/scripts/instance-0/dl/ffmpeg/ffmpeg-3.4.5.tar.xz | tar --strip-components=1 -C /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/ffmpeg-3.4.5 -xf - >>> ffmpeg 3.4.5 Patching Applying 0001-ffmpeg-pthreads.patch using patch: patching file configure Hunk #1 succeeded at 2785 (offset 5 lines). >>> ffmpeg 3.4.5 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/ffmpeg-3.4.5 -name $file); do cp support/gnuconfig/$file $i; done; done >>> ffmpeg 3.4.5 Patching libtool >>> ffmpeg 3.4.5 Configuring (cd /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/ffmpeg-3.4.5/ && rm -rf config.cache && PATH="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin:/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/sbin:/home/rclinux/bin:/home/rclinux/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" AR="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/arm-linux-ar" AS="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/arm-linux-as" LD="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/arm-linux-ld" NM="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/arm-linux-nm" CC="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/arm-linux-gcc" GCC="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/arm-linux-gcc" CPP="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/arm-linux-cpp" CXX="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/arm-linux-g++" FC="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/arm-linux-gfortran" F77="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/arm-linux-gfortran" RANLIB="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/arm-linux-ranlib" READELF="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/arm-linux-readelf" STRIP="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/arm-linux-strip" OBJCOPY="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/arm-linux-objcopy" OBJDUMP="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/arm-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/include" LDFLAGS_FOR_BUILD="-L/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/lib -Wl,-rpath,/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/arm-linux-as" DEFAULT_LINKER="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/arm-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -static -static" LDFLAGS=" -static" FCFLAGS=" -O2 -static" FFLAGS=" -O2 -static" PKG_CONFIG="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/pkg-config" STAGING_DIR="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no ./configure --enable-cross-compile --cross-prefix=/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/arm-linux- --sysroot=/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot --host-cc="/usr/bin/gcc" --arch="arm" --target-os="linux" --disable-stripping --pkg-config="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/pkg-config" --enable-static --disable-shared --prefix=/usr --enable-avfilter --disable-version3 --enable-logging --enable-optimizations --disable-extra-warnings --enable-avdevice --enable-avcodec --enable-avformat --enable-network --disable-gray --enable-swscale-alpha --disable-small --enable-dct --enable-fft --enable-mdct --enable-rdft --disable-crystalhd --disable-dxva2 --enable-runtime-cpudetect --disable-hardcoded-tables --disable-mipsdsp --disable-mipsdspr2 --disable-msa --enable-hwaccels --disable-cuda --disable-cuvid --disable-nvenc --disable-avisynth --disable-frei0r --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libdc1394 --disable-libgsm --disable-libilbc --disable-libvo-amrwbenc --disable-symver --disable-doc --disable-gpl --disable-nonfree --disable-ffmpeg --disable-ffplay --disable-ffserver --enable-avresample --enable-ffprobe --disable-postproc --disable-swscale --enable-indevs --enable-alsa --disable-outdevs --enable-pthreads --enable-zlib --enable-bzlib --disable-libfdk-aac --disable-libcdio --disable-gnutls --enable-openssl --enable-libdrm --disable-libopenh264 --enable-libvorbis --enable-muxer=ogg --enable-encoder=libvorbis --disable-vaapi --disable-vdpau --disable-mmal --disable-omx --disable-omx-rpi --disable-libopencv --enable-libopus --enable-libvpx --disable-libass --disable-libbluray --disable-librtmp --disable-libmp3lame --disable-libmodplug --disable-libspeex --disable-libtheora --enable-libwavpack --disable-iconv --disable-libfreetype --enable-fontconfig --disable-libopenjpeg --disable-libx264 --disable-libx265 --disable-x86asm --disable-mmx --disable-sse --disable-sse2 --disable-sse3 --disable-ssse3 --disable-sse4 --disable-sse42 --disable-avx --disable-avx2 --disable-armv6 --disable-armv6t2 --disable-vfp --disable-neon --disable-altivec --extra-libs=-latomic --disable-pic --cpu="arm926ej-s" ) ERROR: libdrm not found using pkg-config If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "ffbuild/config.log" produced by configure as this will help solve the problem. package/pkg-generic.mk:220: recipe for target '/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/ffmpeg-3.4.5/.stamp_configured' failed make: *** [/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/ffmpeg-3.4.5/.stamp_configured] Error 1 make: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/buildroot'