can't use modified ffmpeg in Kodi 17
#16
Well.. I built ffmpeg with that config line.. it didn't understand --with-codec, so I used --enable-libspeex, as that's what the ./configure --help said to use. It builds and installs to /opt/ffmpeg, but then kodi fails to build...

Code:
greenbag@lotusland:~/kodi$ make -j4
CPP     xbmc/cores/DllLoader/exports/emu_dummy.o
CPP     xbmc/cores/DllLoader/exports/util/EmuFileWrapper.o
CPP     xbmc/cores/DllLoader/coff.o
CPP     xbmc/addons/Addon.o
CPP     xbmc/cores/DllLoader/exports/emu_kernel32.o
AR      xbmc/cores/DllLoader/exports/util/exports_utils.a
CPP     xbmc/cores/DllLoader/exports/emu_msvcrt.o
CPP     xbmc/cores/DllLoader/dll.o
CPP     xbmc/cores/DllLoader/DllLoader.o
CPP     xbmc/cores/DllLoader/DllLoaderContainer.o
CPP     xbmc/cores/DllLoader/dll_tracker.o
AR      xbmc/cores/DllLoader/exports/exports.a
CPP     xbmc/cdrip/CDDARipJob.o
CPP     xbmc/cores/DllLoader/dll_tracker_file.o
CPP     xbmc/cores/DllLoader/dll_tracker_library.o
CPP     xbmc/cores/DllLoader/dll_util.o
CPP     xbmc/cores/DllLoader/LibraryLoader.o
CPP     xbmc/cores/DllLoader/SoLoader.o
CC      xbmc/cores/DllLoader/mmap_anon.o
CC      xbmc/cores/DllLoader/ldt_keeper.o
ldt_keeper.c: In function ‘Setup_LDT_Keeper’:
ldt_keeper.c:258:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   *(void**)array.base_addr = ldt_fs->prev_struct;
    ^
CC      xbmc/contrib/kissfft/kiss_fft.o
CPP     xbmc/addons/AddonCallbacks.o
CC      xbmc/contrib/kissfft/kiss_fftr.o
AR      xbmc/cores/DllLoader/dllloader.a
CPP     xbmc/addons/AddonCallbacksAddon.o
AR      xbmc/contrib/kissfft/kissfft.a
CPP     xbmc/cores/AudioEngine/AEFactory.o
CPP     xbmc/cdrip/CDDARipper.o
CPP     xbmc/addons/AddonCallbacksAudioDSP.o
CPP     xbmc/cores/AudioEngine/AESinkFactory.o
CPP     xbmc/addons/AddonCallbacksAudioEngine.o
CPP     xbmc/cdrip/Encoder.o
CPP     xbmc/cores/AudioEngine/Sinks/AESinkNULL.o
CPP     xbmc/cdrip/EncoderFFmpeg.o
CPP     xbmc/addons/AddonCallbacksCodec.o
CPP     xbmc/cores/AudioEngine/Sinks/AESinkPi.o
CPP     xbmc/cores/AudioEngine/AEResampleFactory.o
CPP     xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.o
EncoderFFmpeg.cpp: In member function ‘bool CEncoderFFmpeg::WriteFrame()’:
EncoderFFmpeg.cpp:319:21: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
     if (m_CodecCtx->coded_frame && m_CodecCtx->coded_frame->pts != AV_NOPTS_VALUE)
                     ^
In file included from /opt/ffmpeg/include/libavformat/avformat.h:318:0,
                 from EncoderFFmpeg.h:27,
                 from EncoderFFmpeg.cpp:29:
/opt/ffmpeg/include/libavcodec/avcodec.h:2949:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^
EncoderFFmpeg.cpp:319:21: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
     if (m_CodecCtx->coded_frame && m_CodecCtx->coded_frame->pts != AV_NOPTS_VALUE)
                     ^
In file included from /opt/ffmpeg/include/libavformat/avformat.h:318:0,
                 from EncoderFFmpeg.h:27,
                 from EncoderFFmpeg.cpp:29:
