ffmpeg编译连接报错 undefined reference to `uncompress‘
答案(添加-lz
到链接选项):
-lz
问题:
Consolidate compiler generated dependencies of target cap_save
[ 50%] Linking CXX executable cap_save
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(cscd.o): in function `decode_frame':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/cscd.c:99: undefined reference to `uncompress'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(dxa.o): in function `decode_frame':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/dxa.c:250: undefined reference to `uncompress'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(exr.o): in function `dwa_uncompress':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/exr.c:1058: undefined reference to `uncompress'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/exr.c:1082: undefined reference to `uncompress'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(exr.o): in function `zip_uncompress':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/exr.c:203: undefined reference to `uncompress'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(exr.o):/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/exr.c:700: more undefined references to `uncompress' follow
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(flashsv.o): in function `flashsv_decode_block':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/flashsv.c:190: undefined reference to `inflateReset'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(flashsv.o): in function `flashsv2_prime':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/flashsv.c:157: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/flashsv.c:159: undefined reference to `deflateInit_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/flashsv.c:165: undefined reference to `deflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/flashsv.c:166: undefined reference to `deflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/flashsv.c:168: undefined reference to `inflateReset'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/flashsv.c:177: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(flashsv.o): in function `flashsv_decode_block':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/flashsv.c:206: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/flashsv.c:209: undefined reference to `inflateSync'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/flashsv.c:210: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(flashsv.o): in function `calc_deflate_block_size':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/flashsv.c:258: undefined reference to `deflateInit_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/flashsv.c:260: undefined reference to `deflateBound'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/flashsv.c:261: undefined reference to `deflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(flashsv.o): in function `flashsv_decode_end':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/flashsv.c:107: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(flashsv.o): in function `flashsv_decode_init':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/flashsv.c:126: undefined reference to `inflateInit_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(flashsv2enc.o): in function `encode_zlib':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/flashsv2enc.c:361: undefined reference to `compress2'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(flashsv2enc.o): in function `encode_zlibprime':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/flashsv2enc.c:373: undefined reference to `deflateInit_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/flashsv2enc.c:382: undefined reference to `deflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/flashsv2enc.c:391: undefined reference to `deflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/flashsv2enc.c:392: undefined reference to `deflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(flashsvenc.o): in function `encode_bitstream':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/flashsvenc.c:174: undefined reference to `compress2'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/flashsvenc.c:174: undefined reference to `compress2'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(g2meet.o): in function `kempf_decode_tile':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/g2meet.c:1111: undefined reference to `uncompress'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(lcldec.o): in function `zlib_decomp':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/lcldec.c:134: undefined reference to `inflateReset'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/lcldec.c:143: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(lcldec.o): in function `decode_end':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/lcldec.c:648: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(lcldec.o): in function `decode_init':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/lcldec.c:629: undefined reference to `inflateInit_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(lclenc.o): in function `encode_frame':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/lclenc.c:71: undefined reference to `deflateBound'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/lclenc.c:81: undefined reference to `deflateReset'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/lclenc.c:92: undefined reference to `deflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/lclenc.c:98: undefined reference to `deflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(lclenc.o): in function `encode_end':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/lclenc.c:165: undefined reference to `deflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(lclenc.o): in function `encode_init':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/lclenc.c:151: undefined reference to `deflateInit_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(mscc.o): in function `decode_frame':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/mscc.c:174: undefined reference to `inflateReset'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/mscc.c:183: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(mscc.o): in function `decode_close':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/mscc.c:255: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(mscc.o): in function `decode_init':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/mscc.c:238: undefined reference to `inflateInit_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(mvha.o): in function `decode_frame':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/mvha.c:171: undefined reference to `inflateReset'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/mvha.c:185: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(mvha.o): in function `decode_close':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/mvha.c:304: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(mvha.o): in function `decode_init':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/mvha.c:289: undefined reference to `inflateInit_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(mwsc.o): in function `decode_frame':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/mwsc.c:112: undefined reference to `inflateReset'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/mwsc.c:121: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(mwsc.o): in function `decode_close':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/mwsc.c:186: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(mwsc.o): in function `decode_init':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/mwsc.c:166: undefined reference to `inflateInit_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(pngdec.o): in function `decode_zbuf':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/pngdec.c:468: undefined reference to `inflateInit_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/pngdec.c:482: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/pngdec.c:491: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/pngdec.c:496: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(pngdec.o): in function `png_decode_idat':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/pngdec.c:436: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(pngdec.o): in function `decode_frame_apng':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/pngdec.c:1627: undefined reference to `inflateInit_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/pngdec.c:1662: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(pngdec.o): in function `decode_frame_png':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/pngdec.c:1567: undefined reference to `inflateInit_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/pngdec.c:1595: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(pngenc.o): in function `png_write_row':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/pngenc.c:279: undefined reference to `deflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(pngenc.o): in function `encode_frame':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/pngenc.c:498: undefined reference to `deflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/pngenc.c:520: undefined reference to `deflateReset'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(pngenc.o): in function `png_write_row':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/pngenc.c:279: undefined reference to `deflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(pngenc.o): in function `encode_png':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/pngenc.c:532: undefined reference to `deflateBound'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(pngenc.o): in function `encode_apng':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/pngenc.c:862: undefined reference to `deflateBound'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(pngenc.o): in function `png_enc_close':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/pngenc.c:1102: undefined reference to `deflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(pngenc.o): in function `png_enc_init':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/pngenc.c:1092: undefined reference to `deflateInit2_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(rasc.o): in function `decode_zlib':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/rasc.c:181: undefined reference to `inflateReset'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/rasc.c:197: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(rasc.o): in function `decode_kfrm':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/rasc.c:492: undefined reference to `inflateReset'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/rasc.c:506: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/rasc.c:521: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(rasc.o): in function `decode_close':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/rasc.c:784: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(rasc.o): in function `decode_init':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/rasc.c:760: undefined reference to `inflateInit_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(rscc.o): in function `rscc_decode_frame':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/rscc.c:214: undefined reference to `uncompress'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/rscc.c:307: undefined reference to `uncompress'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(screenpresso.o): in function `screenpresso_decode_frame':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/screenpresso.c:142: undefined reference to `uncompress'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(svq3.o): in function `svq3_decode_init':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/svq3.c:1274: undefined reference to `uncompress'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(tdsc.o): in function `tdsc_decode_frame':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/tdsc.c:547: undefined reference to `uncompress'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(tiff.o): in function `tiff_uncompress':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/tiff.c:495: undefined reference to `inflateInit_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/tiff.c:500: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/tiff.c:501: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(tiffenc.o): in function `encode_strip':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/tiffenc.c:179: undefined reference to `compress'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(tscc.o): in function `decode_frame':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/tscc.c:86: undefined reference to `inflateReset'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/tscc.c:95: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(tscc.o): in function `decode_end':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/tscc.c:185: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(tscc.o): in function `decode_init':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/tscc.c:165: undefined reference to `inflateInit_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(wcmv.o): in function `decode_frame':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/wcmv.c:52: undefined reference to `inflateReset'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/wcmv.c:86: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/wcmv.c:93: undefined reference to `inflateReset'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/wcmv.c:188: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(wcmv.o): in function `decode_close':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/wcmv.c:247: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(wcmv.o): in function `decode_init':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/wcmv.c:229: undefined reference to `inflateInit_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(zerocodec.o): in function `zerocodec_decode_frame':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/zerocodec.c:56: undefined reference to `inflateReset'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/zerocodec.c:79: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(zerocodec.o): in function `zerocodec_decode_close':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/zerocodec.c:109: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(zerocodec.o): in function `zerocodec_decode_init':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/zerocodec.c:127: undefined reference to `inflateInit_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(zmbv.o): in function `decode_frame':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/zmbv.c:495: undefined reference to `inflateReset'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/zmbv.c:543: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(zmbv.o): in function `decode_end':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/zmbv.c:650: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(zmbv.o): in function `decode_init':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/zmbv.c:635: undefined reference to `inflateInit_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(zmbvenc.o): in function `encode_frame':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/zmbvenc.c:279: undefined reference to `deflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/zmbvenc.c:270: undefined reference to `deflateReset'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(zmbvenc.o): in function `encode_end':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/zmbvenc.c:316: undefined reference to `deflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(zmbvenc.o): in function `encode_init':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/zmbvenc.c:422: undefined reference to `deflateInit_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavformat.a(mov.o): in function `mov_read_cmov':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavformat/mov.c:5287: undefined reference to `uncompress'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavformat.a(swfdec.o): in function `swf_read_packet':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavformat/swfdec.c:398: undefined reference to `uncompress'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavformat.a(swfdec.o): in function `swf_read_header':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavformat/swfdec.c:160: undefined reference to `inflateInit_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavformat.a(swfdec.o): in function `zlib_refill':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavformat/swfdec.c:133: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavformat.a(swfdec.o): in function `swf_read_close':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavformat/swfdec.c:562: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(exrenc.o): in function `encode_scanline_zip':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/exrenc.c:329: undefined reference to `compress'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(lscrdec.o): in function `decode_frame_lscr':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/lscrdec.c:141: undefined reference to `inflateInit_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(lscrdec.o): in function `decode_idat':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/lscrdec.c:87: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(lscrdec.o): in function `decode_frame_lscr':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/lscrdec.c:216: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/lscrdec.c:226: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/lscrdec.c:226: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/lscrdec.c:226: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/lscrdec.c:226: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavcodec.a(lscrdec.o):/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavcodec/lscrdec.c:226: more undefined references to `inflateEnd' follow
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavformat.a(utils.o): in function `av_apply_bitstream_filters':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavformat/utils.c:5632: undefined reference to `av_bitstream_filter_filter'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavformat.a(http.o): in function `http_close':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavformat/http.c:1758: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavformat.a(http.o): in function `parse_content_encoding':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavformat/http.c:773: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavformat/http.c:774: undefined reference to `inflateInit2_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavformat/http.c:779: undefined reference to `zlibCompileFlags'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavformat.a(http.o): in function `http_buf_read_compressed':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavformat/http.c:1535: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavformat.a(id3v2.o): in function `id3v2_parse':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavformat/id3v2.c:1023: undefined reference to `uncompress'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavformat.a(matroskadec.o): in function `matroska_decode_buffer':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavformat/matroskadec.c:1693: undefined reference to `inflateInit_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavformat/matroskadec.c:1708: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavformat/matroskadec.c:1701: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavformat/matroskadec.c:1711: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavformat.a(rtmpproto.o): in function `rtmp_uncompress_swfplayer':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavformat/rtmpproto.c:1076: undefined reference to `inflateInit_'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavformat/rtmpproto.c:1086: undefined reference to `inflate'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavformat/rtmpproto.c:1104: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavformat/rtmpproto.c:1104: undefined reference to `inflateEnd'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavformat.a(spdifdec.o): in function `spdif_get_offset_and_codec':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavformat/spdifdec.c:63: undefined reference to `av_adts_header_parse'
/usr/bin/ld: /home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavformat/spdifdec.c:63: undefined reference to `av_adts_header_parse'
/usr/bin/ld: /home/jn/Desktop/3rdParty/libs/ffmpeg/lib/libavformat.a(spdifenc.o): in function `spdif_header_aac':
/home/jn/Desktop/3rdParty/source/ffmpeg-4.4.5/libavformat/spdifenc.c:364: undefined reference to `av_adts_header_parse'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/cap_save.dir/build.make:97: cap_save] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/cap_save.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
[jn@jn build]$