fail build commit 364b7f93add02c8c95efc6c64282ac1fd297d0f2

Started by sl1pkn07, July 17, 2016, 03:48:49 PM

Previous topic - Next topic

sl1pkn07


[100%] Linking CXX executable avidemux3_cli
CMakeFiles/avidemux3_cli.dir/tmp/makepkg/avidemux-git/src/avidemux/avidemux/common/gui_save.cpp.o: In function `HandleAction_Save(Action)':
gui_save.cpp:(.text+0x181b): undefined reference to `diaElemFile::diaElemFile(unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char const*, char const*, char const*)'
CMakeFiles/avidemux3_cli.dir/tmp/makepkg/avidemux-git/src/avidemux/avidemux/common/main.cpp.o: In function `startAvidemux(int, char**)':
main.cpp:(.text+0x27f): undefined reference to `CpuCaps::setMask(unsigned int)'
common/ADM_videoCodec/src/libADM_videocodec6.a(ADM_ffmpeg_vdpau.cpp.o): In function `vdpGetProcAddressWrapper':
ADM_ffmpeg_vdpau.cpp:(.text+0x47): undefined reference to `admVdpau::getProcAddress2()'
ADM_ffmpeg_vdpau.cpp:(.text+0x9d): undefined reference to `admVdpau::decoderCreate(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int*)'
common/ADM_videoCodec/src/libADM_videocodec6.a(ADM_ffmpeg_vdpau.cpp.o): In function `ADM_hwAccelEntryVdpau::canSupportThis(AVCodecContext*, AVPixelFormat const*, AVPixelFormat&)':
ADM_ffmpeg_vdpau.cpp:(.text+0x250): undefined reference to `ADM_acceleratedDecoderFF::parseHwAccel(AVPixelFormat, AVCodecID, AVPixelFormat)'
common/ADM_videoCodec/src/libADM_videocodec6.a(ADM_ffmpeg_vdpau.cpp.o): In function `decoderFFVDPAU::uncompress(ADMCompressedImage*, ADMImage*) [clone .part.25]':
ADM_ffmpeg_vdpau.cpp:(.text+0x4bb): undefined reference to `ADM_acceleratedDecoderFF::admFrameTypeFromLav(AVFrame*)'
common/ADM_videoCodec/src/libADM_videocodec6.a(ADM_ffmpeg_vdpau.cpp.o): In function `decoderFFVDPAU::readBackBuffer(AVFrame*, ADMCompressedImage*, ADMImage*)':
ADM_ffmpeg_vdpau.cpp:(.text+0x9f6): undefined reference to `ADM_acceleratedDecoderFF::admFrameTypeFromLav(AVFrame*)'
common/ADM_videoCodec/src/libADM_videocodec6.a(ADM_ffmpeg_vdpau.cpp.o): In function `initVDPAUDecoder()':
ADM_ffmpeg_vdpau.cpp:(.text+0xa5b): undefined reference to `ADM_hwAccelManager::registerDecoder(ADM_hwAccelEntry*)'
common/ADM_videoCodec/src/libADM_videocodec6.a(ADM_ffmpeg_vdpau.cpp.o): In function `vdpauRefDownload(ADMImage*, void*, void*)':
ADM_ffmpeg_vdpau.cpp:(.text+0xf76): undefined reference to `ADMImage::GetWritePlanes(unsigned char**)'
ADM_ffmpeg_vdpau.cpp:(.text+0xf83): undefined reference to `ADMImage::GetPitches(int*)'
common/ADM_videoCodec/src/libADM_videocodec6.a(ADM_ffmpeg_libva.cpp.o): In function `ADM_hwAccelEntryLibVA::canSupportThis(AVCodecContext*, AVPixelFormat const*, AVPixelFormat&)':
ADM_ffmpeg_libva.cpp:(.text+0xff): undefined reference to `ADM_acceleratedDecoderFF::parseHwAccel(AVPixelFormat, AVCodecID, AVPixelFormat)'
common/ADM_videoCodec/src/libADM_videocodec6.a(ADM_ffmpeg_libva.cpp.o): In function `decoderFFLIBVA::uncompress(ADMCompressedImage*, ADMImage*) [clone .part.11]':
ADM_ffmpeg_libva.cpp:(.text+0x394): undefined reference to `ADM_acceleratedDecoderFF::admFrameTypeFromLav(AVFrame*)'
common/ADM_videoCodec/src/libADM_videocodec6.a(ADM_ffmpeg_libva.cpp.o): In function `decoderFFLIBVA::readBackBuffer(AVFrame*, ADMCompressedImage*, ADMImage*)':
ADM_ffmpeg_libva.cpp:(.text+0x1779): undefined reference to `ADM_acceleratedDecoderFF::admFrameTypeFromLav(AVFrame*)'
common/ADM_videoCodec/src/libADM_videocodec6.a(ADM_ffmpeg_libva.cpp.o): In function `initLIBVADecoder()':
ADM_ffmpeg_libva.cpp:(.text+0x180b): undefined reference to `ADM_hwAccelManager::registerDecoder(ADM_hwAccelEntry*)'
common/ADM_editor/src/libADM_editor6.a(ADM_edRender.cpp.o): In function `ADM_Composer::dupe(ADMImage*, ADMImage*, _VIDEOS*)':
ADM_edRender.cpp:(.text+0x601): undefined reference to `ADMImage::GetPitches(int*)'
ADM_edRender.cpp:(.text+0x60d): undefined reference to `ADMImage::GetReadPlanes(unsigned char**)'
ADM_edRender.cpp:(.text+0x619): undefined reference to `ADMImage::GetPitches(int*)'
ADM_edRender.cpp:(.text+0x625): undefined reference to `ADMImage::GetWritePlanes(unsigned char**)'
ADM_edRender.cpp:(.text+0x63f): undefined reference to `ADMColorScalerFull::convertPlanes(int*, int*, unsigned char**, unsigned char**)'
ADM_edRender.cpp:(.text+0x6a3): undefined reference to `ADMColorScalerFull::ADMColorScalerFull(ADMColorScaler_algo, int, int, int, int, ADM_colorspace, ADM_colorspace)'
common/ADM_editor/src/libADM_editor6.a(ADM_edAudioTrackExternal.cpp.o): In function `create_edAudioExternal(char const*)':
ADM_edAudioTrackExternal.cpp:(.text+0x85e): undefined reference to `ADM_audioAccessFileAACADTS::ADM_audioAccessFileAACADTS(char const*, int)'
common/ADM_commonUI/libADM_commonUI6.a(DIA_prefs.cpp.o): In function `DIA_Preferences()':
DIA_prefs.cpp:(.text+0x26a): undefined reference to `CpuCaps::getMask()'
DIA_prefs.cpp:(.text+0x1735): undefined reference to `CpuCaps::setMask(unsigned int)'
common/ADM_commonUI/libADM_commonUI6.a(DIA_jobs_save.cpp.o): In function `DIA_job_select(char**, char**)':
DIA_jobs_save.cpp:(.text+0xa7): undefined reference to `diaElemFile::diaElemFile(unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char const*, char const*, char const*)'
common/ADM_render/libADM_render6_cli.so: undefined reference to `admVdpau::mixerCreate(unsigned int, unsigned int, unsigned int*, bool, bool)'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/avidemux3_cli.dir/build.make:457: avidemux3_cli] Error 1
make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/avidemux3_cli.dir/all] Error 2
make: *** [Makefile:128: all] Error 2

mean

It looks like inconsistencies between core & main executable

Jan Gruuthuse

See you have installed vdpau, you do have recent nvidia card? with related driver installed, like: NVIDIA VDPAU Driver Shared Library  352.93 proprietary?

sl1pkn07


Jan Gruuthuse

#4
Should be supported: https://en.wikipedia.org/wiki/Nvidia_PureVideo

ubuntu amd64 14.04.4 LTS or 16.04 LTS?
dpkg -l mesa-vdpau-drivers mesa-vdpau-drivers-dbg mesa-common-dev libvdpau-dev libvdpau1 libvdpau-va-gl1 vdpauinfo vdpau-va-driver
QuoteDesired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                    Version                  Architecture             Description
+++-=======================================-========================-========================-===================================================================================
ii  libvdpau-dev:amd64                      1.1-0ubuntu1~xedgers14.0 amd64                    Video Decode and Presentation API for Unix (development files)
ii  libvdpau-va-gl1:amd64                   0.2.1-1                  amd64                    VDPAU driver with OpenGL/VAAPI backend
ii  libvdpau1:amd64                         1.1-0ubuntu1~xedgers14.0 amd64                    Video Decode and Presentation API for Unix (libraries)
ii  mesa-common-dev:amd64                   11.0.4~git20151026+11.0. amd64                    Developer documentation for Mesa
ii  mesa-vdpau-drivers:amd64                11.0.4~git20151026+11.0. amd64                    Mesa VDPAU video acceleration drivers
ii  mesa-vdpau-drivers-dbg:amd64            11.0.4~git20151026+11.0. amd64                    Debugging symbols for the Mesa VDPAU video acceleration drivers
ii  vdpau-va-driver:amd64                   0.7.3-2ubuntu1.2         amd64                    VDPAU-based backend for VA API
ii  vdpauinfo                               0.1-1                    amd64                    Video Decode and Presentation API for Unix (vdpauinfo utility)

you do build from github?
sudo apt-get install git
git clone https://github.com/mean00/avidemux2.git

try reset master:
cd ~/avidemux2 && git checkout master && cd ~/avidemux2 && git reset --hard master
cd ~/avidemux2 && git pull



ps.: if your path is not /home/user/avidemux2 modify the path in commands cd ~/avidemux2