/opt/ffmpeg/include/libavcodec/avcodec.h:2949:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^
EncoderFFmpeg.cpp:319:21: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
     if (m_CodecCtx->coded_frame && m_CodecCtx->coded_frame->pts != AV_NOPTS_VALUE)
                     ^
In file included from /opt/ffmpeg/include/libavformat/avformat.h:318:0,
                 from EncoderFFmpeg.h:27,
                 from EncoderFFmpeg.cpp:29:
/opt/ffmpeg/include/libavcodec/avcodec.h:2949:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^
EncoderFFmpeg.cpp:319:48: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
     if (m_CodecCtx->coded_frame && m_CodecCtx->coded_frame->pts != AV_NOPTS_VALUE)
                                                ^
In file included from /opt/ffmpeg/include/libavformat/avformat.h:318:0,
                 from EncoderFFmpeg.h:27,
                 from EncoderFFmpeg.cpp:29:
/opt/ffmpeg/include/libavcodec/avcodec.h:2949:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^
EncoderFFmpeg.cpp:319:48: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
     if (m_CodecCtx->coded_frame && m_CodecCtx->coded_frame->pts != AV_NOPTS_VALUE)
                                                ^
In file included from /opt/ffmpeg/include/libavformat/avformat.h:318:0,
                 from EncoderFFmpeg.h:27,
                 from EncoderFFmpeg.cpp:29:
/opt/ffmpeg/include/libavcodec/avcodec.h:2949:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^
EncoderFFmpeg.cpp:319:48: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
     if (m_CodecCtx->coded_frame && m_CodecCtx->coded_frame->pts != AV_NOPTS_VALUE)
                                                ^
In file included from /opt/ffmpeg/include/libavformat/avformat.h:318:0,
                 from EncoderFFmpeg.h:27,
                 from EncoderFFmpeg.cpp:29:
/opt/ffmpeg/include/libavcodec/avcodec.h:2949:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^
EncoderFFmpeg.cpp:320:44: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
       m_Pkt.pts = av_rescale_q(m_CodecCtx->coded_frame->pts, m_Stream->time_base, m_CodecCtx->time_base);
                                            ^
In file included from /opt/ffmpeg/include/libavformat/avformat.h:318:0,
                 from EncoderFFmpeg.h:27,
                 from EncoderFFmpeg.cpp:29:
/opt/ffmpeg/include/libavcodec/avcodec.h:2949:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^
EncoderFFmpeg.cpp:320:44: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
       m_Pkt.pts = av_rescale_q(m_CodecCtx->coded_frame->pts, m_Stream->time_base, m_CodecCtx->time_base);
                                            ^
In file included from /opt/ffmpeg/include/libavformat/avformat.h:318:0,
                 from EncoderFFmpeg.h:27,
                 from EncoderFFmpeg.cpp:29:
/opt/ffmpeg/include/libavcodec/avcodec.h:2949:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^
EncoderFFmpeg.cpp:320:44: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations]
       m_Pkt.pts = av_rescale_q(m_CodecCtx->coded_frame->pts, m_Stream->time_base, m_CodecCtx->time_base);
                                            ^
In file included from /opt/ffmpeg/include/libavformat/avformat.h:318:0,
                 from EncoderFFmpeg.h:27,
                 from EncoderFFmpeg.cpp:29:
/opt/ffmpeg/include/libavcodec/avcodec.h:2949:35: note: declared here
     attribute_deprecated AVFrame *coded_frame;
                                   ^
EncoderFFmpeg.cpp:328:3: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
   av_free_packet(&m_Pkt);
   ^
In file included from /opt/ffmpeg/include/libavformat/avformat.h:318:0,
                 from EncoderFFmpeg.h:27,
                 from EncoderFFmpeg.cpp:29:
/opt/ffmpeg/include/libavcodec/avcodec.h:4044:6: note: declared here
void av_free_packet(AVPacket *pkt);
      ^
EncoderFFmpeg.cpp:328:3: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
   av_free_packet(&m_Pkt);
   ^
