2016-04-24, 00:58
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...
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??
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/@guilib_version@/5.11.0/g -e s/@guilib_version_min@/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??