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]$

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/bicheng/53790.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

基于vue框架的城市智慧地铁管理系统73c2d(程序+源码+数据库+调试部署+开发环境)系统界面在最后面。

系统程序文件列表 项目功能:用户,站点查询,车次线路,站点周边 开题报告内容 基于Vue框架的城市智慧地铁管理系统开题报告 一、研究背景与意义 1.1 研究背景 随着城市化进程的加速和人口的不断增长,城市交通压力日益增大。地铁作为城市公共交通的重要…

C++--模板

1 泛型编程 如何将Swap实现乘成一个通用的交换函数 void Swap(int& left, int& right) {int temp left;left right;right temp; }void Swap(double& left, double& right) {double temp left;left right;right temp; }void Swap(char& left, char&…

Docker 的安装和使用

参考资料: 通俗易懂了解什么是docker?Docker 教程 | 菜鸟教程Ubuntu 22.04 安装 DockerDocker 超详细基础教程WSL2 支持 systemctl 命令systemd 和 systemctl 是什么?使用正确的命令重启 WSL 子系统Ubuntu 修改源镜像方法Docker 中出现 ‘/etc/resolv.…

深入理解Java虚拟机:Jvm总结-Java内存区域与内存溢出异常

第二章 Java内存区域与内存溢出异常 2.1 意义 对于C、C程序开发来说,程序员需要维护每一个对象从开始到终结。Java的虚拟自动内存管理机制,让java程序员不需要手写delete或者free代码,不容易出现内存泄漏和内存溢出问题,但是如果…

【网络安全】-文件上传漏洞

文件操作漏洞包括文件上传漏洞,文件包含漏洞,文件下载漏洞。 文章目录 前言 什么是文件上传漏洞? 文件上传的验证与绕过: 1.前端js验证:   Microsft Edge浏览器: Google Chrome浏览器: 2.后端…

LeetCode之常用函数

收集了 LeetCode 面试经典150 & LeetCode 热题100中常用的函数与技巧 LeetCode之数组/字符串 地址链接 public static void main(String[] args) {// 1. 数组排序int[] array new int[]{3, 7, 5, 2};Arrays.sort(array);// 结果: [2, 3, 5, 7]System.out.println(Arrays.…

【video clips 专栏 2 -- videopad 视频拼接】

文章目录 常用视频剪辑工具推荐videopad 视频拼接如何在 VideoPad 中并排放置两个视频 转自:https://www.imangodoc.com/CHxTwkIj.html 常用视频剪辑工具推荐 请阅读:https://www.videosoftdev.com/cn/free-video-editing-software-no-watermark vide…

Linux 基础命令-文件与目录操作

在 Linux 操作系统中,文件和目录是组织和管理数据的核心单元。作为一个命令行驱动的操作系统,Linux 提供了一系列强大且灵活的命令来操作文件和目录。掌握这些命令不仅是管理 Linux 系统的基础,也是高效使用 Linux 环境的关键。 一、文件与目…

Taro实现微信小程序自定义拍照截图识别

效果图&#xff1a; 代码&#xff1a; <template><view class"lary-top" :style"{ height: ${topBarHight}px }"></view><Camerav-show"!canvasShow"class"camera-photo":style"{width: ${info.windowWidt…

LIO-SAM如何保存地图

一、找到LIO-SAM配置文件&#xff0c;路径为config/params.yaml&#xff0c;修改以下两项参数&#xff1a; savePCD: true # https://github.com/TixiaoShan/LIO-SAM/issues/3savePCDDirectory: "/home/slam/catkin_ws/src/maps" …

Http带消息头两种请求办法

API接口最近经常碰到&#xff0c;协调几个乙方来回对接&#xff0c;把我折腾晕了&#xff0c;索性自己写一个小的工具&#xff0c;导入历史数据。 获取平台免登录token 接口说明 URL Path&#xff1a;gateweb/bigm-dm/openApi/ologin/openLogin 说明&#xff1a;第三方免登…

Java架构师实战篇Redis亿级数据统计方案

目录 1 Redis亿个keys数据统计方案2 Redis聚合统计(SUNIONSTORE)3 Redis排序统计(LRANGE)4 值状态统计(bitmap)4.1 位图简介4.2 应用场景4.3 常用的命令4 基数统计(SADD)5 总结想学习架构师构建流程请跳转:Java架构师系统架构设计 1 Redis亿个keys数据统计方案 在 Web 和移动…

Spring Cloud Gateway中的常见配置

问题 最近用到了Spring Cloud Gateway&#xff0c;这里记录一下这个服务的常见配置。 spring:data:redis:host: ${REDIS_HOST:xxx.xxx.xxx.xxx}port: ${REDIS_PORT:2345wsd}password: ${REDIS_PASS:sdfsdfgh}database: ${REDIS_DB:8}session:redis:flush-mode: on_savenamespa…

.NET 一款用于解密web.config配置的工具

01阅读须知 此文所提供的信息只为网络安全人员对自己所负责的网站、服务器等&#xff08;包括但不限于&#xff09;进行检测或维护参考&#xff0c;未经授权请勿利用文章中的技术资料对任何计算机系统进行入侵操作。利用此文所提供的信息而造成的直接或间接后果和损失&#xf…

SpringBoot2:请求处理原理分析-接口参数解析原理(argumentResolvers)

一、知识回顾 我们知道&#xff0c;接口的参数&#xff0c;一般都要配上注解来一起使用。 不同的参数注解&#xff0c;决定了传参的方式不同。 为什么会这样&#xff1f; 如果让你设计接口参数解析&#xff0c;你会怎么做&#xff1f; 首先&#xff0c;我们知道方法参数是形…

软件设计基础知识(5)

1.Cache与主存的地址映像需要专门的硬件自动完成&#xff0c;使用硬件来处理具有更高的转换速率。 2.指令寄存器用来存放当前正在执行的指令&#xff0c;对用户是完全透明的。 3.构造哈夫曼树的过程是首先从给出的权值集合中找出最小的两个权值。 4.PC(程序计数器) AR(地址寄…

Spring动态调用定时任务

Map<定时多久,List<方法>> map 动态定时任务 需求 使用一个结构来管理定时任务&#xff0c;其中每个时间间隔对应一组方法。这些方法需要在指定的时间间隔内执行。具体来说&#xff0c;维护一个 Map&#xff0c;键是定时的间隔&#xff08;以秒为单位&#xff09…

机器学习之监督学习(三)神经网络

机器学习之监督学习&#xff08;三&#xff09;神经网络基础 0. 文章传送1. 深度学习 Deep Learning深度学习的关键特点深度学习VS传统机器学习 2. 生物神经网络 Biological Neural Network3. 神经网络模型基本结构模块一&#xff1a;TensorFlow搭建神经网络 4. 反向传播梯度下…

开源的 Windows 12 网页体验版!精美的 UI 设计、丰富流畅的动画

大家周二好呀&#xff01;博主今天给小伙伴们分享一款炫酷的 Windows 12 体验版&#xff0c;网页效果拉满&#xff0c;非常值得我们去尝试&#xff01; 如果你对未来的Windows操作系统充满期待&#xff0c;那么这款开源的Windows 12 网页体验版绝对不容错过&#xff01;这不仅…

consul配置ACL安全认证

文章目录 前言一、漏洞详情二、漏洞处理1.ACL相关介绍2.开启ACL3.创建令牌4.修改acl文件5.修改单节点consul启动配置文件6.重启consul 三、漏洞处理结果验证 前言 因为现阶段属于护网期,因此公司对服务器、业务的安全都很关注,只要再次期间被漏扫出来的漏洞&#xff0c;都需要…