In file included from /opt/ffmpeg/include/libavformat/avformat.h:318:0,
                 from EncoderFFmpeg.h:27,
                 from EncoderFFmpeg.cpp:29:
/opt/ffmpeg/include/libavcodec/avcodec.h:4044:6: note: declared here
void av_free_packet(AVPacket *pkt);
      ^
EncoderFFmpeg.cpp:328:24: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
   av_free_packet(&m_Pkt);
                        ^
In file included from /opt/ffmpeg/include/libavformat/avformat.h:318:0,
                 from EncoderFFmpeg.h:27,
                 from EncoderFFmpeg.cpp:29:
/opt/ffmpeg/include/libavcodec/avcodec.h:4044:6: note: declared here
void av_free_packet(AVPacket *pkt);
      ^
CPP     xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAESink.o
CPP     xbmc/addons/AddonCallbacksGUI.o
AR      xbmc/cdrip/cdrip.a
CPP     xbmc/cores/ExternalPlayer/ExternalPlayer.o
CPP     xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEStream.o
AR      xbmc/cores/ExternalPlayer/ExternalPlayer.a
CPP     xbmc/cores/VideoRenderers/BaseRenderer.o
CPP     xbmc/cores/VideoRenderers/OverlayRenderer.o
CPP     xbmc/addons/AddonCallbacksPVR.o
CPP     xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAESound.o
CPP     xbmc/cores/VideoRenderers/OverlayRendererUtil.o
CPP     xbmc/cores/VideoRenderers/OverlayRendererGUI.o
CPP     xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEResampleFFMPEG.o
CPP     xbmc/cores/VideoRenderers/RenderCapture.o
CPP     xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEResamplePi.o
CPP     xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEBuffer.o
CPP     xbmc/addons/AddonDatabase.o
CPP     xbmc/cores/VideoRenderers/RenderManager.o
CPP     xbmc/cores/VideoRenderers/RenderFlags.o
CPP     xbmc/cores/AudioEngine/Sinks/AESinkALSA.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/YUV2RGBShader.o
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/VideoFilterShader.o
CPP     xbmc/cores/VideoRenderers/VideoShaders/ConvolutionKernels.o
CPP     xbmc/addons/AddonInstaller.o
CPP     xbmc/addons/AddonManager.o
CPP     xbmc/cores/AudioEngine/Sinks/alsa/ALSADeviceMonitor.o
AR      xbmc/cores/VideoRenderers/VideoShaders/VideoShaders.a
CPP     xbmc/cores/AudioEngine/Sinks/alsa/ALSAHControlMonitor.o
CPP     xbmc/cores/AudioEngine/Sinks/AESinkOSS.o
CPP     xbmc/cores/AudioEngine/Sinks/AESinkPULSE.o
CPP     xbmc/cores/AudioEngine/DSPAddons/ActiveAEDSP.o
CPP     xbmc/cores/AudioEngine/DSPAddons/ActiveAEDSPMode.o
CPP     xbmc/addons/AddonStatusHandler.o
CPP     xbmc/cores/AudioEngine/DSPAddons/ActiveAEDSPAddon.o
CPP     xbmc/addons/AddonVersion.o
CPP     xbmc/cores/AudioEngine/DSPAddons/ActiveAEDSPDatabase.o
CPP     xbmc/addons/AudioEncoder.o
CPP     xbmc/addons/ContextMenuAddon.o
CPP     xbmc/cores/AudioEngine/DSPAddons/ActiveAEDSPProcess.o
CPP     xbmc/cores/AudioEngine/Utils/AEChannelInfo.o
CPP     xbmc/addons/AudioDecoder.o
CPP     xbmc/cores/AudioEngine/Utils/AEBuffer.o
CPP     xbmc/addons/GUIDialogAddonInfo.o
CPP     xbmc/cores/AudioEngine/Utils/AEUtil.o
CPP     xbmc/cores/AudioEngine/Utils/AEStreamInfo.o
CPP     xbmc/addons/GUIDialogAddonSettings.o
CPP     xbmc/cores/AudioEngine/Utils/AEPackIEC61937.o
CPP     xbmc/cores/AudioEngine/Utils/AEBitstreamPacker.o
CPP     xbmc/cores/AudioEngine/Utils/AEELDParser.o
CPP     xbmc/cores/AudioEngine/Utils/AEDeviceInfo.o
CPP     xbmc/cores/AudioEngine/Utils/AELimiter.o
CPP     xbmc/cores/AudioEngine/Encoders/AEEncoderFFmpeg.o
CPP     xbmc/addons/GUIViewStateAddonBrowser.o
Encoders/AEEncoderFFmpeg.cpp: In member function ‘virtual int CAEEncoderFFmpeg::Encode(float*, unsigned int)’:
Encoders/AEEncoderFFmpeg.cpp:354:3: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
   av_free_packet(&m_Pkt);
   ^
