[FFmpeg-user] Compilation Error on including libffmpeg-audio-dec library

Taruna Kumari taruna.kumari at tataelxsi.co.in
Mon Mar 20 09:20:36 EET 2017


Hi,


I have included library libffmpeg-audio-dec in my code base through kernel configuration file.

I am cross compiling my code for openwrt.

The error message is:


cd /home/taruna/GRX_350/UGW-7.1.1/UGW-7.1.1-SW-CD/Sources/UGW-7.1.1/build_dir/target-mips_mips32_uClibc-0.9.33.2_grx350_1600_mr_vdsl_lte_sec_gw_711/ffmpeg-audio-dec/ffmpeg-2.6.2; CFLAGS="-Os -pipe -mips32r2 -mtune=1004kc -fno-caller-saves -fhonour-copts -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wl,-z,now -Wl,-z,relro -I/home/taruna/GRX_350/UGW-7.1.1/UGW-7.1.1-SW-CD/Sources/UGW-7.1.1/staging_dir/target-mips_mips32_uClibc-0.9.33.2_grx350_1600_mr_vdsl_lte_sec_gw_711/usr/include -I/home/taruna/GRX_350/UGW-7.1.1/UGW-7.1.1-SW-CD/Sources/UGW-7.1.1/staging_dir/target-mips_mips32_uClibc-0.9.33.2_grx350_1600_mr_vdsl_lte_sec_gw_711/include -I/home/taruna/GRX_350/UGW-7.1.1/UGW-7.1.1-SW-CD/Sources/UGW-7.1.1/staging_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/taruna/GRX_350/UGW-7.1.1/UGW-7.1.1-SW-CD/Sources/UGW-7.1.1/staging_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/include -fpic" LDFLAGS="-L/home/taruna/GRX_350/UGW-7.1.1/UGW-7.1.1-SW-CD/Sources/UGW-7.1.1/staging_dir/target-mips_mips32_uClibc-0.9.33.2_grx350_1600_mr_vdsl_lte_sec_gw_711/usr/lib -L/home/taruna/GRX_350/UGW-7.1.1/UGW-7.1.1-SW-CD/Sources/UGW-7.1.1/staging_dir/target-mips_mips32_uClibc-0.9.33.2_grx350_1600_mr_vdsl_lte_sec_gw_711/lib -L/home/taruna/GRX_350/UGW-7.1.1/UGW-7.1.1-SW-CD/Sources/UGW-7.1.1/staging_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/taruna/GRX_350/UGW-7.1.1/UGW-7.1.1-SW-CD/Sources/UGW-7.1.1/staging_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/lib" ./configure --enable-cross-compile --cross-prefix="mips-openwrt-linux-uclibc-" --arch="mips" --target-os=linux --prefix="/usr" --pkg-config="pkg-config" --enable-shared --enable-static --enable-small --enable-pthreads --enable-zlib --disable-runtime-cpudetect --disable-doc --disable-debug --enable-gpl --enable-version3 --disable-altivec --disable-amd3dnow --disable-amd3dnowext --disable-mmx --disable-mmxext --disable-sse --disable-sse2 --disable-sse3 --disable-ssse3 --disable-sse4 --disable-sse42 --disable-avx --disable-xop --disable-fma3 --disable-fma4 --disable-avx2 --disable-vfp --disable-neon --disable-inline-asm --disable-yasm --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2 --disable-mipsfpu --disable-dxva2 --disable-lzma --disable-vaapi --disable-vda --disable-vdpau --disable-outdevs --disable-programs --disable-avfilter --disable-postproc --disable-swresample --disable-swscale --disable-everything  --enable-decoder="aac"   --enable-decoder="aac_latm"   --enable-decoder="ac3"   --enable-decoder="adpcm_*"   --enable-decoder="alac"   --enable-decoder="amrnb"   --enable-decoder="amrwb"   --enable-decoder="ape"   --enable-decoder="atrac3"   --enable-decoder="flac"   --enable-decoder="mp2"   --enable-decoder="mp3*"   --enable-decoder="mpc7"   --enable-decoder="mpc8"   --enable-decoder="pcm_*"   --enable-decoder="vorbis"   --enable-decoder="wavpack"   --enable-decoder="wmav1"   --enable-decoder="wmav2"   --enable-decoder="wmalossless"   --enable-decoder="wmapro"   --enable-decoder="zlib"   --enable-demuxer="aac"   --enable-demuxer="ac3"   --enable-demuxer="aiff"   --enable-demuxer="amr"   --enable-demuxer="ape"   --enable-demuxer="avi"   --enable-demuxer="flac"   --enable-demuxer="ffm"   --enable-demuxer="matroska"   --enable-demuxer="mp3"   --enable-demuxer="mov"   --enable-demuxer="mpc"   --enable-demuxer="mpc8"   --enable-demuxer="mpegts"   --enable-demuxer="ogg"   --enable-demuxer="rm"   --enable-demuxer="rtsp"   --enable-demuxer="rtp"   --enable-demuxer="sdp"   --enable-demuxer="wav"   --enable-demuxer="wv"   --enable-parser="aac"   --enable-parser="aac_latm"   --enable-parser="flac"   --enable-parser="ac3"   --enable-parser="mpegaudio"   --enable-protocol="file"   --enable-protocol="http"   --enable-protocol="icecast"   --enable-protocol="rtp"   --enable-protocol="tcp"   --enable-protocol="udp"  --enable-libopus --enable-decoder=libopus --enable-libspeex --enable-decoder=libspeex --disable-decoder=pcm_bluray,pcm_dvd  )
ERROR: opus 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 at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.

I have attached "config.log" file along with this mail.

I have tried to recompile the package by enabling "opus" package in the kernel but still, I am facing the same issue.
I have also tried to replace the existing "ffmpeg" package (ver. 2.6.2) with the latest version (ver. 3.2.4, downloaded  from  https://ffmpeg.org/download.html <https://ffmpeg.org/download.html> ), but this too doesn't solve the compilation issue.

Can you please help in resolving this issue?


Regards,

Taruna
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 385733 bytes
Desc: config.log
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20170320/1fb7d45d/attachment.obj>


More information about the ffmpeg-user mailing list