Compile digikam fails

Dirk Vornheder dirk_vornheder at yahoo.de
Wed Oct 4 12:16:22 BST 2023


Hi !


After updating ffmpeg 4.4.4 to the version from git because compiling

ffmpeg versions 4.4.4 / 5.x and 6.0 fail compile digikam version from

git fails too:


[ 44%] Linking CXX shared library ../../bin/libdigikamcore.so
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/metadataengine/CMakeFiles/core_dmetadata_obj.dir/dmetadata/dmetadata_video.cpp.o: 
in function `Digikam::DMetadata::loadUsingFFmpeg(QString const&)':
/privat/system/digikam/core/libs/metadataengine/dmetadata/dmetadata_video.cpp:228:(.text+0x978): 
undefined reference to `av_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/threadimageio/CMakeFiles/core_threadimageio_obj.dir/video/videothumbdecoder.cpp.o: 
in function `Digikam::VideoThumbDecoder::initialize(QString const&)':
/privat/system/digikam/core/libs/threadimageio/video/videothumbdecoder.cpp:46:(.text+0xee): 
undefined reference to `av_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/threadimageio/video/videothumbdecoder.cpp:52:(.text+0xf3): 
undefined reference to `avcodec_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/ffmpeg/AVMuxer.cpp.o: in 
function `QtAV::getFFmpegOutputFormats(QStringList*, QStringList*)':
/privat/system/digikam/core/libs/video/qtav/ffmpeg/AVMuxer.cpp:369:(.text+0xa71): 
undefined reference to `av_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/ffmpeg/AVMuxer.cpp:372:(.text+0xa85): 
undefined reference to `av_oformat_next'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/ffmpeg/AVMuxer.cpp.o: in 
function `QtAV::AVMuxer::supportedProtocols()':
/privat/system/digikam/core/libs/video/qtav/ffmpeg/AVMuxer.cpp:461:(.text+0x1077): 
undefined reference to `av_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/ffmpeg/AVMuxer.cpp.o: in 
function `QtAV::AVMuxer::Private::Private()':
/privat/system/digikam/core/libs/video/qtav/ffmpeg/AVMuxer.cpp:63:(.text._ZN4QtAV7AVMuxer7PrivateC2Ev[_ZN4QtAV7AVMuxer7PrivateC5Ev]+0xf5): 
undefined reference to `av_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/ffmpeg/AVDemuxer.cpp.o: 
in function 
`QtAV::AVDemuxer::AVDemuxer(QObject*)::AVInitializer::AVInitializer()':
/privat/system/digikam/core/libs/video/qtav/ffmpeg/AVDemuxer.cpp:505:(.text+0x57): 
undefined reference to `avcodec_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/ffmpeg/AVDemuxer.cpp:517:(.text+0x61): 
undefined reference to `av_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/ffmpeg/AVDemuxer.cpp.o: 
in function `QtAV::getFFmpegInputFormats(QStringList*, QStringList*)':
/privat/system/digikam/core/libs/video/qtav/ffmpeg/AVDemuxer.cpp:561:(.text+0x36e): 
undefined reference to `av_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/ffmpeg/AVDemuxer.cpp:563:(.text+0x37a): 
undefined reference to `av_iformat_next'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/ffmpeg/AVDemuxer.cpp.o: 
in function `QtAV::AVDemuxer::supportedProtocols()':
/privat/system/digikam/core/libs/video/qtav/ffmpeg/AVDemuxer.cpp:641:(.text+0x94f): 
undefined reference to `av_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/ffmpeg/ffmpegconfighelper.cpp.o: 
in function `Digikam::FFMpegConfigHelper::getVideoCodecsProperties()':
/privat/system/digikam/core/libs/video/qtav/ffmpeg/ffmpegconfighelper.cpp:42:(.text+0x2b): 
undefined reference to `avcodec_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/ffmpeg/ffmpegconfighelper.cpp:44:(.text+0x37): 
undefined reference to `av_codec_next'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/ffmpeg/ffmpegconfighelper.cpp.o: 
in function `Digikam::FFMpegConfigHelper::getAudioCodecsProperties()':
/privat/system/digikam/core/libs/video/qtav/ffmpeg/ffmpegconfighelper.cpp:97:(.text+0x35b): 
undefined reference to `avcodec_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/ffmpeg/ffmpegconfighelper.cpp:99:(.text+0x367): 
undefined reference to `av_codec_next'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/ffmpeg/ffmpegconfighelper.cpp.o: 
in function `Digikam::FFMpegConfigHelper::getExtensionsProperties()':
/privat/system/digikam/core/libs/video/qtav/ffmpeg/ffmpegconfighelper.cpp:152:(.text+0x69d): 
undefined reference to `av_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/ffmpeg/ffmpegconfighelper.cpp:155:(.text+0x6b1): 
undefined reference to `av_oformat_next'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/ffmpeg/ffmpegconfighelper.cpp:199:(.text+0x890): 
undefined reference to `av_oformat_next'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/subtitle/SubtitleProcessorFFmpeg.cpp.o: 
in function `QtAV::ffmpeg_supported_sub_extensions_by_codec()':
/privat/system/digikam/core/libs/video/qtav/subtitle/SubtitleProcessorFFmpeg.cpp:115:(.text+0x21b): 
undefined reference to `avcodec_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/subtitle/SubtitleProcessorFFmpeg.cpp:117:(.text+0x227): 
undefined reference to `av_codec_next'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/subtitle/SubtitleProcessorFFmpeg.cpp:136:(.text+0x325): 
undefined reference to `av_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/subtitle/SubtitleProcessorFFmpeg.cpp:139:(.text+0x339): 
undefined reference to `av_iformat_next'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/subtitle/SubtitleProcessorFFmpeg.cpp.o: 
in function `QtAV::ffmpeg_supported_sub_extensions()':
/privat/system/digikam/core/libs/video/qtav/subtitle/SubtitleProcessorFFmpeg.cpp:193:(.text+0x6dc): 
undefined reference to `av_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/subtitle/SubtitleProcessorFFmpeg.cpp:196:(.text+0x6f0): 
undefined reference to `av_iformat_next'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/subtitle/SubtitleProcessorFFmpeg.cpp:229:(.text+0x833): 
undefined reference to `avcodec_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/subtitle/SubtitleProcessorFFmpeg.cpp:231:(.text+0x83f): 
undefined reference to `av_codec_next'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/utils/QtAV_Global.cpp.o: 
in function `QtAV::avformatOptions()':
/privat/system/digikam/core/libs/video/qtav/utils/QtAV_Global.cpp:359:(.text+0x1b79): 
undefined reference to `av_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/utils/QtAV_Global.cpp:361:(.text+0x1b85): 
undefined reference to `av_iformat_next'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/utils/QtAV_Global.cpp:386:(.text+0x1d33): 
undefined reference to `av_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/utils/QtAV_Global.cpp:389:(.text+0x1d47): 
undefined reference to `av_oformat_next'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/utils/QtAV_Global.cpp.o: 
in function `QtAV::avcodecOptions()':
/privat/system/digikam/core/libs/video/qtav/utils/QtAV_Global.cpp:428:(.text+0x20db): 
undefined reference to `avcodec_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/utils/QtAV_Global.cpp:430:(.text+0x20e7): 
undefined reference to `av_codec_next'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/filter/LibAVFilter.cpp.o: 
in function `QtAV::LibAVFilter::filterDescription(QString const&)':
/privat/system/digikam/core/libs/video/qtav/filter/LibAVFilter.cpp:339:(.text+0x1b8): 
undefined reference to `avfilter_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/filter/LibAVFilter.cpp.o: 
in function `QtAV::LibAVFilter::registeredFilters(int)':
/privat/system/digikam/core/libs/video/qtav/filter/LibAVFilter.cpp:457:(.text+0x7d5): 
undefined reference to `avfilter_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/filter/LibAVFilter.cpp:468:(.text+0x7f1): 
undefined reference to `avfilter_next'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/filter/LibAVFilter.cpp.o: 
in function `QtAV::LibAVFilter::Private::Private()':
/privat/system/digikam/core/libs/video/qtav/filter/LibAVFilter.cpp:144:(.text._ZN4QtAV11LibAVFilter7PrivateC2Ev[_ZN4QtAV11LibAVFilter7PrivateC5Ev]+0x7b): 
undefined reference to `avfilter_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/codec/audio/AudioDecoder.cpp.o: 
in function `QtAV::AudioDecoder::supportedCodecs()':
/privat/system/digikam/core/libs/video/qtav/codec/audio/AudioDecoder.cpp:64:(.text+0x2de): 
undefined reference to `avcodec_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/codec/audio/AudioDecoder.cpp:66:(.text+0x2ea): 
undefined reference to `av_codec_next'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/codec/audio/AudioDecoderFFmpeg.cpp.o: 
in function `QtAV::AudioDecoderFFmpeg::decode(QtAV::Packet const&)':
/privat/system/digikam/core/libs/video/qtav/codec/audio/AudioDecoderFFmpeg.cpp:130:(.text+0x1bb): 
undefined reference to `avcodec_decode_audio4'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/codec/audio/AudioDecoderFFmpeg.cpp:137:(.text+0x1f1): 
undefined reference to `avcodec_decode_audio4'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/codec/audio/AudioDecoderFFmpeg.cpp.o: 
in function `QtAV::AudioDecoderFFmpegPrivate::AudioDecoderFFmpegPrivate()':
/privat/system/digikam/core/libs/video/qtav/codec/audio/AudioDecoderFFmpeg.cpp:82:(.text._ZN4QtAV25AudioDecoderFFmpegPrivateC2Ev[_ZN4QtAV25AudioDecoderFFmpegPrivateC5Ev]+0x38): 
undefined reference to `avcodec_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/codec/audio/AudioEncoder.cpp.o: 
in function `QtAV::AudioEncoder::supportedCodecs()':
/privat/system/digikam/core/libs/video/qtav/codec/audio/AudioEncoder.cpp:66:(.text+0x2f6): 
undefined reference to `avcodec_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/codec/audio/AudioEncoder.cpp:68:(.text+0x302): 
undefined reference to `av_codec_next'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/codec/audio/AudioEncoderFFmpeg.cpp.o: 
in function `QtAV::AudioEncoderFFmpeg::encode(QtAV::AudioFrame const&)':
/privat/system/digikam/core/libs/video/qtav/codec/audio/AudioEncoderFFmpeg.cpp:323:(.text+0x1265): 
undefined reference to `avcodec_encode_audio2'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/codec/audio/AudioEncoderFFmpeg.cpp.o: 
in function `QtAV::AudioEncoderFFmpegPrivate::AudioEncoderFFmpegPrivate()':
/privat/system/digikam/core/libs/video/qtav/codec/audio/AudioEncoderFFmpeg.cpp:70:(.text._ZN4QtAV25AudioEncoderFFmpegPrivateC2Ev[_ZN4QtAV25AudioEncoderFFmpegPrivateC5Ev]+0x3a): 
undefined reference to `avcodec_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/codec/AVDecoder.cpp.o: 
in function `QtAV::AVDecoder::AVDecoder(QtAV::AVDecoderPrivate&)':
/privat/system/digikam/core/libs/video/qtav/codec/AVDecoder.cpp:79:(.text+0x2de): 
undefined reference to `avcodec_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/codec/AVDecoder.cpp.o: 
in function `QtAV::AVDecoder::setCodecContext(void*)':
/privat/system/digikam/core/libs/video/qtav/codec/AVDecoder.cpp:332:(.text+0xfd9): 
undefined reference to `avcodec_copy_context'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/codec/AVEncoder.cpp.o: 
in function `QtAV::AVEncoder::copyAVCodecContext(void*)':
/privat/system/digikam/core/libs/video/qtav/codec/AVEncoder.cpp:178:(.text+0x4db): 
undefined reference to `avcodec_copy_context'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/codec/video/VideoDecoder.cpp.o: 
in function `QtAV::VideoDecoder::supportedCodecs()':
/privat/system/digikam/core/libs/video/qtav/codec/video/VideoDecoder.cpp:141:(.text+0x398): 
undefined reference to `avcodec_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/codec/video/VideoDecoder.cpp:143:(.text+0x3a4): 
undefined reference to `av_codec_next'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/codec/video/VideoDecoderFFmpegBase.cpp.o: 
in function `QtAV::SetColorDetailsByFFmpeg(QtAV::VideoFrame*, AVFrame*, 
AVCodecContext*)':
/privat/system/digikam/core/libs/video/qtav/codec/video/VideoDecoderFFmpegBase.cpp:34:(.text+0x67): 
undefined reference to `av_frame_get_colorspace'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/codec/video/VideoDecoderFFmpegBase.cpp:49:(.text+0xa8): 
undefined reference to `av_frame_get_color_range'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/codec/video/VideoDecoderFFmpegBase.cpp.o: 
in function `QtAV::VideoDecoderFFmpegBase::decode(QtAV::Packet const&)':
/privat/system/digikam/core/libs/video/qtav/codec/video/VideoDecoderFFmpegBase.cpp:203:(.text+0x5a1): 
undefined reference to `avcodec_decode_video2'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/codec/video/VideoDecoderFFmpegBase.cpp:210:(.text+0x5d4): 
undefined reference to `avcodec_decode_video2'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/codec/video/VideoDecoderFFmpeg.cpp.o: 
in function 
`QtAV::VideoDecoderFFmpegBasePrivate::VideoDecoderFFmpegBasePrivate()':
/privat/system/digikam/core/libs/video/qtav/codec/video/VideoDecoderFFmpegBase.h:66:(.text._ZN4QtAV29VideoDecoderFFmpegBasePrivateC2Ev[_ZN4QtAV29VideoDecoderFFmpegBasePrivateC5Ev]+0x4a): 
undefined reference to `avcodec_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/codec/video/VideoEncoder.cpp.o: 
in function `QtAV::VideoEncoder::supportedCodecs()':
/privat/system/digikam/core/libs/video/qtav/codec/video/VideoEncoder.cpp:68:(.text+0x2fe): 
undefined reference to `avcodec_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/codec/video/VideoEncoder.cpp:70:(.text+0x30a): 
undefined reference to `av_codec_next'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/codec/video/VideoEncoderFFmpeg.cpp.o: 
in function `QtAV::VideoEncoderFFmpeg::encode(QtAV::VideoFrame const&)':
/privat/system/digikam/core/libs/video/qtav/codec/video/VideoEncoderFFmpeg.cpp:617:(.text+0x1f60): 
undefined reference to `avcodec_encode_video2'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/codec/video/VideoEncoderFFmpeg.cpp.o: 
in function `QtAV::VideoEncoderFFmpegPrivate::VideoEncoderFFmpegPrivate()':
/privat/system/digikam/core/libs/video/qtav/codec/video/VideoEncoderFFmpeg.cpp:119:(.text._ZN4QtAV25VideoEncoderFFmpegPrivateC2Ev[_ZN4QtAV25VideoEncoderFFmpegPrivateC5Ev]+0x9a): 
undefined reference to `avcodec_register_all'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/codec/video/VideoDecoderCUDA.cpp.o: 
in function `QtAV::VideoDecoderCUDA::decode(QtAV::Packet const&)':
/privat/system/digikam/core/libs/video/qtav/codec/video/VideoDecoderCUDA.cpp:547:(.text+0xa61): 
undefined reference to `av_bitstream_filter_filter'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/codec/video/VideoDecoderCUDA.cpp.o: 
in function `QtAV::VideoDecoderCUDAPrivate::setBSF(AVCodecID)':
/privat/system/digikam/core/libs/video/qtav/codec/video/VideoDecoderCUDA.cpp:1122:(.text+0x4db7): 
undefined reference to `av_bitstream_filter_init'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/codec/video/VideoDecoderCUDA.cpp:1129:(.text+0x4e16): 
undefined reference to `av_bitstream_filter_init'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
/privat/system/digikam/core/libs/video/qtav/codec/video/VideoDecoderCUDA.cpp:1137:(.text+0x4e6f): 
undefined reference to `av_bitstream_filter_close'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: 
../libs/video/qtav/CMakeFiles/core_qtav_obj.dir/codec/video/VideoDecoderCUDA.cpp.o: 
in function `QtAV::VideoDecoderCUDAPrivate::~VideoDecoderCUDAPrivate()':
/privat/system/digikam/core/libs/video/qtav/codec/video/VideoDecoderCUDA.cpp:242:(.text._ZN4QtAV23VideoDecoderCUDAPrivateD2Ev[_ZN4QtAV23VideoDecoderCUDAPrivateD5Ev]+0x49): 
undefined reference to `av_bitstream_filter_close'
collect2: error: ld returned 1 exit status
make[2]: *** [core/app/CMakeFiles/digikamcore.dir/build.make:1985: 
bin/libdigikamcore.so.8.2.0] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:10579: 
core/app/CMakeFiles/digikamcore.dir/all] Fehler 2
make: *** [Makefile:146: all] Fehler 2

Regards,

Dirk


More information about the Digikam-users mailing list