In file included from /home/greenbag/kodi/xbmc/cores/AudioEngine/Interfaces/AEEncoder.h:25:0,
                 from /home/greenbag/kodi/xbmc/cores/AudioEngine/Encoders/AEEncoderFFmpeg.h:22,
                 from Encoders/AEEncoderFFmpeg.cpp:24:
/opt/ffmpeg/include/libavcodec/avcodec.h:4044:6: note: declared here
void av_free_packet(AVPacket *pkt);
      ^
Encoders/AEEncoderFFmpeg.cpp:354:3: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
   av_free_packet(&m_Pkt);
   ^
In file included from /home/greenbag/kodi/xbmc/cores/AudioEngine/Interfaces/AEEncoder.h:25:0,
                 from /home/greenbag/kodi/xbmc/cores/AudioEngine/Encoders/AEEncoderFFmpeg.h:22,
                 from Encoders/AEEncoderFFmpeg.cpp:24:
/opt/ffmpeg/include/libavcodec/avcodec.h:4044:6: note: declared here
void av_free_packet(AVPacket *pkt);
      ^
Encoders/AEEncoderFFmpeg.cpp:354:24: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
   av_free_packet(&m_Pkt);
                        ^
In file included from /home/greenbag/kodi/xbmc/cores/AudioEngine/Interfaces/AEEncoder.h:25:0,
                 from /home/greenbag/kodi/xbmc/cores/AudioEngine/Encoders/AEEncoderFFmpeg.h:22,
                 from Encoders/AEEncoderFFmpeg.cpp:24:
/opt/ffmpeg/include/libavcodec/avcodec.h:4044:6: note: declared here
void av_free_packet(AVPacket *pkt);
      ^
Encoders/AEEncoderFFmpeg.cpp: In member function ‘virtual int CAEEncoderFFmpeg::Encode(uint8_t*, int, uint8_t*, int)’:
Encoders/AEEncoderFFmpeg.cpp:404:3: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
   av_free_packet(&m_Pkt);
   ^
In file included from /home/greenbag/kodi/xbmc/cores/AudioEngine/Interfaces/AEEncoder.h:25:0,
                 from /home/greenbag/kodi/xbmc/cores/AudioEngine/Encoders/AEEncoderFFmpeg.h:22,
                 from Encoders/AEEncoderFFmpeg.cpp:24:
/opt/ffmpeg/include/libavcodec/avcodec.h:4044:6: note: declared here
void av_free_packet(AVPacket *pkt);
      ^
Encoders/AEEncoderFFmpeg.cpp:404:3: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
   av_free_packet(&m_Pkt);
   ^
In file included from /home/greenbag/kodi/xbmc/cores/AudioEngine/Interfaces/AEEncoder.h:25:0,
                 from /home/greenbag/kodi/xbmc/cores/AudioEngine/Encoders/AEEncoderFFmpeg.h:22,
                 from Encoders/AEEncoderFFmpeg.cpp:24:
/opt/ffmpeg/include/libavcodec/avcodec.h:4044:6: note: declared here
void av_free_packet(AVPacket *pkt);
      ^
