can't use modified ffmpeg in Kodi 17
#1
I want to add libspeex to ffmpeg. In Kodi 16, I merely installed libspeex-dev on my system, then added "--enable-libspeex" to ~/kodi/tools/depends/target/ffmpeg/autobuild.sh, then added "--with-ffmpeg=auto" to my config line. It then builds ffmpeg, with libspeex enabled.

Try to do this in Kodi 17...

Code:
/home/greenbag/kodi/Makefile.include:97: recipe for target 'DVDOverlayCodecFFmpeg.o' failed
make[1]: *** [DVDOverlayCodecFFmpeg.o] Error 1
Makefile:418: recipe for target 'xbmc/cores/VideoPlayer/DVDCodecs/Overlay/Overlay.a' failed
make: *** [xbmc/cores/VideoPlayer/DVDCodecs/Overlay/Overlay.a] Error 2


Code:
make[1]: Leaving directory '/home/greenbag/kodi/addons/skin.estouchy/media'
make -C xbmc/cores/DllLoader/exports wrapper.def
make[1]: Entering directory '/home/greenbag/kodi/xbmc/cores/DllLoader/exports'
nm wrapper.o | grep __wrap | awk '{printf("%s ", $3);}' | sed "s/___wrap_/__wrap_/g" | sed "s/__wrap_/-Wl,-wrap,/g" > wrapper.def
make[1]: Leaving directory '/home/greenbag/kodi/xbmc/cores/DllLoader/exports'
make -C lib/libdvd
make[1]: Entering directory '/home/greenbag/kodi/lib/libdvd'
make -C /home/greenbag/kodi/tools/depends/target/libdvdcss
make[2]: Entering directory '/home/greenbag/kodi/tools/depends/target/libdvdcss'
CPP     xbmc/utils/Speed.o
  CC       pscan.lo
  CC       ploader.lo
CPP     xbmc/utils/Splash.o
CPP     xbmc/guilib/GUIListLabel.o
CPP     xbmc/guilib/GUIMessage.o
ploader.c: In function ‘descriptor_errorf’:
ploader.c:161:127: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘XML_Size {aka long unsigned int}’ [-Wformat=]
ploader.c:161:127: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘XML_Size {aka long unsigned int}’ [-Wformat=]
ploader.c:168:123: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘XML_Size {aka long unsigned int}’ [-Wformat=]
ploader.c:168:123: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘XML_Size {aka long unsigned int}’ [-Wformat=]
ploader.c: In function ‘resource_error’:
ploader.c:188:123: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘XML_Size {aka long unsigned int}’ [-Wformat=]
ploader.c:188:123: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘XML_Size {aka long unsigned int}’ [-Wformat=]
ploader.c: In function ‘cp_load_plugin_descriptor’:
ploader.c:1084:103: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘XML_Size {aka long unsigned int}’ [-Wformat=]
ploader.c:1084:103: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘XML_Size {aka long unsigned int}’ [-Wformat=]
ploader.c: In function ‘cp_load_plugin_descriptor_from_memory’:
ploader.c:1270:104: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘XML_Size {aka long unsigned int}’ [-Wformat=]
ploader.c:1270:104: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘XML_Size {aka long unsigned int}’ [-Wformat=]
CPP     xbmc/guilib/GUIMoverControl.o
  CC       pinfo.lo
CPP     xbmc/guilib/GUIMultiImage.o
CPP     xbmc/utils/Stopwatch.o
CPP     xbmc/utils/StreamDetails.o
  CC       pcontrol.lo
cd /home/greenbag/kodi/tools/depends/target/libdvdcss; curl -Ls --create-dirs --retry 10 --retry-delay 3 -o /home/greenbag/kodi/tools/depends/target/libdvdcss/libdvdcss-2f12236bc1c92f73c21e973363f79eb300de603f.tar.gz https://github.com/xbmc/libdvdcss/archive/master.tar.gz
  CC       serial.lo
CPP     xbmc/utils/StreamUtils.o
CPP     xbmc/utils/StringUtils.o
  CC       logging.lo
CPP     xbmc/guilib/GUIMultiSelectText.o
  CC       context.lo
CPP     xbmc/guilib/GUIPanelContainer.o
  CC       cpluff.lo
  CC       util.lo
rm -rf native; mkdir -p native
cd native; tar --strip-components=1 -xf /home/greenbag/kodi/tools/depends/target/libdvdcss/libdvdcss-2f12236bc1c92f73c21e973363f79eb300de603f.tar.gz
cd native; autoreconf -vif && ac_cv_path_GIT= ./configure --prefix=/home/greenbag/kodi/tools/depends/target/libdvdcss/dvdcss-install --disable-shared --enable-static --with-pic
CPP     xbmc/utils/StringValidation.o
  CC       list.lo
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
CPP     xbmc/utils/SystemInfo.o
  CC       hash.lo
autoreconf: running: aclocal --force -I m4
CPP     xbmc/guilib/GUIProgressControl.o
  CC       thread_posix.lo
  CCLD     libcpluff.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[2]: Leaving directory '/home/greenbag/kodi/lib/cpluff/libcpluff'
make[1]: Leaving directory '/home/greenbag/kodi/lib/cpluff/libcpluff'
CPP     xbmc/utils/Temperature.o
make -C lib/libexif
make[1]: Entering directory '/home/greenbag/kodi/lib/libexif'
CPP     lib/libexif/libexif.o
CPP     lib/libexif/ExifParse.o
autoreconf: configure.ac: tracing
CPP     xbmc/utils/TextSearch.o
CPP     lib/libexif/IptcParse.o
CPP     xbmc/guilib/GUIRadioButtonControl.o
CPP     xbmc/utils/TimeUtils.o
CPP     lib/libexif/JpegParse.o
JpegParse.cpp: In member function ‘bool CJpegParse::ExtractInfo(FILE*)’:
JpegParse.cpp:164:46: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
       fread(&marker, 1, sizeof(BYTE), infile);
                                              ^
/usr/bin/ccache g++ -D_LINUX -D_DLL -fPIC -O2 -O2 -DNDEBUG=1  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu++11  -shared -o /home/greenbag/kodi/system/libexif-x86_64-linux.so libexif.o ExifParse.o IptcParse.o JpegParse.o      -Wl,--unresolved-symbols=ignore-all \
    `cat /home/greenbag/kodi/xbmc/cores/DllLoader/exports/wrapper.def` /home/greenbag/kodi/xbmc/cores/DllLoader/exports/wrapper.o
CPP     xbmc/guilib/GUIResizeControl.o
make[1]: Leaving directory '/home/greenbag/kodi/lib/libexif'
/usr/bin/ccache g++   -shared -o system/libcpluff-x86_64-linux.so -Wl,--whole-archive lib/cpluff/libcpluff/.libs/libcpluff.a \
    -Wl,--no-whole-archive  \
    `cat xbmc/cores/DllLoader/exports/wrapper.def` xbmc/cores/DllLoader/exports/wrapper.o -lexpat
make -C lib/addons/library.xbmc.addon
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.xbmc.addon'
CPP     lib/addons/library.xbmc.addon/libXBMC_addon.o
libXBMC_addon.cpp: In function ‘char* XBMC_get_localized_string(void*, void*, int)’:
libXBMC_addon.cpp:116:12: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
     return "";
            ^
libXBMC_addon.cpp: In function ‘char* XBMC_get_dvd_menu_language(void*, void*)’:
libXBMC_addon.cpp:124:12: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
     return "";
            ^
