2016-03-13, 20:31
Yep, optimizations are disabled. I get the same error when compiling ffmpeg without optimizations. They need to be enabled.
./configure --prefix=/root/test/xbmc/tools/depends/target/ffmpeg/ffmpeg-install --extra-version=kodi-2.8.6-Jarvis-16.0 --disable-devices --disable-ffplay --disable-ffmpeg --disable-sdl --disable-ffprobe --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 --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2 --enable-libdcadec --enable-optimizations
make -j2
root@cubietruck:~/libcedarjpeg# make
CC main.c
main.c: In function ‘decode_jpeg’:
main.c:150:62: warning: unused parameter ‘width’ [-Wunused-parameter]
static void decode_jpeg(struct cedarJpeg_handle *handle, int width, int height)
^
main.c:150:73: warning: unused parameter ‘height’ [-Wunused-parameter]
static void decode_jpeg(struct cedarJpeg_handle *handle, int width, int height)
^
main.c: At top level:
main.c:512:12: warning: ‘TestGLError’ defined but not used [-Wunused-function]
static int TestGLError(const char* pszLocation){
^
CC jpeg.c
LD jpeg-test
/usr/lib/gcc/arm-linux-gnueabihf/4.9/../../../libcedar_access.so: undefined reference to `ump_phys_address_get'
collect2: error: ld returned 1 exit status
Makefile:28: recipe for target 'jpeg-test' failed
make: *** [jpeg-test] Error 1
(2016-03-09, 00:31)rellla Wrote: Hi guys,
for the ump error, see the fix in my repo https://github.com/rellla/libump/commits/ump
For the kernel you did right. You have to apply the 2 ump patches on top of your preferred kernel branch or use mosterta's branch and redo commit cf07273 in here https://github.com/mosterta/linux-sunxi/..._sunxi-3.4
I have neither compiled the other dependencies nor kodi itself. I just needed the ump thing fr another task.
Hope this helps you in the meantime.
Regards
rellla
CPP xbmc/addons/UISoundsResource.o
In file included from LinuxRendererGLES.h:36:0,
from RenderManager.cpp:47:
/root/test/xbmc/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.h:292:3: error: ‘EGLSyncKHR’ does not name a type
EGLSyncKHR fence;
^
/root/test/xbmc/Makefile.include:97: recipe for target 'RenderManager.o' failed
make[1]: *** [RenderManager.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/addons/Visualisation.o
CPP xbmc/addons/Webinterface.o
AR xbmc/addons/addons.a
(2016-03-13, 22:27)tom81 Wrote: Have you installed the patched libump (i.e. this one https://github.com/mosterta/libump/tree/mosterta/master) ?
Quote:Idea what's wrong? I think compiling kodi on cubietruck is a never ending story for me
drwxr-xr-x 4 root root 4096 Mar 12 19:47 0.1_linux-sunxi_A20compiled
drwxr-xr-x 6 root root 4096 Mar 12 20:19 1.1_libump
drwxr-xr-x 6 root root 4096 Mar 13 22:28 1.2_libump-mosterta
drwxr-xr-x 4 root root 4096 Mar 12 20:30 2.1_libcedrus
drwxr-xr-x 3 root root 4096 Mar 12 20:45 2.2_libvdpau-sunxi
drwxr-xr-x 9 root root 4096 Mar 13 00:26 2.3_libvdpau-mosterta
drwxr-xr-x 7 root root 4096 Mar 12 21:32 3.1_libdri2
drwxr-xr-x 7 root root 4096 Mar 13 23:03 3.2_sunxi-mali
drwxr-xr-x 7 root root 4096 Mar 12 21:42 3.3_aml-mali-onlyheaders
drwxr-xr-x 3 root root 4096 Mar 13 22:29 3.4_libvdpau-sunxi-mosterta
drwxr-xr-x 3 root root 4096 Mar 13 22:52 3.5_libcedarjpeg-tom81
drwxr-xr-x 8 root root 4096 Mar 13 20:24 4.1_shairplay
drwxr-xr-x 16 root root 4096 Mar 13 23:25 5.1_xbmc-tom81
./configure --config-cache --prefix=/usr/local --disable-x11 --disable-sdl --disable-xrandr --disable-joystick --disable-gl --enable-vdpau --disable-vaapi --disable-openmax --enable-neon --enable-gles --disable-mysql --enable-airplay --enable-airtunes --enable-debug --enable-optimizations --with-ffmpeg=force --with-platform=allwinner-mali
root@cubietruck:/usr/include/EGL# kodi
libEGL warning: DRI2: xcb_connect failed
libEGL warning: DRI2: xcb_connect failed
ERROR: Unable to create GUI. Exiting
20:47:18 T:3030601728 DEBUG: CKeyboardLayoutManager: keyboard layout "Bulgarian АБВ" successfully loaded
20:47:18 T:3030601728 DEBUG: CKeyboardLayoutManager: keyboard layout "Hungarian QWERTZ" successfully loaded
20:47:18 T:3030601728 DEBUG: UDisks: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UDisks was not provided by any .service files
20:47:18 T:3030601728 DEBUG: DeviceKit.Disks: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.DeviceKit.Disks was not provided by any .service files
20:47:18 T:3030601728 DEBUG: Selected UDev as storage provider
20:47:18 T:3030601728 ERROR: Sunxi-DISP: open /dev/disp failed. (13)
20:47:18 T:3030601728 ERROR: Sunxi-DISP: display mode -1 is unknown. Assume refreh rate 60Hz
20:47:18 T:3030601728 ERROR: Sunxi-DISP: DISP_CMD_LAYER_REQUEST failed.
20:47:18 T:3030601728 ERROR: Previous line repeats 2 times.
20:47:18 T:3030601728 NOTICE: InitWindowSystem: Using EGL Implementation: Sunxi DISP
20:47:18 T:3030601728 ERROR: EGL error in InitDisplay: 3001
20:47:18 T:3030601728 ERROR: InitWindowSystem: Could not create display
20:47:18 T:3030601728 FATAL: CApplication::Create: Unable to init windowing system
20:47:18 T:3030601728 DEBUG: ActiveAE DSP - destroyed
20:47:18 T:3030601728 DEBUG: PVRManager - destroyed
############### END LOG FILE ################
############ END Kodi CRASH LOG #############
(2016-03-14, 21:51)eckonator Wrote:Code:libEGL warning: DRI2: xcb_connect failed
libEGL warning: DRI2: xcb_connect failed
(2016-03-14, 21:51)eckonator Wrote:Code:20:47:18 T:3030601728 ERROR: Sunxi-DISP: open /dev/disp failed. (13)
export VDPAU_DRIVER=sunxi
KERNEL=="disp", MODE="0777", GROUP="video"
KERNEL=="cedar_dev", MODE="0777", GROUP="video"
sudo usermod -G sudo,video,audio kodi
18:28:12 T:3028520960 DEBUG: UDisks: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UDisks was not provided by any .service files
18:28:12 T:3028520960 DEBUG: DeviceKit.Disks: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.DeviceKit.Disks was not provided by any .service files
18:28:12 T:3028520960 DEBUG: Selected UDev as storage provider
18:28:12 T:3028520960 NOTICE: InitWindowSystem: Using EGL Implementation: Sunxi DISP
18:28:12 T:3028520960 ERROR: EGL failed to obtain display
18:28:12 T:3028520960 ERROR: InitWindowSystem: Could not create display
18:28:12 T:3028520960 FATAL: CApplication::Create: Unable to init windowing system
18:28:12 T:3028520960 DEBUG: ActiveAE DSP - destroyed
18:28:12 T:3028520960 DEBUG: PVRManager - destroyed