Encoders/AEEncoderFFmpeg.cpp:404:24: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
   av_free_packet(&m_Pkt);
                        ^
In file included from /home/greenbag/kodi/xbmc/cores/AudioEngine/Interfaces/AEEncoder.h:25:0,
                 from /home/greenbag/kodi/xbmc/cores/AudioEngine/Encoders/AEEncoderFFmpeg.h:22,
                 from Encoders/AEEncoderFFmpeg.cpp:24:
/opt/ffmpeg/include/libavcodec/avcodec.h:4044:6: note: declared here
void av_free_packet(AVPacket *pkt);
      ^
CPP     xbmc/addons/GUIWindowAddonBrowser.o
AR      xbmc/cores/AudioEngine/audioengine.a
CPP     xbmc/addons/ImageResource.o
CPP     xbmc/addons/LanguageResource.o
CPP     xbmc/addons/PluginSource.o
CPP     xbmc/addons/Repository.o
CPP     xbmc/addons/RepositoryUpdater.o
CPP     xbmc/addons/Scraper.o
CPP     xbmc/addons/ScreenSaver.o
CPP     xbmc/addons/Service.o
CPP     xbmc/addons/Skin.o
CPP     xbmc/addons/UISoundsResource.o
CPP     xbmc/addons/Visualisation.o
CPP     xbmc/addons/Webinterface.o
AR      xbmc/addons/addons.a
greenbag@lotusland:~/kodi$


As for My build on Raspbian.. I spoke too soon. It built, but the binary won't run

Code:
ERROR: Unable to create application. Exiting
*** Error in '/usr/local/lib/kodi/kodi.bin': free(): invalid pointer: 0x03547cdc ***
Aborted (core dumped)
Crash report available at /home/pi/kodi_crashlog-20160425_112630.log
Reply
#17
That external ffmpeg build error was with Kodi 16 on Ubuntu 16.04. Kodi 17 gives different errors...

http://pastebin.com/cV9ggzGE
Reply
#18
Well... I just did a fresh install of Ubuntu 14.04 LTS amd64, with all updates. Both 16.1 and 17 build fine, and both with speex audio working. The only difference that I can see, is the trials before, on the Pi and in Ubuntu 16.06 on the desktop, all I did was git clone the source, then apt-get build-dep kodi. This build, and what I originally had done with my Ubuntu 14.04 desktop install.. before deciding to upgrade to 16.04 the other night, I added the team-xbmc ppa's before getting the build-deps.. and before git cloning kodi as well. So.. I guess the ppa pulls in different dependencies than a standard Ubuntu list. I couldn't use the ppa on the Pi, so needed to use a manual apt list. Maybe that's the issue on the Pi. Then again.. that was for 16.. it wouldn't download the build-deps, as it couldn't find libdcadec.. even though I built it in manually. Kodi 17 apparently doesn't need it anymore. Maybe it'll pull in the deps from the ppa then. I'll try later.


Code:
$ sudo apt-get git-core make build-essential checkinstall ccache
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository -s ppa:team-xbmc/xbmc-nightly
$ sudo add-apt-repository ppa:team-xbmc/xbmc-ppa-build-depends
$ sudo apt-get update
$ sudo apt-get build-dep kodi

$ git clone -b Jarvis git://github.com/xbmc/xbmc.git kodi
$ cd kodi
$ nano tools/depends/target/ffmpeg/autobuild.sh

add:
    --enable-libspeex \

$ ./bootstrap
$ ./configure --with-ffmpeg=auto


checking for FFMPEG... no
configure: "Installing FFmpeg"
install prefix            /home/greenbag/kodi/tools/depends/target/ffmpeg/ffmpeg-install
source path               .
C compiler                gcc
C library                 glibc
ARCH                      x86 (generic)
version string suffix     kodi-2.8.6-Jarvis-16.0
big-endian                no
runtime cpu detection     yes
yasm                      yes
MMX enabled               yes
MMXEXT enabled            yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
AVX enabled               yes
XOP enabled               yes
FMA3 enabled              yes
FMA4 enabled              yes
i686 features enabled     yes
CMOV is fast              yes
EBX available             yes
EBP available             yes
debug symbols             yes
strip symbols             yes
optimize for size         no
optimizations             yes
static                    yes
shared                    no
postprocessing support    yes
new filter support        yes
network support           yes
threading support         pthreads
safe bitstream reader     yes
SDL support               no
opencl enabled            no
texi2html enabled         no
perl enabled              yes
pod2man enabled           yes
makeinfo enabled          no
makeinfo supports HTML    no