/usr/bin/ccache g++ -O2 -DNDEBUG=1  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.xbmc.addon/libXBMC_addon-x86_64-linux.so libXBMC_addon.o    
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.xbmc.addon'
make -C lib/addons/library.kodi.adsp
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.kodi.adsp'
autoreconf: running: libtoolize --copy --force
CPP     lib/addons/library.kodi.adsp/libKODI_adsp.o
/usr/bin/ccache g++ -O2 -DNDEBUG=1  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.kodi.adsp/libKODI_adsp-x86_64-linux.so libKODI_adsp.o    
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.kodi.adsp'
make -C lib/addons/library.kodi.audioengine
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.kodi.audioengine'
CPP     lib/addons/library.kodi.audioengine/libKODI_audioengine.o
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
CPP     xbmc/utils/URIUtils.o
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
/usr/bin/ccache g++ -O2 -DNDEBUG=1  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.kodi.audioengine/libKODI_audioengine-x86_64-linux.so libKODI_audioengine.o    
libtoolize: copying file 'm4/ltoptions.m4'
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.kodi.audioengine'
make -C lib/addons/library.xbmc.codec
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.xbmc.codec'
CPP     lib/addons/library.xbmc.codec/libXBMC_codec.o
CPP     xbmc/utils/UrlOptions.o
libtoolize: copying file 'm4/ltsugar.m4'
CPP     xbmc/utils/Variant.o
libtoolize: copying file 'm4/ltversion.m4'
/usr/bin/ccache g++ -O2 -DNDEBUG=1  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.xbmc.codec/libXBMC_codec-x86_64-linux.so libXBMC_codec.o    
libtoolize: copying file 'm4/lt~obsolete.m4'
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.xbmc.codec'
make -C lib/addons/library.kodi.guilib
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.kodi.guilib'
CPP     lib/addons/library.kodi.guilib/libKODI_guilib.o
CPP     xbmc/guilib/GUIRenderingControl.o
sed -e s/@[email protected]/5.11.0/g -e s/@[email protected]/5.10.0/g ../../../addons/kodi.guilib/addon.xml.in > ../../../addons/kodi.guilib/addon.xml
/usr/bin/ccache g++ -O2 -DNDEBUG=1  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.kodi.guilib/libKODI_guilib-x86_64-linux.so libKODI_guilib.o    
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.kodi.guilib'
make -C lib/addons/library.kodi.peripheral
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.kodi.peripheral'
CPP     lib/addons/library.kodi.peripheral/libKODI_peripheral.o
/usr/bin/ccache g++ -O2 -DNDEBUG=1  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.kodi.peripheral/libKODI_peripheral-x86_64-linux.so libKODI_peripheral.o    
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.kodi.peripheral'
make -C lib/addons/library.xbmc.pvr
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.xbmc.pvr'
CPP     lib/addons/library.xbmc.pvr/libXBMC_pvr.o
CPP     xbmc/utils/Vector.o
CPP     xbmc/utils/Weather.o
/usr/bin/ccache g++ -O2 -DNDEBUG=1  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.xbmc.pvr/libXBMC_pvr-x86_64-linux.so libXBMC_pvr.o    
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.xbmc.pvr'
make -C lib/addons/library.kodi.inputstream
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.kodi.inputstream'
CPP     lib/addons/library.kodi.inputstream/libKODI_inputstream.o
CPP     xbmc/utils/XBMCTinyXML.o
CPP     xbmc/guilib/GUIRSSControl.o
/usr/bin/ccache g++ -O2 -DNDEBUG=1  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.kodi.inputstream/libKODI_inputstream-x86_64-linux.so libKODI_inputstream.o    
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.kodi.inputstream'
CPP     xbmc/utils/XMLUtils.o
CPP     xbmc/guilib/GUIScrollBarControl.o
autoreconf: running: /usr/bin/autoconf --force
CPP     xbmc/utils/Utf8Utils.o
CPP     xbmc/utils/XSLTUtils.o
CPP     xbmc/guilib/GUISelectButtonControl.o
CPP     xbmc/utils/ActorProtocol.o
CPP     xbmc/utils/SysfsUtils.o
CPP     xbmc/guilib/GUISettingsSliderControl.o
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
CC      xbmc/utils/fstrcmp.o
AR      xbmc/utils/utils.a
CPP     xbmc/guilib/GUISliderControl.o
CPP     xbmc/guilib/GUISpinControl.o
configure.ac:18: installing './compile'
configure.ac:11: installing './config.guess'
configure.ac:11: installing './config.sub'
configure.ac:13: installing './install-sh'
configure.ac:13: installing './missing'
Makefile.am: installing './depcomp'
CPP     xbmc/guilib/GUISpinControlEx.o
autoreconf: Leaving directory `.'
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
CPP     xbmc/guilib/GUIStaticItem.o
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... CPP     xbmc/guilib/GUITextBox.o
no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... CPP     xbmc/guilib/GUITextLayout.o
yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... CPP     xbmc/guilib/GUITexture.o
yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... CPP     xbmc/guilib/GUIToggleButtonControl.o
yes
checking for unistd.h... CPP     xbmc/guilib/GUIVideoControl.o
yes
checking for dlfcn.h... yes
checking for objdir... .libs
CPP     xbmc/guilib/GUIVisualisationControl.o
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... CPP     xbmc/guilib/GUIWindow.o
yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking whether O_BINARY is declared... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for posix mkdir()... yes
checking windows.h usability... CPP     xbmc/guilib/GUIWindowManager.o
no
checking windows.h presence... no
checking for windows.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/cdio.h usability... no
checking sys/cdio.h presence... no
checking for sys/cdio.h... no
checking sys/dvdio.h usability... CPP     xbmc/guilib/GUIWrappingListContainer.o
no
checking sys/dvdio.h presence... no
checking for sys/dvdio.h... no
checking linux/cdrom.h usability... yes
checking linux/cdrom.h presence... yes
checking for linux/cdrom.h... yes
checking dvd.h usability... CPP     xbmc/guilib/imagefactory.o
no
checking dvd.h presence... CPP     xbmc/guilib/IWindowManagerCallback.o
no
checking for dvd.h... no
CPP     xbmc/guilib/LocalizeStrings.o
checking sys/scsi/scsi_types.h usability... no
checking sys/scsi/scsi_types.h presence... no
checking for sys/scsi/scsi_types.h... no
checking IOKit/storage/IODVDMediaBSDClient.h usability... no
checking IOKit/storage/IODVDMediaBSDClient.h presence... no
checking for IOKit/storage/IODVDMediaBSDClient.h... no
checking if gcc supports -Wall flag... yes
checking if gcc supports -Wextra flag... yes
checking for gcc way to treat warnings as errors... -Werror
checking if gcc supports -fvisibility=hidden... yes
checking if gcc supports __attribute__(( visibility("default") ))... yes
checking for doxygen... /usr/bin/doxygen
checking for git... (cached) no
checking that generated files are newer than configure... done
configure: creating ./config.status
CPP     xbmc/guilib/Resolution.o
CPP     xbmc/guilib/Shader.o
config.status: creating Makefile
config.status: creating libdvdcss.spec
config.status: creating doc/doxygen.cfg
config.status: creating src/libdvdcss.pc
config.status: creating src/dvdcss/version.h
CPP     xbmc/guilib/StereoscopicsManager.o
config.status: creating config.h
config.status: executing depfiles commands
CPP     xbmc/guilib/Texture.o
config.status: executing libtool commands
[ -d native/.libs ] && [ ! -f native/.libs/libdvdcss.a ] && make -C native clean || :
make -C native
make[3]: Entering directory '/home/greenbag/kodi/tools/depends/target/libdvdcss/native'
make  all-am
make[4]: Entering directory '/home/greenbag/kodi/tools/depends/target/libdvdcss/native'
test -e ChangeLog || touch ChangeLog
doxygen doc/doxygen.cfg
touch stamp-doxygen
  CC       src/libdvdcss.lo
  CC       src/device.lo
CPP     xbmc/guilib/TextureBundleXBT.o
  CC       src/css.lo
  CC       src/ioctl.lo
CPP     xbmc/guilib/TextureBundle.o
  CC       src/error.lo
  CCLD     libdvdcss.la
ar: `u' modifier ignored since `D' is the default (see `U')
CPP     xbmc/guilib/TextureManager.o
make[4]: Leaving directory '/home/greenbag/kodi/tools/depends/target/libdvdcss/native'
make[3]: Leaving directory '/home/greenbag/kodi/tools/depends/target/libdvdcss/native'
make -C native install
make[3]: Entering directory '/home/greenbag/kodi/tools/depends/target/libdvdcss/native'
make[4]: Entering directory '/home/greenbag/kodi/tools/depends/target/libdvdcss/native'
/bin/mkdir -p /home/greenbag/kodi/tools/depends/target/libdvdcss/dvdcss-install/share/doc/libdvdcss
for file in doc/html/*; do \
    /usr/bin/install -c -m 644 $file "/home/greenbag/kodi/tools/depends/target/libdvdcss/dvdcss-install/share/doc/libdvdcss" || exit 1; \
done;
/bin/mkdir -p '/home/greenbag/kodi/tools/depends/target/libdvdcss/dvdcss-install/share/doc/libdvdcss'
/usr/bin/install -c -m 644 AUTHORS COPYING NEWS README ChangeLog '/home/greenbag/kodi/tools/depends/target/libdvdcss/dvdcss-install/share/doc/libdvdcss'
/bin/mkdir -p '/home/greenbag/kodi/tools/depends/target/libdvdcss/dvdcss-install/lib/pkgconfig'
/usr/bin/install -c -m 644 src/libdvdcss.pc '/home/greenbag/kodi/tools/depends/target/libdvdcss/dvdcss-install/lib/pkgconfig'
/bin/mkdir -p '/home/greenbag/kodi/tools/depends/target/libdvdcss/dvdcss-install/include/dvdcss'
/usr/bin/install -c -m 644 src/dvdcss/dvdcss.h src/dvdcss/version.h '/home/greenbag/kodi/tools/depends/target/libdvdcss/dvdcss-install/include/dvdcss'
/bin/mkdir -p '/home/greenbag/kodi/tools/depends/target/libdvdcss/dvdcss-install/lib'
/bin/bash ./libtool   --mode=install /usr/bin/install -c   libdvdcss.la '/home/greenbag/kodi/tools/depends/target/libdvdcss/dvdcss-install/lib'
libtool: install: /usr/bin/install -c .libs/libdvdcss.lai /home/greenbag/kodi/tools/depends/target/libdvdcss/dvdcss-install/lib/libdvdcss.la
libtool: install: /usr/bin/install -c .libs/libdvdcss.a /home/greenbag/kodi/tools/depends/target/libdvdcss/dvdcss-install/lib/libdvdcss.a
libtool: install: chmod 644 /home/greenbag/kodi/tools/depends/target/libdvdcss/dvdcss-install/lib/libdvdcss.a
libtool: install: ranlib /home/greenbag/kodi/tools/depends/target/libdvdcss/dvdcss-install/lib/libdvdcss.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin" ldconfig -n /home/greenbag/kodi/tools/depends/target/libdvdcss/dvdcss-install/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /home/greenbag/kodi/tools/depends/target/libdvdcss/dvdcss-install/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[4]: Leaving directory '/home/greenbag/kodi/tools/depends/target/libdvdcss/native'
make[3]: Leaving directory '/home/greenbag/kodi/tools/depends/target/libdvdcss/native'
touch .installed-native
make[2]: Leaving directory '/home/greenbag/kodi/tools/depends/target/libdvdcss'
make -C /home/greenbag/kodi/tools/depends/target/libdvdread
make[2]: Entering directory '/home/greenbag/kodi/tools/depends/target/libdvdread'
CPP     xbmc/guilib/VisibleEffect.o
CPP     xbmc/guilib/XBTF.o
CPP     xbmc/guilib/XBTFReader.o
CPP     xbmc/guilib/TextureGL.o
CPP     xbmc/guilib/GUIFontTTFGL.o
CPP     xbmc/guilib/GUITextureGL.o
CPP     xbmc/guilib/MatrixGLES.o
[ -d libdvdcss ] || mkdir libdvdcss
cd libdvdcss; ar x /home/greenbag/kodi/tools/depends/target/libdvdcss/dvdcss-install/lib/libdvdcss.a
/usr/bin/ccache gcc -o /home/greenbag/kodi/system/players/VideoPlayer/libdvdcss-x86_64-linux.so  -shared -fPIC -rdynamic -Wl,--soname,/home/greenbag/kodi/system/players/VideoPlayer/libdvdcss-x86_64-linux.so libdvdcss/*.o -Wl,--unresolved-symbols=ignore-all -lm \
        `cat /home/greenbag/kodi/xbmc/cores/DllLoader/exports/wrapper.def` /home/greenbag/kodi/xbmc/cores/DllLoader/exports/wrapper.o
AR      xbmc/guilib/guilib.a
cd /home/greenbag/kodi/tools/depends/target/libdvdread; curl -Ls --create-dirs --retry 10 --retry-delay 3 -o /home/greenbag/kodi/tools/depends/target/libdvdread/libdvdread-17d99db97e7b8f23077b342369d3c22a6250affd.tar.gz https://github.com/xbmc/libdvdread/archive/master.tar.gz
rm -rf native; mkdir -p native
cd native; tar --strip-components=1 -xf /home/greenbag/kodi/tools/depends/target/libdvdread/libdvdread-17d99db97e7b8f23077b342369d3c22a6250affd.tar.gz
cd native; autoreconf -vif && PKG_CONFIG_PATH="/home/greenbag/kodi/tools/depends/target/libdvdread/../libdvdcss/dvdcss-install/lib/pkgconfig" CFLAGS=" -D_XBMC -I/home/greenbag/kodi/tools/depends/target/libdvdread/../libdvdcss/dvdcss-install/include -DHAVE_DVDCSS_DVDCSS_H" ac_cv_path_GIT= ./configure --prefix=/home/greenbag/kodi/tools/depends/target/libdvdread/dvdread-install --disable-shared --enable-static --with-pic --with-libdvdcss
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -Im4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:19: installing './compile'
configure.ac:12: installing './config.guess'
configure.ac:12: installing './config.sub'
configure.ac:14: installing './install-sh'
configure.ac:14: installing './missing'
Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for sys/param.h... yes
checking for limits.h... yes
checking for dlfcn.h... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether byte ordering is bigendian... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for CSS... yes
checking dvdcss/dvdcss.h usability... yes
checking dvdcss/dvdcss.h presence... no
configure: WARNING: dvdcss/dvdcss.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: dvdcss/dvdcss.h: proceeding with the compiler's result
checking for dvdcss/dvdcss.h... yes
checking if gcc supports -Wall flag... yes
checking if gcc supports -Wsign-compare flag... yes
checking if gcc supports -Wextra flag... yes
checking for doxygen... /usr/bin/doxygen
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/doxygen.cfg
config.status: creating misc/dvdread.pc
config.status: creating src/dvdread/version.h
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
[ -d native/.libs ] && [ ! -f native/.libs/libdvdread.a ] && make -C native clean || :
make -C native
make[3]: Entering directory '/home/greenbag/kodi/tools/depends/target/libdvdread/native'
make  all-am
make[4]: Entering directory '/home/greenbag/kodi/tools/depends/target/libdvdread/native'
cd . && git log > /home/greenbag/kodi/tools/depends/target/libdvdread/native/ChangeLog-tmp
  CC       src/dvd_input.lo
  CC       src/bitreader.lo
  CC       src/dvd_reader.lo
  CC       src/dvd_udf.lo
src/dvd_reader.c: In function ‘DVDOpenCommon’:
src/dvd_reader.c:347:22: warning: unused variable ‘retval’ [-Wunused-variable]
   int ret, have_css, retval, cdir = -1;
                      ^
  CC       src/ifo_print.lo
  CC       src/ifo_read.lo
  CC       src/md5.lo
  CC       src/nav_print.lo
  CC       src/nav_read.lo
  CCLD     libdvdread.la
test -s ChangeLog-tmp && mv ChangeLog-tmp ChangeLog
rm -f ChangeLog-tmp
test -e ChangeLog || touch ChangeLog
ar: `u' modifier ignored since `D' is the default (see `U')
make[4]: Leaving directory '/home/greenbag/kodi/tools/depends/target/libdvdread/native'
make[3]: Leaving directory '/home/greenbag/kodi/tools/depends/target/libdvdread/native'
make -C native install
make[3]: Entering directory '/home/greenbag/kodi/tools/depends/target/libdvdread/native'
make[4]: Entering directory '/home/greenbag/kodi/tools/depends/target/libdvdread/native'
/bin/mkdir -p '/home/greenbag/kodi/tools/depends/target/libdvdread/dvdread-install/share/doc/libdvdread'
/bin/mkdir -p '/home/greenbag/kodi/tools/depends/target/libdvdread/dvdread-install/lib/pkgconfig'
/bin/mkdir -p '/home/greenbag/kodi/tools/depends/target/libdvdread/dvdread-install/include/dvdread'
/bin/mkdir -p '/home/greenbag/kodi/tools/depends/target/libdvdread/dvdread-install/lib'
/usr/bin/install -c -m 644 AUTHORS ChangeLog COPYING NEWS README TODO '/home/greenbag/kodi/tools/depends/target/libdvdread/dvdread-install/share/doc/libdvdread'
/bin/bash ./libtool   --mode=install /usr/bin/install -c   libdvdread.la '/home/greenbag/kodi/tools/depends/target/libdvdread/dvdread-install/lib'
/usr/bin/install -c -m 644 misc/dvdread.pc '/home/greenbag/kodi/tools/depends/target/libdvdread/dvdread-install/lib/pkgconfig'
/usr/bin/install -c -m 644 src/dvdread/bitreader.h src/dvdread/dvd_reader.h src/dvdread/dvd_udf.h src/dvdread/ifo_print.h src/dvdread/ifo_read.h src/dvdread/ifo_types.h src/dvdread/nav_print.h src/dvdread/nav_read.h src/dvdread/nav_types.h src/dvdread/version.h '/home/greenbag/kodi/tools/depends/target/libdvdread/dvdread-install/include/dvdread'
libtool: install: /usr/bin/install -c .libs/libdvdread.lai /home/greenbag/kodi/tools/depends/target/libdvdread/dvdread-install/lib/libdvdread.la
libtool: install: /usr/bin/install -c .libs/libdvdread.a /home/greenbag/kodi/tools/depends/target/libdvdread/dvdread-install/lib/libdvdread.a
libtool: install: chmod 644 /home/greenbag/kodi/tools/depends/target/libdvdread/dvdread-install/lib/libdvdread.a
libtool: install: ranlib /home/greenbag/kodi/tools/depends/target/libdvdread/dvdread-install/lib/libdvdread.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin" ldconfig -n /home/greenbag/kodi/tools/depends/target/libdvdread/dvdread-install/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /home/greenbag/kodi/tools/depends/target/libdvdread/dvdread-install/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[4]: Leaving directory '/home/greenbag/kodi/tools/depends/target/libdvdread/native'
make[3]: Leaving directory '/home/greenbag/kodi/tools/depends/target/libdvdread/native'
touch .installed-native
make[2]: Leaving directory '/home/greenbag/kodi/tools/depends/target/libdvdread'
make -C /home/greenbag/kodi/tools/depends/target/libdvdnav
make[2]: Entering directory '/home/greenbag/kodi/tools/depends/target/libdvdnav'
cd /home/greenbag/kodi/tools/depends/target/libdvdnav; curl -Ls --create-dirs --retry 10 --retry-delay 3 -o /home/greenbag/kodi/tools/depends/target/libdvdnav/libdvdnav-43b5f81f5fe30bceae3b7cecf2b0ca57fc930dac.tar.gz https://github.com/xbmc/libdvdnav/archive/master.tar.gz
rm -rf native; mkdir -p native
cd native; tar --strip-components=1 -xf /home/greenbag/kodi/tools/depends/target/libdvdnav/libdvdnav-43b5f81f5fe30bceae3b7cecf2b0ca57fc930dac.tar.gz
cd native; autoreconf -vif && PKG_CONFIG_PATH="/home/greenbag/kodi/tools/depends/target/libdvdnav/../libdvdread/dvdread-install/lib/pkgconfig:/home/greenbag/kodi/tools/depends/target/libdvdnav/../libdvdcss/dvdcss-install/lib/pkgconfig" CFLAGS=" -D_XBMC -DHAVE_DVDCSS_DVDCSS_H -I/home/greenbag/kodi/tools/depends/target/libdvdnav/../libdvdread/dvdread-install/include -I/home/greenbag/kodi/tools/depends/target/libdvdnav/../libdvdcss/dvdcss-install/include" ac_cv_path_GIT= ./configure --prefix=/home/greenbag/kodi/tools/depends/target/libdvdnav/dvdnav-install --disable-shared --enable-static --with-pic
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -Im4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:20: installing './compile'
configure.ac:15: installing './config.guess'
configure.ac:15: installing './config.sub'
configure.ac:17: installing './install-sh'
configure.ac:17: installing './missing'
Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether byte ordering is bigendian... no
checking for pthread_create in -lpthread... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DVDREAD... yes
checking if gcc supports -mno-ms-bitfields flag... yes
checking if gcc supports -Wall -Wsign-compare -Wextra flag... yes
checking for doxygen... doxygen
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating misc/dvdnav.pc
config.status: creating misc/libdvdnav.spec
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
[ -d native/.libs ] && [ ! -f native/.libs/libdvdnav.a ] && make -C native clean || :
make -C native
make[3]: Entering directory '/home/greenbag/kodi/tools/depends/target/libdvdnav/native'
make  all-am
make[4]: Entering directory '/home/greenbag/kodi/tools/depends/target/libdvdnav/native'
  CC       src/read_cache.lo
  CC       src/navigation.lo
  CC       src/dvdnav.lo
  CC       src/highlight.lo
src/navigation.c: In function ‘dvdnav_part_play_auto_stop’:
src/navigation.c:247:66: warning: unused parameter ‘parts_to_play’ [-Wunused-parameter]
                                            int32_t part, int32_t parts_to_play) {
                                                                  ^
src/navigation.c: In function ‘dvdnav_time_play’:
src/navigation.c:254:58: warning: unused parameter ‘title’ [-Wunused-parameter]
dvdnav_status_t dvdnav_time_play(dvdnav_t *this, int32_t title,
                                                          ^
src/navigation.c:255:43: warning: unused parameter ‘time’ [-Wunused-parameter]
                                  uint64_t time) {
                                           ^
  CC       src/searching.lo
  CC       src/settings.lo
  CC       src/vm/decoder.lo
  CC       src/vm/vm.lo
  CC       src/vm/play.lo
  CC       src/vm/getset.lo
  CC       src/vm/vmget.lo
  CC       src/vm/vmcmd.lo
src/vm/getset.c: In function ‘get_MENU_PGCIT’:
src/vm/getset.c:299:31: warning: unused parameter ‘vm’ [-Wunused-parameter]
pgcit_t* get_MENU_PGCIT(vm_t *vm, ifo_handle_t *h, uint16_t lang) {
                               ^
  CCLD     libdvdnav.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[4]: Leaving directory '/home/greenbag/kodi/tools/depends/target/libdvdnav/native'
make[3]: Leaving directory '/home/greenbag/kodi/tools/depends/target/libdvdnav/native'
make -C native install
make[3]: Entering directory '/home/greenbag/kodi/tools/depends/target/libdvdnav/native'
make[4]: Entering directory '/home/greenbag/kodi/tools/depends/target/libdvdnav/native'
/bin/mkdir -p '/home/greenbag/kodi/tools/depends/target/libdvdnav/dvdnav-install/share/doc/libdvdnav'
/bin/mkdir -p '/home/greenbag/kodi/tools/depends/target/libdvdnav/dvdnav-install/include/dvdnav'
/bin/mkdir -p '/home/greenbag/kodi/tools/depends/target/libdvdnav/dvdnav-install/lib/pkgconfig'
/bin/mkdir -p '/home/greenbag/kodi/tools/depends/target/libdvdnav/dvdnav-install/lib'
/bin/bash ./libtool   --mode=install /usr/bin/install -c   libdvdnav.la '/home/greenbag/kodi/tools/depends/target/libdvdnav/dvdnav-install/lib'
/usr/bin/install -c -m 644 misc/dvdnav.pc '/home/greenbag/kodi/tools/depends/target/libdvdnav/dvdnav-install/lib/pkgconfig'
/usr/bin/install -c -m 644 AUTHORS ChangeLog COPYING README TODO '/home/greenbag/kodi/tools/depends/target/libdvdnav/dvdnav-install/share/doc/libdvdnav'
/usr/bin/install -c -m 644 src/dvdnav/dvdnav.h src/dvdnav/dvdnav_events.h src/dvdnav/dvd_types.h '/home/greenbag/kodi/tools/depends/target/libdvdnav/dvdnav-install/include/dvdnav'
libtool: install: /usr/bin/install -c .libs/libdvdnav.lai /home/greenbag/kodi/tools/depends/target/libdvdnav/dvdnav-install/lib/libdvdnav.la
libtool: install: /usr/bin/install -c .libs/libdvdnav.a /home/greenbag/kodi/tools/depends/target/libdvdnav/dvdnav-install/lib/libdvdnav.a
libtool: install: chmod 644 /home/greenbag/kodi/tools/depends/target/libdvdnav/dvdnav-install/lib/libdvdnav.a
libtool: install: ranlib /home/greenbag/kodi/tools/depends/target/libdvdnav/dvdnav-install/lib/libdvdnav.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin" ldconfig -n /home/greenbag/kodi/tools/depends/target/libdvdnav/dvdnav-install/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /home/greenbag/kodi/tools/depends/target/libdvdnav/dvdnav-install/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[4]: Leaving directory '/home/greenbag/kodi/tools/depends/target/libdvdnav/native'
make[3]: Leaving directory '/home/greenbag/kodi/tools/depends/target/libdvdnav/native'
touch .installed-native
make[2]: Leaving directory '/home/greenbag/kodi/tools/depends/target/libdvdnav'
[ -d libdvdread ] || mkdir libdvdread
[ -d libdvdnav ] || mkdir libdvdnav
[ 1 -eq 1 ] && { [ -d libdvdcss ] || mkdir libdvdcss; } || :
[ 1 -eq 1 ] && { cd libdvdcss && ar x /home/greenbag/kodi/tools/depends/target/libdvdcss/dvdcss-install/lib/libdvdcss.a; } || :
cd libdvdnav; ar x /home/greenbag/kodi/tools/depends/target/libdvdnav/dvdnav-install/lib/libdvdnav.a
cd libdvdread; ar x /home/greenbag/kodi/tools/depends/target/libdvdread/dvdread-install/lib/libdvdread.a
/usr/bin/ccache gcc -o /home/greenbag/kodi/system/players/VideoPlayer/libdvdnav-x86_64-linux.so  -shared -fPIC -rdynamic -Wl,--soname,/home/greenbag/kodi/system/players/VideoPlayer/libdvdnav-x86_64-linux.so libdvdread/*.o libdvdnav/*.o libdvdcss/*.o -lm -Wl,--unresolved-symbols=ignore-all \
                `cat  /home/greenbag/kodi/xbmc/cores/DllLoader/exports/wrapper.def` /home/greenbag/kodi/xbmc/cores/DllLoader/exports/wrapper.o
make[1]: Leaving directory '/home/greenbag/kodi/lib/libdvd'
CPP     xbmc/cores/VideoPlayer/DVDCodecs/DVDCodecUtils.o
CPP     xbmc/cores/VideoPlayer/DVDCodecs/Audio/DVDAudioCodecFFmpeg.o
CPP     xbmc/cores/VideoPlayer/DVDAudio.o
CPP     xbmc/cores/VideoPlayer/DVDCodecs/Overlay/DVDOverlayCodec.o
CPP     xbmc/cores/VideoPlayer/DVDCodecs/Overlay/DVDOverlayCodecFFmpeg.o
CPP     xbmc/cores/VideoPlayer/DVDCodecs/Audio/DVDAudioCodecPassthrough.o
DVDOverlayCodecFFmpeg.cpp: In member function ‘virtual CDVDOverlay* CDVDOverlayCodecFFmpeg::GetOverlay()’:
DVDOverlayCodecFFmpeg.cpp:222:14: error: ‘AVSubtitleRect {aka struct AVSubtitleRect}’ has no member named ‘data’
     if (rect.data[0] == NULL)
              ^
DVDOverlayCodecFFmpeg.cpp:274:23: error: ‘AVSubtitleRect {aka struct AVSubtitleRect}’ has no member named ‘data’
     uint8_t* s = rect.data[0];
                       ^
DVDOverlayCodecFFmpeg.cpp:279:17: error: ‘AVSubtitleRect {aka struct AVSubtitleRect}’ has no member named ‘linesize’
       s += rect.linesize[0];
                 ^
DVDOverlayCodecFFmpeg.cpp:284:48: error: ‘AVSubtitleRect {aka struct AVSubtitleRect}’ has no member named ‘data’
       overlay->palette[i] = Endian_SwapLE32(((uint32_t *)rect.data[1])[i]);
                                                ^
/home/greenbag/kodi/Makefile.include:97: recipe for target 'DVDOverlayCodecFFmpeg.o' failed
make[1]: *** [DVDOverlayCodecFFmpeg.o] Error 1
Makefile:418: recipe for target 'xbmc/cores/VideoPlayer/DVDCodecs/Overlay/Overlay.a' failed
make: *** [xbmc/cores/VideoPlayer/DVDCodecs/Overlay/Overlay.a] Error 2
make: *** Waiting for unfinished jobs....
CPP     xbmc/cores/VideoPlayer/DVDCodecs/DVDFactoryCodec.o
CPP     xbmc/cores/VideoPlayer/DVDClock.o
AR      xbmc/cores/VideoPlayer/DVDCodecs/Audio/Audio.a
CPP     xbmc/cores/VideoPlayer/DVDDemuxSPU.o
CPP     xbmc/cores/VideoPlayer/DVDFileInfo.o
CPP     xbmc/cores/VideoPlayer/DVDMessage.o
CPP     xbmc/cores/VideoPlayer/DVDMessageQueue.o
CPP     xbmc/cores/VideoPlayer/DVDOverlayContainer.o
CPP     xbmc/cores/VideoPlayer/VideoPlayer.o
AR      xbmc/cores/VideoPlayer/DVDCodecs/DVDCodecs.a
CPP     xbmc/cores/VideoPlayer/VideoPlayerAudio.o
CPP     xbmc/cores/VideoPlayer/VideoPlayerSubtitle.o
CPP     xbmc/cores/VideoPlayer/VideoPlayerTeletext.o
CPP     xbmc/cores/VideoPlayer/VideoPlayerVideo.o
CPP     xbmc/cores/VideoPlayer/VideoPlayerRadioRDS.o
CPP     xbmc/cores/VideoPlayer/DVDStreamInfo.o
CPP     xbmc/cores/VideoPlayer/DVDTSCorrection.o
CPP     xbmc/cores/VideoPlayer/Edl.o
AR      xbmc/cores/VideoPlayer/VideoPlayer.a


I've tried directly adding "--enable-libspeex" to ~/kodi/tools/depends/target/ffmpeg/Makefile, and even to ~/kodi/tools/depends/target/ffmpeg/CMakeList.txt, then letting Kodi build ffmpeg on it's own. It never builds it in like autobuild.sh does. I've tried adding it to FFMPEG_OPTS, FFMPEG_CFLAGS, and even tried FFMPEG_LIBS="libspeex". Nothing seems to work.

I even tried swapping the ffmpeg source from Jarvis.. it still gave the same error.


What file do I edit if I just want to include a library to ffmpeg, without using autobuild.sh??
Reply
#2
I think I got it.... "--enable-codec=libspeex"

Code:
additional codecs:    Yes, libspeex

It's building it in.. I'll see if it actually works when it's done.
Reply
#3
Crap... it builds it in, but not into ffmpeg itself. So unless there's an option within Kodi itself to use extra codecs for videos, then I still need to find how to modify the ffmpeg that gets built by default.
Reply
#4
the problem is that we link ffmpeg statically. That means that kodi must link against all external libs ffmpeg is linked against.
You can either fix configure.ac to find and link kodi against libspeex, or build and install ffmpeg shared/dynamic libs and use --with-ffmpeg=shared
Reply
#5
Thanks, wsnipex. I figured it needed to be built into ffmpeg, and that's what modifying the autobuild.sh did. It's just that something changed in the latest release that screwed that up. Searching the kodi directory, there's 13 configure.ac's.. I'm guessing it's the 1st one in the main kodi directory itself. I've just gotten up... I'll look at it in a bit.

Thanks. Smile
Reply
#6
ok... I think it might be my compiler. I just tried building Kodi 16 again, using the same config line that worked before.. --with-ffmpeg. Now it complains..

Code:
g++: error: unrecognized command line option '-ffmpeg'

I've just done a fresh install of Ubuntu Mate 16.04 LTS on the Pi, and Ubuntu 16.04 LTS on the desktop... both having same issues. I doubt it's the OS, but this install I used 'apt-get build-dep kodi' rather than using the huge install list I had before. Build-dep kodi grabbed 3 to 4 times as many files, so I thought that was the better route.

Think I should try a fresh install all over again, this time using my previous apt-get line.
Reply
#7
ok.. this is messed up.

Fresh install of Ubuntu 16.04 LTS, using manual apt-get install of packages, followed by 'apt-get build-dep kodi' for a few stragglers.

Code:
cd kodi
./configure --help

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-ffmpeg           ffmpeg options: auto (search pkg-config or auto
                          build), force (always build ffmpeg), shared (link
                          dynamically), path_to_ffmpeg [default=force]

Using ./configure --with-ffmpeg passes the configure stage, building libspeex into ffmpeg. Then make gets all the way to building kodi.bin... then it fails again.

Code:
LD      kodi.bin
g++: error: unrecognized command line option ‘-ffmpeg’
g++: error: unrecognized command line option ‘-ffmpeg’
g++: error: unrecognized command line option ‘-ffmpeg’
g++: error: unrecognized command line option ‘-ffmpeg’
g++: error: unrecognized command line option ‘-ffmpeg’
g++: error: unrecognized command line option ‘-ffmpeg’
g++: error: unrecognized command line option ‘-ffmpeg’
Makefile:437: recipe for target 'kodi.bin' failed
make: *** [kodi.bin] Error 1

That's with Kodi 16.. what I had success with before. I'm reverting back to Ubuntu 14.04 to see what's up.
Reply
#8
please read again what I wrote above. You first have to build ffmpeg (using autobuild.sh) and then build kodi against it, using --with-ffmpeg=shared or --with-ffmpeg=/path/to/your/ffmpeg/install
Reply
#9
(2016-04-25, 09:53)wsnipex Wrote: please read again what I wrote above. You first have to build ffmpeg (using autobuild.sh) and then build kodi against it, using --with-ffmpeg=shared or --with-ffmpeg=/path/to/your/ffmpeg/install

I thought the config help said just using --with-ffmpeg would force it by default. In Raspbian, it builds Kodi 16 using autobuild.sh, by using --with-ffmpeg and --with-ffmpeg=auto, but not Kodi 17. Installing ffmpeg directly in my system, using the same ffmpeg-3.0, and the same config line from the autobuild.sh, then using '--with-ffmpeg=/usr/local/bin/ffmpeg' or even '--with-ffmpeg=shared' gives a whole different error.. that's why I've been trying to build it in directly.

Code:
CPP     xbmc/cores/VideoRenderers/VideoShaders/YUV2RGBShader.o
In file included from ../dvdplayer/DVDCodecs/Video/VAAPI.h:27:0,
                 from RenderManager.cpp:62:
../dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.h:49:88: error: use of enum ‘PixelFormat’ without previous declaration
     virtual bool Open      (AVCodecContext* avctx, AVCodecContext* mainctx, const enum PixelFormat, unsigned int surfaces) = 0;
                                                                                        ^
In file included from ../dvdplayer/DVDCodecs/Video/VAAPI.h:27:0,
                 from RenderManager.cpp:62:
../dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.h:80:15: error: use of enum ‘PixelFormat’ without previous declaration
   static enum PixelFormat GetFormat(struct AVCodecContext * avctx, const PixelFormat * fmt);
               ^
../dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.h:80:74: error: ‘PixelFormat’ does not name a type
   static enum PixelFormat GetFormat(struct AVCodecContext * avctx, const PixelFormat * fmt);
                                                                          ^
../dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.h:122:15: error: ‘PixelFormat’ was not declared in this scope
   std::vector<PixelFormat> m_formats;
               ^
../dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.h:122:26: error: template argument 1 is invalid
   std::vector<PixelFormat> m_formats;
                          ^
../dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.h:122:26: error: template argument 2 is invalid
In file included from RenderManager.cpp:62:0:
../dvdplayer/DVDCodecs/Video/VAAPI.h:409:86: error: use of enum ‘PixelFormat’ without previous declaration
   virtual bool Open      (AVCodecContext* avctx, AVCodecContext* mainctx, const enum PixelFormat, unsigned int surfaces = 0);
                                                                                      ^
/home/greenbag/kodi/Makefile.include:97: recipe for target 'RenderManager.o' failed
make[1]: *** [RenderManager.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CPP     xbmc/cores/VideoRenderers/VideoShaders/VideoFilterShader.o
In file included from LinuxRendererGL.cpp:51:0:
/home/greenbag/kodi/xbmc/cores/FFmpeg.h: In function ‘int SwScaleCPUFlags()’:
/home/greenbag/kodi/xbmc/cores/FFmpeg.h:42:14: error: ‘SWS_CPU_CAPS_MMX’ was not declared in this scope
     flags |= SWS_CPU_CAPS_MMX;
              ^
/home/greenbag/kodi/xbmc/cores/FFmpeg.h:44:14: error: ‘SWS_CPU_CAPS_MMX2’ was not declared in this scope
     flags |= SWS_CPU_CAPS_MMX2;
              ^
/home/greenbag/kodi/xbmc/cores/FFmpeg.h:46:14: error: ‘SWS_CPU_CAPS_3DNOW’ was not declared in this scope
     flags |= SWS_CPU_CAPS_3DNOW;
              ^
/home/greenbag/kodi/xbmc/cores/FFmpeg.h:48:14: error: ‘SWS_CPU_CAPS_ALTIVEC’ was not declared in this scope
     flags |= SWS_CPU_CAPS_ALTIVEC;
              ^
In file included from /home/greenbag/kodi/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.h:44:0,
                 from LinuxRendererGL.cpp:58:
/home/greenbag/kodi/xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.h: At global scope:
/home/greenbag/kodi/xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.h:49:88: error: use of enum ‘PixelFormat’ without previous declaration
     virtual bool Open      (AVCodecContext* avctx, AVCodecContext* mainctx, const enum PixelFormat, unsigned int surfaces) = 0;
                                                                                        ^
In file included from /home/greenbag/kodi/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.h:44:0,
                 from LinuxRendererGL.cpp:58:
/home/greenbag/kodi/xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.h:80:15: error: use of enum ‘PixelFormat’ without previous declaration
   static enum PixelFormat GetFormat(struct AVCodecContext * avctx, const PixelFormat * fmt);
               ^
/home/greenbag/kodi/xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.h:80:74: error: ‘PixelFormat’ does not name a type
   static enum PixelFormat GetFormat(struct AVCodecContext * avctx, const PixelFormat * fmt);
                                                                          ^
/home/greenbag/kodi/xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.h:122:15: error: ‘PixelFormat’ was not declared in this scope
   std::vector<PixelFormat> m_formats;
               ^
/home/greenbag/kodi/xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.h:122:26: error: template argument 1 is invalid
   std::vector<PixelFormat> m_formats;
                          ^
/home/greenbag/kodi/xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.h:122:26: error: template argument 2 is invalid
CPP     xbmc/cores/DummyVideoPlayer.o
In file included from LinuxRendererGL.cpp:58:0:
/home/greenbag/kodi/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.h:559:86: error: use of enum ‘PixelFormat’ without previous declaration
   virtual bool Open      (AVCodecContext* avctx, AVCodecContext* mainctx, const enum PixelFormat, unsigned int surfaces = 0);
                                                                                      ^
/home/greenbag/kodi/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.h:574:29: error: ‘PixelFormat’ has not been declared
   static bool IsVDPAUFormat(PixelFormat fmt);
                             ^
In file included from LinuxRendererGL.cpp:61:0:
/home/greenbag/kodi/xbmc/cores/dvdplayer/DVDCodecs/Video/VAAPI.h:409:86: error: use of enum ‘PixelFormat’ without previous declaration
   virtual bool Open      (AVCodecContext* avctx, AVCodecContext* mainctx, const enum PixelFormat, unsigned int surfaces = 0);
                                                                                      ^
LinuxRendererGL.cpp: In member function ‘void CLinuxRendererGL::ToRGBFrame(YV12Image*, unsigned int, unsigned int)’:
LinuxRendererGL.cpp:2935:17: error: ‘PIX_FMT_NV12’ was not declared in this scope
     srcFormat = PIX_FMT_NV12;
                 ^
LinuxRendererGL.cpp:2944:20: error: ‘PIX_FMT_YUYV422’ was not declared in this scope
     srcFormat    = PIX_FMT_YUYV422;
                    ^
LinuxRendererGL.cpp:2950:20: error: ‘PIX_FMT_UYVY422’ was not declared in this scope
     srcFormat    = PIX_FMT_UYVY422;
                    ^
LinuxRendererGL.cpp:2968:88: error: ‘PIX_FMT_BGRA’ was not declared in this scope
                                                  im->width, im->height, (AVPixelFormat)PIX_FMT_BGRA,
                                                                                        ^
LinuxRendererGL.cpp: In member function ‘void CLinuxRendererGL::ToRGBFields(YV12Image*, unsigned int, unsigned int, unsigned int)’:
LinuxRendererGL.cpp:2998:17: error: ‘PIX_FMT_YUV420P’ was not declared in this scope
     srcFormat = PIX_FMT_YUV420P;
                 ^
LinuxRendererGL.cpp:3009:17: error: ‘PIX_FMT_NV12’ was not declared in this scope
     srcFormat = PIX_FMT_NV12;
                 ^
LinuxRendererGL.cpp:3020:23: error: ‘PIX_FMT_YUYV422’ was not declared in this scope
     srcFormat       = PIX_FMT_YUYV422;
                       ^
LinuxRendererGL.cpp:3028:23: error: ‘PIX_FMT_UYVY422’ was not declared in this scope
     srcFormat       = PIX_FMT_UYVY422;
                       ^
LinuxRendererGL.cpp:3048:93: error: ‘PIX_FMT_BGRA’ was not declared in this scope
                                                  im->width, im->height >> 1, (AVPixelFormat)PIX_FMT_BGRA,
                                                                                             ^
/home/greenbag/kodi/Makefile.include:97: recipe for target 'LinuxRendererGL.o' failed
make[1]: *** [LinuxRendererGL.o] Error 1
Makefile:420: recipe for target 'xbmc/cores/VideoRenderers/VideoRenderer.a' failed
make: *** [xbmc/cores/VideoRenderers/VideoRenderer.a] Error 2
make: *** Waiting for unfinished jobs....
CPP     xbmc/cores/VideoRenderers/VideoShaders/ConvolutionKernels.o
CPP     xbmc/cores/FFmpeg.o
CPP     xbmc/cores/DataCacheCore.o
In file included from FFmpeg.cpp:21:0:
/home/greenbag/kodi/xbmc/cores/FFmpeg.h: In function ‘int SwScaleCPUFlags()’:
/home/greenbag/kodi/xbmc/cores/FFmpeg.h:42:14: error: ‘SWS_CPU_CAPS_MMX’ was not declared in this scope
     flags |= SWS_CPU_CAPS_MMX;
              ^
/home/greenbag/kodi/xbmc/cores/FFmpeg.h:44:14: error: ‘SWS_CPU_CAPS_MMX2’ was not declared in this scope
     flags |= SWS_CPU_CAPS_MMX2;
              ^
/home/greenbag/kodi/xbmc/cores/FFmpeg.h:46:14: error: ‘SWS_CPU_CAPS_3DNOW’ was not declared in this scope
     flags |= SWS_CPU_CAPS_3DNOW;
              ^
/home/greenbag/kodi/xbmc/cores/FFmpeg.h:48:14: error: ‘SWS_CPU_CAPS_ALTIVEC’ was not declared in this scope
     flags |= SWS_CPU_CAPS_ALTIVEC;
              ^
/home/greenbag/kodi/Makefile.include:97: recipe for target 'FFmpeg.o' failed
make[1]: *** [FFmpeg.o] Error 1
make[1]: *** Waiting for unfinished jobs....
AR      xbmc/cores/VideoRenderers/VideoShaders/VideoShaders.a
Makefile:420: recipe for target 'xbmc/cores/cores.a' failed
make: *** [xbmc/cores/cores.a] Error 2


As for the compiler complaining about '-ffmpeg' when building Kodi 17, that seems to be tied to compiler versions as well. I just upgraded to Ubuntu 16.04, which has gcc 5.3.1. It shows that gcc error with both 16 and 17 when trying to use autobuild.sh. Ubuntu 14.04 has 4.8.5. It builds 16.. but not 17. I installed gcc and g++ 4.8, then specified it in my config line. It now spits out the original error I was facing before upgrading. I was hoping that was easier to fix.

Code:
./configure CXX=g++-4.8 CC=gcc-4.8 --with-ffmpeg=auto

Code:
make[1]: Leaving directory '/home/greenbag/kodi/addons/skin.estouchy/media'
LD      kodi-xrandr
CPP     xbmc/guilib/GUIMultiSelectText.o
CPP     xbmc/guilib/GUIPanelContainer.o
make -C xbmc/linux/sse4
make[1]: Entering directory '/home/greenbag/kodi/xbmc/linux/sse4'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/greenbag/kodi/xbmc/linux/sse4'
make -C lib/cpluff/libcpluff
make[1]: Entering directory '/home/greenbag/kodi/lib/cpluff/libcpluff'
Making all in docsrc
make[2]: Entering directory '/home/greenbag/kodi/lib/cpluff/libcpluff/docsrc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/greenbag/kodi/lib/cpluff/libcpluff/docsrc'
make[2]: Entering directory '/home/greenbag/kodi/lib/cpluff/libcpluff'
  CC       psymbol.lo
  CC       pscan.lo
  CC       ploader.lo
CPP     xbmc/guilib/GUIProgressControl.o
ploader.c: In function ‘descriptor_errorf’:
ploader.c:161:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘XML_Size’ [-Wformat=]
   cpi_warnf(plcontext->context,
   ^
ploader.c:161:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘XML_Size’ [-Wformat=]
ploader.c:168:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘XML_Size’ [-Wformat=]
   cpi_errorf(plcontext->context,
   ^
ploader.c:168:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘XML_Size’ [-Wformat=]
ploader.c: In function ‘resource_error’:
ploader.c:188:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘XML_Size’ [-Wformat=]
   cpi_errorf(plcontext->context,
   ^
ploader.c:188:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘XML_Size’ [-Wformat=]
ploader.c: In function ‘cp_load_plugin_descriptor’:
ploader.c:1084:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘XML_Size’ [-Wformat=]
     cpi_errorf(context,
     ^
ploader.c:1084:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘XML_Size’ [-Wformat=]
ploader.c: In function ‘cp_load_plugin_descriptor_from_memory’:
ploader.c:1270:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘XML_Size’ [-Wformat=]
      cpi_errorf(context,
      ^
ploader.c:1270:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘XML_Size’ [-Wformat=]
CPP     xbmc/guilib/GUIRadioButtonControl.o
CPP     xbmc/guilib/GUIResizeControl.o
  CC       pinfo.lo
  CC       pcontrol.lo
CPP     xbmc/guilib/GUIRenderingControl.o
CPP     xbmc/guilib/GUIRSSControl.o
  CC       serial.lo
CPP     xbmc/guilib/GUIScrollBarControl.o
  CC       logging.lo
CPP     xbmc/guilib/GUISelectButtonControl.o
  CC       context.lo
CPP     xbmc/guilib/GUISettingsSliderControl.o
  CC       cpluff.lo
CPP     xbmc/guilib/GUISliderControl.o
  CC       util.lo
  CC       list.lo
  CC       hash.lo
CPP     xbmc/guilib/GUISpinControl.o
  CC       thread_posix.lo
thread_posix.c: In function ‘cpi_create_mutex’:
thread_posix.c:79:7: warning: variable ‘ec’ set but not used [-Wunused-but-set-variable]
   int ec;
       ^
thread_posix.c:85:7: warning: variable ‘ec’ set but not used [-Wunused-but-set-variable]
   int ec;
       ^
thread_posix.c: In function ‘cpi_destroy_mutex’:
thread_posix.c:97:6: warning: variable ‘ec’ set but not used [-Wunused-but-set-variable]
  int ec;
      ^
CPP     xbmc/guilib/GUISpinControlEx.o
  CCLD     libcpluff.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[2]: Leaving directory '/home/greenbag/kodi/lib/cpluff/libcpluff'
make[1]: Leaving directory '/home/greenbag/kodi/lib/cpluff/libcpluff'
make -C xbmc/cores/DllLoader/exports wrapper.def
make[1]: Entering directory '/home/greenbag/kodi/xbmc/cores/DllLoader/exports'
nm wrapper.o | grep __wrap | awk '{printf("%s ", $3);}' | sed "s/___wrap_/__wrap_/g" | sed "s/__wrap_/-Wl,-wrap,/g" > wrapper.def
make[1]: Leaving directory '/home/greenbag/kodi/xbmc/cores/DllLoader/exports'
make -C lib/libdvd
make[1]: Entering directory '/home/greenbag/kodi/lib/libdvd'
[ -d libdvdread ] || mkdir libdvdread
[ -d libdvdnav ] || mkdir libdvdnav
[ 1 -eq 1 ] && { [ -d libdvdcss ] || mkdir libdvdcss; } || :
[ 1 -eq 1 ] && { cd libdvdcss && ar x /home/greenbag/kodi/tools/depends/target/libdvdcss/dvdcss-install/lib/libdvdcss.a; } || :
cd libdvdnav; ar x /home/greenbag/kodi/tools/depends/target/libdvdnav/dvdnav-install/lib/libdvdnav.a
cd libdvdread; ar x /home/greenbag/kodi/tools/depends/target/libdvdread/dvdread-install/lib/libdvdread.a
gcc-4.8 -o /home/greenbag/kodi/system/players/VideoPlayer/libdvdnav-x86_64-linux.so  -shared -fPIC -rdynamic -Wl,--soname,/home/greenbag/kodi/system/players/VideoPlayer/libdvdnav-x86_64-linux.so libdvdread/*.o libdvdnav/*.o libdvdcss/*.o -lm -Wl,--unresolved-symbols=ignore-all \
                `cat  /home/greenbag/kodi/xbmc/cores/DllLoader/exports/wrapper.def` /home/greenbag/kodi/xbmc/cores/DllLoader/exports/wrapper.o
[ -d libdvdcss ] || mkdir libdvdcss
cd libdvdcss; ar x /home/greenbag/kodi/tools/depends/target/libdvdcss/dvdcss-install/lib/libdvdcss.a
gcc-4.8 -o /home/greenbag/kodi/system/players/VideoPlayer/libdvdcss-x86_64-linux.so  -shared -fPIC -rdynamic -Wl,--soname,/home/greenbag/kodi/system/players/VideoPlayer/libdvdcss-x86_64-linux.so libdvdcss/*.o -Wl,--unresolved-symbols=ignore-all -lm \
        `cat /home/greenbag/kodi/xbmc/cores/DllLoader/exports/wrapper.def` /home/greenbag/kodi/xbmc/cores/DllLoader/exports/wrapper.o
CPP     xbmc/guilib/GUIStaticItem.o
make[1]: Leaving directory '/home/greenbag/kodi/lib/libdvd'
make -C lib/libexif
make[1]: Entering directory '/home/greenbag/kodi/lib/libexif'
CPP     lib/libexif/libexif.o
CPP     lib/libexif/ExifParse.o
In file included from ExifParse.cpp:42:0:
ExifParse.h: In constructor ‘CExifParse::CExifParse()’:
ExifParse.h:21:17: warning: ‘CExifParse::m_DateFound’ will be initialized after [-Wreorder]
     bool        m_DateFound;
                 ^
ExifParse.h:18:17: warning:   ‘unsigned int CExifParse::m_LargestExifOffset’ [-Wreorder]
     unsigned    m_LargestExifOffset;          // Last exif data referenced (to check if thumbnail is at end)
                 ^
ExifParse.cpp:201:1: warning:   when initialized here [-Wreorder]
CExifParse::CExifParse () : m_FocalPlaneXRes(0.0),
^
In file included from ExifParse.cpp:42:0:
ExifParse.h:18:17: warning: ‘CExifParse::m_LargestExifOffset’ will be initialized after [-Wreorder]
     unsigned    m_LargestExifOffset;          // Last exif data referenced (to check if thumbnail is at end)
                 ^
ExifParse.h:15:17: warning:   ‘ExifInfo_t* CExifParse::m_ExifInfo’ [-Wreorder]
     ExifInfo_t *m_ExifInfo;
                 ^
ExifParse.cpp:201:1: warning:   when initialized here [-Wreorder]
CExifParse::CExifParse () : m_FocalPlaneXRes(0.0),
^
CPP     lib/libexif/IptcParse.o
CPP     lib/libexif/JpegParse.o
JpegParse.cpp: In member function ‘bool CJpegParse::ExtractInfo(FILE*)’:
JpegParse.cpp:164:46: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
       fread(&marker, 1, sizeof(BYTE), infile);
                                              ^
g++-4.8 -D_LINUX -D_DLL -fPIC -O2 -O2 -g -D_DEBUG -Wall  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu++11  -shared -o /home/greenbag/kodi/system/libexif-x86_64-linux.so libexif.o ExifParse.o IptcParse.o JpegParse.o      -Wl,--unresolved-symbols=ignore-all \
    `cat /home/greenbag/kodi/xbmc/cores/DllLoader/exports/wrapper.def` /home/greenbag/kodi/xbmc/cores/DllLoader/exports/wrapper.o
make[1]: Leaving directory '/home/greenbag/kodi/lib/libexif'
g++-4.8   -shared -o system/libcpluff-x86_64-linux.so -Wl,--whole-archive lib/cpluff/libcpluff/.libs/libcpluff.a \
    -Wl,--no-whole-archive  \
    `cat xbmc/cores/DllLoader/exports/wrapper.def` xbmc/cores/DllLoader/exports/wrapper.o -lexpat
make -C lib/addons/library.xbmc.addon
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.xbmc.addon'
CPP     lib/addons/library.xbmc.addon/libXBMC_addon.o
CPP     xbmc/guilib/GUITextBox.o
libXBMC_addon.cpp: In function ‘char* XBMC_get_localized_string(void*, void*, int)’:
libXBMC_addon.cpp:116:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
     return "";
            ^
libXBMC_addon.cpp: In function ‘char* XBMC_get_dvd_menu_language(void*, void*)’:
libXBMC_addon.cpp:124:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
     return "";
            ^
g++-4.8 -O2 -g -D_DEBUG -Wall  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.xbmc.addon/libXBMC_addon-x86_64-linux.so libXBMC_addon.o    
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.xbmc.addon'
make -C lib/addons/library.kodi.adsp
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.kodi.adsp'
CPP     lib/addons/library.kodi.adsp/libKODI_adsp.o
g++-4.8 -O2 -g -D_DEBUG -Wall  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.kodi.adsp/libKODI_adsp-x86_64-linux.so libKODI_adsp.o    
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.kodi.adsp'
make -C lib/addons/library.kodi.audioengine
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.kodi.audioengine'
CPP     lib/addons/library.kodi.audioengine/libKODI_audioengine.o
CPP     xbmc/guilib/GUITextLayout.o
g++-4.8 -O2 -g -D_DEBUG -Wall  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.kodi.audioengine/libKODI_audioengine-x86_64-linux.so libKODI_audioengine.o    
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.kodi.audioengine'
make -C lib/addons/library.xbmc.codec
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.xbmc.codec'
CPP     lib/addons/library.xbmc.codec/libXBMC_codec.o
g++-4.8 -O2 -g -D_DEBUG -Wall  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.xbmc.codec/libXBMC_codec-x86_64-linux.so libXBMC_codec.o    
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.xbmc.codec'
make -C lib/addons/library.kodi.guilib
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.kodi.guilib'
CPP     lib/addons/library.kodi.guilib/libKODI_guilib.o
In file included from libKODI_guilib.cpp:21:0:
../../../xbmc/addons/kodi-addon-dev-kit/include/kodi/libKODI_guilib.h: In constructor ‘CAddonGUIRenderingControl::CAddonGUIRenderingControl(void*, void*, CAddonGUIWindow*, int)’:
../../../xbmc/addons/kodi-addon-dev-kit/include/kodi/libKODI_guilib.h:844:9: warning: ‘CAddonGUIRenderingControl::m_cb’ will be initialized after [-Wreorder]
   void *m_cb;
         ^
../../../xbmc/addons/kodi-addon-dev-kit/include/kodi/libKODI_guilib.h:833:13: warning:   ‘void* CAddonGUIRenderingControl::m_cbhdl’ [-Wreorder]
   GUIHANDLE m_cbhdl;
             ^
libKODI_guilib.cpp:964:1: warning:   when initialized here [-Wreorder]
CAddonGUIRenderingControl::CAddonGUIRenderingControl(void *hdl, void *cb, CAddonGUIWindow *window, int controlId)
^
CPP     xbmc/guilib/GUITexture.o
g++-4.8 -O2 -g -D_DEBUG -Wall  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.kodi.guilib/libKODI_guilib-x86_64-linux.so libKODI_guilib.o    
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.kodi.guilib'
make -C lib/addons/library.kodi.peripheral
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.kodi.peripheral'
CPP     lib/addons/library.kodi.peripheral/libKODI_peripheral.o
CPP     xbmc/guilib/GUIToggleButtonControl.o
g++-4.8 -O2 -g -D_DEBUG -Wall  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.kodi.peripheral/libKODI_peripheral-x86_64-linux.so libKODI_peripheral.o    
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.kodi.peripheral'
make -C lib/addons/library.xbmc.pvr
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.xbmc.pvr'
CPP     lib/addons/library.xbmc.pvr/libXBMC_pvr.o
g++-4.8 -O2 -g -D_DEBUG -Wall  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.xbmc.pvr/libXBMC_pvr-x86_64-linux.so libXBMC_pvr.o    
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.xbmc.pvr'
make -C lib/addons/library.kodi.inputstream
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.kodi.inputstream'
CPP     lib/addons/library.kodi.inputstream/libKODI_inputstream.o
CPP     xbmc/guilib/GUIVideoControl.o
g++-4.8 -O2 -g -D_DEBUG -Wall  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.kodi.inputstream/libKODI_inputstream-x86_64-linux.so libKODI_inputstream.o    
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.kodi.inputstream'
CPP     xbmc/cores/VideoPlayer/DVDAudio.o
CPP     xbmc/guilib/GUIVisualisationControl.o
CPP     xbmc/cores/VideoPlayer/DVDClock.o
CPP     xbmc/guilib/GUIWindow.o
CPP     xbmc/cores/VideoPlayer/DVDDemuxSPU.o
CPP     xbmc/cores/VideoPlayer/DVDFileInfo.o
CPP     xbmc/cores/VideoPlayer/DVDMessage.o
CPP     xbmc/guilib/GUIWindowManager.o
CPP     xbmc/cores/VideoPlayer/DVDMessageQueue.o
CPP     xbmc/cores/VideoPlayer/DVDOverlayContainer.o
CPP     xbmc/cores/VideoPlayer/VideoPlayer.o
CPP     xbmc/cores/VideoPlayer/VideoPlayerAudio.o
CPP     xbmc/guilib/GUIWrappingListContainer.o
VideoPlayerAudio.cpp: In member function ‘bool CVideoPlayerAudio::OutputPacket(DVDAudioFrame&)’:
VideoPlayerAudio.cpp:532:12: warning: unused variable ‘limit’ [-Wunused-variable]
     double limit, error;
            ^
CPP     xbmc/cores/VideoPlayer/VideoPlayerSubtitle.o
CPP     xbmc/cores/VideoPlayer/VideoPlayerTeletext.o
CPP     xbmc/guilib/imagefactory.o
CPP     xbmc/cores/VideoPlayer/VideoPlayerVideo.o
CPP     xbmc/cores/VideoPlayer/VideoPlayerRadioRDS.o
CPP     xbmc/guilib/IWindowManagerCallback.o
CPP     xbmc/guilib/LocalizeStrings.o
VideoPlayerVideo.cpp: In member function ‘int CVideoPlayerVideo::CalcDropRequirement(double)’:
VideoPlayerVideo.cpp:1033:10: warning: variable ‘interval’ set but not used [-Wunused-but-set-variable]
   double interval;
          ^
CPP     xbmc/cores/VideoPlayer/DVDStreamInfo.o
CPP     xbmc/guilib/Resolution.o
CPP     xbmc/cores/VideoPlayer/DVDTSCorrection.o
CPP     xbmc/cores/VideoPlayer/Edl.o
CPP     xbmc/guilib/Shader.o
CPP     xbmc/guilib/StereoscopicsManager.o
CPP     xbmc/cores/VideoPlayer/DVDCodecs/DVDCodecUtils.o
CPP     xbmc/guilib/Texture.o
CPP     xbmc/cores/VideoPlayer/DVDCodecs/DVDFactoryCodec.o
CPP     xbmc/guilib/TextureBundleXBT.o
AR      xbmc/cores/VideoPlayer/VideoPlayer.a
CPP     xbmc/cores/VideoPlayer/DVDCodecs/Audio/DVDAudioCodecFFmpeg.o
AR      xbmc/cores/VideoPlayer/DVDCodecs/DVDCodecs.a
CPP     xbmc/cores/VideoPlayer/DVDCodecs/Overlay/DVDOverlayCodec.o
CPP     xbmc/guilib/TextureBundle.o
CPP     xbmc/cores/VideoPlayer/DVDCodecs/Overlay/DVDOverlayCodecFFmpeg.o
CPP     xbmc/cores/VideoPlayer/DVDCodecs/Audio/DVDAudioCodecPassthrough.o
CPP     xbmc/guilib/TextureManager.o
DVDOverlayCodecFFmpeg.cpp: In member function ‘virtual CDVDOverlay* CDVDOverlayCodecFFmpeg::GetOverlay()’:
DVDOverlayCodecFFmpeg.cpp:222:14: error: ‘AVSubtitleRect’ has no member named ‘data’
     if (rect.data[0] == NULL)
              ^
DVDOverlayCodecFFmpeg.cpp:274:23: error: ‘AVSubtitleRect’ has no member named ‘data’
     uint8_t* s = rect.data[0];
                       ^
DVDOverlayCodecFFmpeg.cpp:279:17: error: ‘AVSubtitleRect’ has no member named ‘linesize’
       s += rect.linesize[0];
                 ^
In file included from DVDOverlayCodecFFmpeg.cpp:27:0:
DVDOverlayCodecFFmpeg.cpp:284:63: error: ‘AVSubtitleRect’ has no member named ‘data’
       overlay->palette[i] = Endian_SwapLE32(((uint32_t *)rect.data[1])[i]);
                                                               ^
/home/greenbag/kodi/xbmc/utils/EndianSwap.h:89:29: note: in definition of macro ‘Endian_SwapLE32’
#define Endian_SwapLE32(X) (X)
                             ^
CPP     xbmc/guilib/VisibleEffect.o
/home/greenbag/kodi/Makefile.include:97: recipe for target 'DVDOverlayCodecFFmpeg.o' failed
make[1]: *** [DVDOverlayCodecFFmpeg.o] Error 1
Makefile:418: recipe for target 'xbmc/cores/VideoPlayer/DVDCodecs/Overlay/Overlay.a' failed
make: *** [xbmc/cores/VideoPlayer/DVDCodecs/Overlay/Overlay.a] Error 2
make: *** Waiting for unfinished jobs....
CPP     xbmc/guilib/XBTF.o
AR      xbmc/cores/VideoPlayer/DVDCodecs/Audio/Audio.a
CPP     xbmc/guilib/XBTFReader.o
CPP     xbmc/guilib/TextureGL.o
CPP     xbmc/guilib/GUIFontTTFGL.o
CPP     xbmc/guilib/GUITextureGL.o
CPP     xbmc/guilib/MatrixGLES.o
AR      xbmc/guilib/guilib.a
Reply
#10
both gcc 4.8 and 5.3 work perfectly fine. Does it build with our default, unpatched ffmpeg(without speex)?
Reply
#11
@greenbag

Let's start from the beginning.
What's your OS?
How did you get the sources (git clone or what)?
Did you properly clean the sourcetree before attempting new builds?
Does it build without modifying anything ffmpeg related in the kodi tree?
Reply
#12
(2016-04-25, 12:02)wsnipex Wrote: both gcc 4.8 and 5.3 work perfectly fine. Does it build with our default, unpatched ffmpeg(without speex)?

Yes. That's what I can't understand. It only happens when trying to use the configure flag that ./config --help says to use.

Code:
./configure --help
  --with-ffmpeg           ffmpeg options: auto (search pkg-config or auto
                          build), force (always build ffmpeg), shared (link
                          dynamically), path_to_ffmpeg [default=force]

In Raspbian Jessie, I said it build 16, but had an issue with 17. That was with my previous trials. It just built 17 overnight.. successfully. I'm not sure what the difference was between installs from my previous attempts to this one. My guess is dependencies built in. This build I used 'apt-get build-dep kodi', while the previous attempts I used a manual apt list.

But that's on the Pi. On the desktop, Ubuntu 16.04, it gives that error in my last post..

Code:
make[1]: Leaving directory '/home/greenbag/kodi/addons/skin.estouchy/media'
LD      kodi-xrandr
CPP     xbmc/guilib/GUIMultiSelectText.o
CPP     xbmc/guilib/GUIPanelContainer.o
make -C xbmc/linux/sse4
make[1]: Entering directory '/home/greenbag/kodi/xbmc/linux/sse4'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/greenbag/kodi/xbmc/linux/sse4'
make -C lib/cpluff/libcpluff
make[1]: Entering directory '/home/greenbag/kodi/lib/cpluff/libcpluff'
Making all in docsrc
make[2]: Entering directory '/home/greenbag/kodi/lib/cpluff/libcpluff/docsrc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/greenbag/kodi/lib/cpluff/libcpluff/docsrc'
make[2]: Entering directory '/home/greenbag/kodi/lib/cpluff/libcpluff'
  CC       psymbol.lo
  CC       pscan.lo
  CC       ploader.lo
CPP     xbmc/guilib/GUIProgressControl.o
ploader.c: In function ‘descriptor_errorf’:
ploader.c:161:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘XML_Size’ [-Wformat=]
   cpi_warnf(plcontext->context,
   ^
ploader.c:161:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘XML_Size’ [-Wformat=]
ploader.c:168:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘XML_Size’ [-Wformat=]
   cpi_errorf(plcontext->context,
   ^
ploader.c:168:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘XML_Size’ [-Wformat=]
ploader.c: In function ‘resource_error’:
ploader.c:188:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘XML_Size’ [-Wformat=]
   cpi_errorf(plcontext->context,
   ^
ploader.c:188:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘XML_Size’ [-Wformat=]
ploader.c: In function ‘cp_load_plugin_descriptor’:
ploader.c:1084:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘XML_Size’ [-Wformat=]
     cpi_errorf(context,
     ^
ploader.c:1084:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘XML_Size’ [-Wformat=]
ploader.c: In function ‘cp_load_plugin_descriptor_from_memory’:
ploader.c:1270:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘XML_Size’ [-Wformat=]
      cpi_errorf(context,
      ^
ploader.c:1270:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘XML_Size’ [-Wformat=]
CPP     xbmc/guilib/GUIRadioButtonControl.o
CPP     xbmc/guilib/GUIResizeControl.o
  CC       pinfo.lo
  CC       pcontrol.lo
CPP     xbmc/guilib/GUIRenderingControl.o
CPP     xbmc/guilib/GUIRSSControl.o
  CC       serial.lo
CPP     xbmc/guilib/GUIScrollBarControl.o
  CC       logging.lo
CPP     xbmc/guilib/GUISelectButtonControl.o
  CC       context.lo
CPP     xbmc/guilib/GUISettingsSliderControl.o
  CC       cpluff.lo
CPP     xbmc/guilib/GUISliderControl.o
  CC       util.lo
  CC       list.lo
  CC       hash.lo
CPP     xbmc/guilib/GUISpinControl.o
  CC       thread_posix.lo
thread_posix.c: In function ‘cpi_create_mutex’:
thread_posix.c:79:7: warning: variable ‘ec’ set but not used [-Wunused-but-set-variable]
   int ec;
       ^
thread_posix.c:85:7: warning: variable ‘ec’ set but not used [-Wunused-but-set-variable]
   int ec;
       ^
thread_posix.c: In function ‘cpi_destroy_mutex’:
thread_posix.c:97:6: warning: variable ‘ec’ set but not used [-Wunused-but-set-variable]
  int ec;
      ^
CPP     xbmc/guilib/GUISpinControlEx.o
  CCLD     libcpluff.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[2]: Leaving directory '/home/greenbag/kodi/lib/cpluff/libcpluff'
make[1]: Leaving directory '/home/greenbag/kodi/lib/cpluff/libcpluff'
make -C xbmc/cores/DllLoader/exports wrapper.def
make[1]: Entering directory '/home/greenbag/kodi/xbmc/cores/DllLoader/exports'
nm wrapper.o | grep __wrap | awk '{printf("%s ", $3);}' | sed "s/___wrap_/__wrap_/g" | sed "s/__wrap_/-Wl,-wrap,/g" > wrapper.def
make[1]: Leaving directory '/home/greenbag/kodi/xbmc/cores/DllLoader/exports'
make -C lib/libdvd
make[1]: Entering directory '/home/greenbag/kodi/lib/libdvd'
[ -d libdvdread ] || mkdir libdvdread
[ -d libdvdnav ] || mkdir libdvdnav
[ 1 -eq 1 ] && { [ -d libdvdcss ] || mkdir libdvdcss; } || :
[ 1 -eq 1 ] && { cd libdvdcss && ar x /home/greenbag/kodi/tools/depends/target/libdvdcss/dvdcss-install/lib/libdvdcss.a; } || :
cd libdvdnav; ar x /home/greenbag/kodi/tools/depends/target/libdvdnav/dvdnav-install/lib/libdvdnav.a
cd libdvdread; ar x /home/greenbag/kodi/tools/depends/target/libdvdread/dvdread-install/lib/libdvdread.a
gcc-4.8 -o /home/greenbag/kodi/system/players/VideoPlayer/libdvdnav-x86_64-linux.so  -shared -fPIC -rdynamic -Wl,--soname,/home/greenbag/kodi/system/players/VideoPlayer/libdvdnav-x86_64-linux.so libdvdread/*.o libdvdnav/*.o libdvdcss/*.o -lm -Wl,--unresolved-symbols=ignore-all \
                `cat  /home/greenbag/kodi/xbmc/cores/DllLoader/exports/wrapper.def` /home/greenbag/kodi/xbmc/cores/DllLoader/exports/wrapper.o
[ -d libdvdcss ] || mkdir libdvdcss
cd libdvdcss; ar x /home/greenbag/kodi/tools/depends/target/libdvdcss/dvdcss-install/lib/libdvdcss.a
gcc-4.8 -o /home/greenbag/kodi/system/players/VideoPlayer/libdvdcss-x86_64-linux.so  -shared -fPIC -rdynamic -Wl,--soname,/home/greenbag/kodi/system/players/VideoPlayer/libdvdcss-x86_64-linux.so libdvdcss/*.o -Wl,--unresolved-symbols=ignore-all -lm \
        `cat /home/greenbag/kodi/xbmc/cores/DllLoader/exports/wrapper.def` /home/greenbag/kodi/xbmc/cores/DllLoader/exports/wrapper.o
CPP     xbmc/guilib/GUIStaticItem.o
make[1]: Leaving directory '/home/greenbag/kodi/lib/libdvd'
make -C lib/libexif
make[1]: Entering directory '/home/greenbag/kodi/lib/libexif'
CPP     lib/libexif/libexif.o
CPP     lib/libexif/ExifParse.o
In file included from ExifParse.cpp:42:0:
ExifParse.h: In constructor ‘CExifParse::CExifParse()’:
ExifParse.h:21:17: warning: ‘CExifParse::m_DateFound’ will be initialized after [-Wreorder]
     bool        m_DateFound;
                 ^
ExifParse.h:18:17: warning:   ‘unsigned int CExifParse::m_LargestExifOffset’ [-Wreorder]
     unsigned    m_LargestExifOffset;          // Last exif data referenced (to check if thumbnail is at end)
                 ^
ExifParse.cpp:201:1: warning:   when initialized here [-Wreorder]
CExifParse::CExifParse () : m_FocalPlaneXRes(0.0),
^
In file included from ExifParse.cpp:42:0:
ExifParse.h:18:17: warning: ‘CExifParse::m_LargestExifOffset’ will be initialized after [-Wreorder]
     unsigned    m_LargestExifOffset;          // Last exif data referenced (to check if thumbnail is at end)
                 ^
ExifParse.h:15:17: warning:   ‘ExifInfo_t* CExifParse::m_ExifInfo’ [-Wreorder]
     ExifInfo_t *m_ExifInfo;
                 ^
ExifParse.cpp:201:1: warning:   when initialized here [-Wreorder]
CExifParse::CExifParse () : m_FocalPlaneXRes(0.0),
^
CPP     lib/libexif/IptcParse.o
CPP     lib/libexif/JpegParse.o
JpegParse.cpp: In member function ‘bool CJpegParse::ExtractInfo(FILE*)’:
JpegParse.cpp:164:46: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
       fread(&marker, 1, sizeof(BYTE), infile);
                                              ^
g++-4.8 -D_LINUX -D_DLL -fPIC -O2 -O2 -g -D_DEBUG -Wall  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu++11  -shared -o /home/greenbag/kodi/system/libexif-x86_64-linux.so libexif.o ExifParse.o IptcParse.o JpegParse.o      -Wl,--unresolved-symbols=ignore-all \
    `cat /home/greenbag/kodi/xbmc/cores/DllLoader/exports/wrapper.def` /home/greenbag/kodi/xbmc/cores/DllLoader/exports/wrapper.o
make[1]: Leaving directory '/home/greenbag/kodi/lib/libexif'
g++-4.8   -shared -o system/libcpluff-x86_64-linux.so -Wl,--whole-archive lib/cpluff/libcpluff/.libs/libcpluff.a \
    -Wl,--no-whole-archive  \
    `cat xbmc/cores/DllLoader/exports/wrapper.def` xbmc/cores/DllLoader/exports/wrapper.o -lexpat
make -C lib/addons/library.xbmc.addon
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.xbmc.addon'
CPP     lib/addons/library.xbmc.addon/libXBMC_addon.o
CPP     xbmc/guilib/GUITextBox.o
libXBMC_addon.cpp: In function ‘char* XBMC_get_localized_string(void*, void*, int)’:
libXBMC_addon.cpp:116:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
     return "";
            ^
libXBMC_addon.cpp: In function ‘char* XBMC_get_dvd_menu_language(void*, void*)’:
libXBMC_addon.cpp:124:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
     return "";
            ^
g++-4.8 -O2 -g -D_DEBUG -Wall  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.xbmc.addon/libXBMC_addon-x86_64-linux.so libXBMC_addon.o    
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.xbmc.addon'
make -C lib/addons/library.kodi.adsp
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.kodi.adsp'
CPP     lib/addons/library.kodi.adsp/libKODI_adsp.o
g++-4.8 -O2 -g -D_DEBUG -Wall  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.kodi.adsp/libKODI_adsp-x86_64-linux.so libKODI_adsp.o    
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.kodi.adsp'
make -C lib/addons/library.kodi.audioengine
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.kodi.audioengine'
CPP     lib/addons/library.kodi.audioengine/libKODI_audioengine.o
CPP     xbmc/guilib/GUITextLayout.o
g++-4.8 -O2 -g -D_DEBUG -Wall  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.kodi.audioengine/libKODI_audioengine-x86_64-linux.so libKODI_audioengine.o    
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.kodi.audioengine'
make -C lib/addons/library.xbmc.codec
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.xbmc.codec'
CPP     lib/addons/library.xbmc.codec/libXBMC_codec.o
g++-4.8 -O2 -g -D_DEBUG -Wall  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.xbmc.codec/libXBMC_codec-x86_64-linux.so libXBMC_codec.o    
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.xbmc.codec'
make -C lib/addons/library.kodi.guilib
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.kodi.guilib'
CPP     lib/addons/library.kodi.guilib/libKODI_guilib.o
In file included from libKODI_guilib.cpp:21:0:
../../../xbmc/addons/kodi-addon-dev-kit/include/kodi/libKODI_guilib.h: In constructor ‘CAddonGUIRenderingControl::CAddonGUIRenderingControl(void*, void*, CAddonGUIWindow*, int)’:
../../../xbmc/addons/kodi-addon-dev-kit/include/kodi/libKODI_guilib.h:844:9: warning: ‘CAddonGUIRenderingControl::m_cb’ will be initialized after [-Wreorder]
   void *m_cb;
         ^
../../../xbmc/addons/kodi-addon-dev-kit/include/kodi/libKODI_guilib.h:833:13: warning:   ‘void* CAddonGUIRenderingControl::m_cbhdl’ [-Wreorder]
   GUIHANDLE m_cbhdl;
             ^
libKODI_guilib.cpp:964:1: warning:   when initialized here [-Wreorder]
CAddonGUIRenderingControl::CAddonGUIRenderingControl(void *hdl, void *cb, CAddonGUIWindow *window, int controlId)
^
CPP     xbmc/guilib/GUITexture.o
g++-4.8 -O2 -g -D_DEBUG -Wall  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.kodi.guilib/libKODI_guilib-x86_64-linux.so libKODI_guilib.o    
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.kodi.guilib'
make -C lib/addons/library.kodi.peripheral
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.kodi.peripheral'
CPP     lib/addons/library.kodi.peripheral/libKODI_peripheral.o
CPP     xbmc/guilib/GUIToggleButtonControl.o
g++-4.8 -O2 -g -D_DEBUG -Wall  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.kodi.peripheral/libKODI_peripheral-x86_64-linux.so libKODI_peripheral.o    
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.kodi.peripheral'
make -C lib/addons/library.xbmc.pvr
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.xbmc.pvr'
CPP     lib/addons/library.xbmc.pvr/libXBMC_pvr.o
g++-4.8 -O2 -g -D_DEBUG -Wall  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.xbmc.pvr/libXBMC_pvr-x86_64-linux.so libXBMC_pvr.o    
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.xbmc.pvr'
make -C lib/addons/library.kodi.inputstream
make[1]: Entering directory '/home/greenbag/kodi/lib/addons/library.kodi.inputstream'
CPP     lib/addons/library.kodi.inputstream/libKODI_inputstream.o
CPP     xbmc/guilib/GUIVideoControl.o
g++-4.8 -O2 -g -D_DEBUG -Wall  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -shared -g -o ../../../addons/library.kodi.inputstream/libKODI_inputstream-x86_64-linux.so libKODI_inputstream.o    
make[1]: Leaving directory '/home/greenbag/kodi/lib/addons/library.kodi.inputstream'
CPP     xbmc/cores/VideoPlayer/DVDAudio.o
CPP     xbmc/guilib/GUIVisualisationControl.o
CPP     xbmc/cores/VideoPlayer/DVDClock.o
CPP     xbmc/guilib/GUIWindow.o
CPP     xbmc/cores/VideoPlayer/DVDDemuxSPU.o
CPP     xbmc/cores/VideoPlayer/DVDFileInfo.o
CPP     xbmc/cores/VideoPlayer/DVDMessage.o
CPP     xbmc/guilib/GUIWindowManager.o
CPP     xbmc/cores/VideoPlayer/DVDMessageQueue.o
CPP     xbmc/cores/VideoPlayer/DVDOverlayContainer.o
CPP     xbmc/cores/VideoPlayer/VideoPlayer.o
CPP     xbmc/cores/VideoPlayer/VideoPlayerAudio.o
CPP     xbmc/guilib/GUIWrappingListContainer.o
VideoPlayerAudio.cpp: In member function ‘bool CVideoPlayerAudio::OutputPacket(DVDAudioFrame&)’:
VideoPlayerAudio.cpp:532:12: warning: unused variable ‘limit’ [-Wunused-variable]
     double limit, error;
            ^
CPP     xbmc/cores/VideoPlayer/VideoPlayerSubtitle.o
CPP     xbmc/cores/VideoPlayer/VideoPlayerTeletext.o
CPP     xbmc/guilib/imagefactory.o
CPP     xbmc/cores/VideoPlayer/VideoPlayerVideo.o
CPP     xbmc/cores/VideoPlayer/VideoPlayerRadioRDS.o
CPP     xbmc/guilib/IWindowManagerCallback.o
CPP     xbmc/guilib/LocalizeStrings.o
VideoPlayerVideo.cpp: In member function ‘int CVideoPlayerVideo::CalcDropRequirement(double)’:
VideoPlayerVideo.cpp:1033:10: warning: variable ‘interval’ set but not used [-Wunused-but-set-variable]
   double interval;
          ^
CPP     xbmc/cores/VideoPlayer/DVDStreamInfo.o
CPP     xbmc/guilib/Resolution.o
CPP     xbmc/cores/VideoPlayer/DVDTSCorrection.o
CPP     xbmc/cores/VideoPlayer/Edl.o
CPP     xbmc/guilib/Shader.o
CPP     xbmc/guilib/StereoscopicsManager.o
CPP     xbmc/cores/VideoPlayer/DVDCodecs/DVDCodecUtils.o
CPP     xbmc/guilib/Texture.o
CPP     xbmc/cores/VideoPlayer/DVDCodecs/DVDFactoryCodec.o
CPP     xbmc/guilib/TextureBundleXBT.o
AR      xbmc/cores/VideoPlayer/VideoPlayer.a
CPP     xbmc/cores/VideoPlayer/DVDCodecs/Audio/DVDAudioCodecFFmpeg.o
AR      xbmc/cores/VideoPlayer/DVDCodecs/DVDCodecs.a
CPP     xbmc/cores/VideoPlayer/DVDCodecs/Overlay/DVDOverlayCodec.o
CPP     xbmc/guilib/TextureBundle.o
CPP     xbmc/cores/VideoPlayer/DVDCodecs/Overlay/DVDOverlayCodecFFmpeg.o
CPP     xbmc/cores/VideoPlayer/DVDCodecs/Audio/DVDAudioCodecPassthrough.o
CPP     xbmc/guilib/TextureManager.o
DVDOverlayCodecFFmpeg.cpp: In member function ‘virtual CDVDOverlay* CDVDOverlayCodecFFmpeg::GetOverlay()’:
DVDOverlayCodecFFmpeg.cpp:222:14: error: ‘AVSubtitleRect’ has no member named ‘data’
     if (rect.data[0] == NULL)
              ^
DVDOverlayCodecFFmpeg.cpp:274:23: error: ‘AVSubtitleRect’ has no member named ‘data’
     uint8_t* s = rect.data[0];
                       ^
DVDOverlayCodecFFmpeg.cpp:279:17: error: ‘AVSubtitleRect’ has no member named ‘linesize’
       s += rect.linesize[0];
                 ^
In file included from DVDOverlayCodecFFmpeg.cpp:27:0:
DVDOverlayCodecFFmpeg.cpp:284:63: error: ‘AVSubtitleRect’ has no member named ‘data’
       overlay->palette[i] = Endian_SwapLE32(((uint32_t *)rect.data[1])[i]);
                                                               ^
/home/greenbag/kodi/xbmc/utils/EndianSwap.h:89:29: note: in definition of macro ‘Endian_SwapLE32’
#define Endian_SwapLE32(X) (X)
                             ^
CPP     xbmc/guilib/VisibleEffect.o
/home/greenbag/kodi/Makefile.include:97: recipe for target 'DVDOverlayCodecFFmpeg.o' failed
make[1]: *** [DVDOverlayCodecFFmpeg.o] Error 1
Makefile:418: recipe for target 'xbmc/cores/VideoPlayer/DVDCodecs/Overlay/Overlay.a' failed
make: *** [xbmc/cores/VideoPlayer/DVDCodecs/Overlay/Overlay.a] Error 2
make: *** Waiting for unfinished jobs....
CPP     xbmc/guilib/XBTF.o
AR      xbmc/cores/VideoPlayer/DVDCodecs/Audio/Audio.a
CPP     xbmc/guilib/XBTFReader.o
CPP     xbmc/guilib/TextureGL.o
CPP     xbmc/guilib/GUIFontTTFGL.o
CPP     xbmc/guilib/GUITextureGL.o
CPP     xbmc/guilib/MatrixGLES.o
AR      xbmc/guilib/guilib.a


In my googles, I came across a thread from 2013, where someone had a similar issue when trying to link an external ffmpeg. It was a bug. I guess I was hoping this was as simple as something got changed between Kodi 16 and Kodi 17.

Try adding the flag without adding libspeex. Just let it use autobuild.sh.. you'll see what I mean.
Reply
#13
(2016-04-25, 18:05)asavah Wrote: @greenbag

Let's start from the beginning.
What's your OS?
How did you get the sources (git clone or what)?
Did you properly clean the sourcetree before attempting new builds?
Does it build without modifying anything ffmpeg related in the kodi tree?

As I said, I tried with Ubuntu Mate 16.04 (RPi2), Ubuntu 16.04 LTS (desktop) and Raspbian Jessie (RPi2).

I git cloned from master branch.

I always do a make clean between builds.

Yes. That's the issue.
Reply
#14
FFmpeg:
Code:
./configure --prefix=/opt/ffmpeg --extra-version='VERSION=3.0-Krypton-alpha' --disable-devices --enable-ffplay --enable-ffmpeg --disable-ffserver --disable-doc --enable-gpl --enable-runtime-cpudetect --enable-postproc --enable-vaapi --enable-vdpau --enable-bzlib --enable-gnutls --enable-muxer=spdif --enable-muxer=adts --enable-muxer=asf --enable-muxer=ipod --enable-encoder=ac3 --enable-encoder=aac --enable-encoder=wmav2 --enable-protocol=http --enable-libvorbis --enable-muxer=ogg --enable-encoder=libvorbis --enable-nonfree --enable-pthreads --enable-zlib --enable-encoder=mjpeg --enable-encoder=png --enable-libspeex

make -j4
sudo make install

kodi:
Code:
./bootstrap
./configure --disable-debug --with-ffmpeg=/opt/ffmpeg
make -j4
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#15
(2016-04-25, 19:52)fritsch Wrote: FFmpeg:
Code:
./configure --prefix=/opt/ffmpeg --extra-version='VERSION=3.0-Krypton-alpha' --disable-devices --enable-ffplay --enable-ffmpeg --disable-ffserver --disable-doc --enable-gpl --enable-runtime-cpudetect --enable-postproc --enable-vaapi --enable-vdpau --enable-bzlib --enable-gnutls --enable-muxer=spdif --enable-muxer=adts --enable-muxer=asf --enable-muxer=ipod --enable-encoder=ac3 --enable-encoder=aac --enable-encoder=wmav2 --enable-protocol=http --enable-libvorbis --enable-muxer=ogg --enable-encoder=libvorbis --enable-nonfree --enable-pthreads --enable-zlib --enable-encoder=mjpeg --enable-encoder=png --enable-codec=libspeex

make -j4
sudo make install

kodi:
Code:
./bootstrap
./configure --disable-debug --with-ffmpeg=/opt/ffmpeg
make -j4

Thanks.. I'll give --enable-codec a shot.



edit: lol... just waking up, read that wrong. That's to build ffmpeg.. not the kodi config line. Tongue

I'll give it a shot.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
can't use modified ffmpeg in Kodi 1700
This forum uses Lukasz Tkacz MyBB addons.