Enabled programs:

External libraries:
bzlib            libvorbis        libxcb_xfixes
gnutls            libxcb            lzma
iconv            libxcb_shape        xlib
libdcadec        libxcb_shm        zlib
libspeex


$ make -j4


LD      kodi.bin
-----------------------
Kodi built successfully
-----------------------


I'm not sure why 17 wouldn't build on 14.04 for me before the upgrade though. I guess I broke the compiler along the way.


Anyways... thanks for the help. Smile




edit: I said this build I grabbed the build-dep before grabbing the kodi source.. I aws wrong. I grabbed the source first.. I needed the readme.ubuntu for the ppa's. And I guess apt-get build-dep kodi uses the source directory to scan what's needed(?).
Reply
#19
The above issue with the corrupted linked list look like a ccache issue, which would have been fixed by: make clean && ccache -cC
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#20
(2016-04-26, 07:27)fritsch Wrote: The above issue with the corrupted linked list look like a ccache issue, which would have been fixed by: make clean && ccache -cC

Thanks.. I'm still new to this ccache. I didn't even know it was enabled by default until I looked at the config help. Does it get installed with the dependencies automatically? I installed it this time, but not always when testing on the Pi.


I guess that's why a fresh git clone gave the same results.. the glitch was already stored in ccache.
Reply
#21
besides possible ccache issues(which are rather seldom in my experience), is it possible that you didn't git clean between v16 and v17 builds?
Reply
#22
(2016-04-26, 12:54)wsnipex Wrote: besides possible ccache issues(which are rather seldom in my experience), is it possible that you didn't git clean between v16 and v17 builds?

A couple of times, but few out of many tries. But like I said.. I did a fresh git clone a few times as well. To my limited knowledge, that should have cleaned git's cache itself. No? Some of the errors popped up on fresh installs on the Pi, and after a fresh install of Ubuntu 16.04 on the desktop. There was nothing to clean.

The readme also says...

Quote:Note: Do not use "aptitude" for the build-dep command. It doesn't resolve everything properly.

Which is probably why.. since I had forgotten to do with the Ubuntu 16.04 install. And I can't use the ppa on the Pi, as it won't download any of the deps since it can't find libdcadec-dev for the arm in the repo. Even if I build it in manually, it still won't download all the other deps.

Also.. when doing a git clean.. that just refreshes the source you've just downloaded.. that shouldn't make a difference between 16 and 17, should it? One's git clone -b Jarvis, the other's git clone -b master.
Reply
#23
git clean -xfd will delete all files that are not versioned in git. It will removed all build artifacts, binaries etc.
If you do not do this between different kodi version builds, you almost certainly will run into build issues.

Generally, if you encounter strange build errors, this is the command to try first.
Reply
#24
(2016-04-26, 18:28)wsnipex Wrote: git clean -xfd will delete all files that are not versioned in git. It will removed all build artifacts, binaries etc.
If you do not do this between different kodi version builds, you almost certainly will run into build issues.

Generally, if you encounter strange build errors, this is the command to try first.

Thank you. But if you have to be within the working directory before passing the clean and reset command, then simply deleting the directory, or renaming it to kodi-16 before downloading kodi 17 should be enough. No?
Reply
#25
clean is much faster then downloading a new clone...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#26
(2016-04-27, 07:09)Memphiz Wrote: clean is much faster then downloading a new clone...

That's definitely true. I never thought of it like that.
Reply

Logout Mark Read Team Forum Stats Members Help
can't use modified ffmpeg in Kodi 170