• 1
  • 19
  • 20
  • 21
  • 22
  • 23(current)
hardware acceleration on allwinner A10/A20 with vdpau and OpenGLES (zero-copy)
(2017-11-08, 00:07)mosterta Wrote: [i][i]Please use the latest version of the repository. There was an error in file config/optimze (first line)[/i][/i]

Thanks @mosterta -  I pulled again from branch and re-ran the build.
Got a failure here now. I'm confused how I've got this, as I assume I'm building with the same parameters as you ... 

Code:
make -f /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/linux-5ea667f/scripts/Makefile.modpost
  scripts/mod/modpost   -i /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/linux-5ea667f/Module.symvers -I /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/Module.symvers  -o /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/Module.symvers -S -w -c -s
WARNING: "wiphy_free" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_unlink_bss" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "ieee80211_frequency_to_channel" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_inform_bss_frame" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_rx_mgmt" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_del_sta" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_mgmt_tx_status" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "__ieee80211_get_channel" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_get_bss" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "wiphy_unregister" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_connect_result" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_michael_mic_failure" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "wiphy_apply_custom_regulatory" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_ibss_joined" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_roamed" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_put_bss" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "wiphy_new" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "wiphy_register" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_ready_on_channel" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_disconnected" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_new_sta" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_remain_on_channel_expired" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_scan_done" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
  /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/toolchain/bin/armv7ve-libreelec-linux-gnueabi-gcc -Wp,-MD,/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/.8812au.mod.o.d  -nostdinc -isystem /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/toolchain/lib/gcc/armv7ve-libreelec-linux-gnueabi/6.2.0/include -I/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/linux-5ea667f/arch/arm/include -Iarch/arm/include/generated -Iinclude  -include /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/linux-5ea667f/include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-sunxi/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -Wno-maybe-uninitialized -marm -fno-dwarf2-cfi-asm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -fno-ipa-sra -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -fno-ipa-sra -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -O1 -Wall -Werror=incompatible-pointer-types -Wno-unused-variable -Wno-unused-value -Wno-unused-label -Wno-unused-parameter -Wno-unused-function -Wno-unused -Wno-error=date-time -I/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/include -I/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/hal/phydm -I/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/platform -DCONFIG_RTL8812A -DCONFIG_RTL8821A -DCONFIG_MP_INCLUDED -DCONFIG_TRAFFIC_PROTECT -DCONFIG_LOAD_PHY_PARA_FROM_FILE -DREALTEK_CONFIG_PATH=\"\" -DCONFIG_RTW_ADAPTIVITY_EN=0 -DCONFIG_RTW_ADAPTIVITY_MODE=0 -DCONFIG_BR_EXT '-DCONFIG_BR_EXT_BRNAME="'br0'"' -DCONFIG_WIFI_MONITOR -DDM_ODM_SUPPORT_TYPE=0x04 -DCONFIG_LITTLE_ENDIAN -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(8812au.mod)"  -D"KBUILD_MODNAME=KBUILD_STR(8812au)" -DMODULE  -c -o /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.mod.o /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.mod.c
  /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/toolchain/bin/armv7ve-libreelec-linux-gnueabi-ld -EL -r  -T /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/linux-5ea667f/scripts/module-common.lds --build-id  -o /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.o /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.mod.o
make[2]: Leaving directory '/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/linux-5ea667f'
make[1]: Leaving directory '/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20'
mt7601u: no package.mk file found
Makefile:12: recipe for target 'image' failed
make: *** [image] Error 1
Reply
(2017-11-08, 00:44)mosterta Wrote: But there is an dependency of this version to the latest version of kodi
https://github.com/mosterta/xbmc
branch
allwinner-krypton

please use this version of kodi and not the branch mentioned in my post #1 

Thanks !

I installed:
1) https://github.com/linux-sunxi/linux-sunxi (branch stage/sunxi-3.4)
+ https://github.com/mosterta/linux-sunxi/...5cbf7ee1c0
+ https://github.com/mosterta/linux-sunxi/...9c1613da68

2) libump https://github.com/mosterta/libump/tree/mosterta/master (branch master)

3) libvdpau https://github.com/mosterta/libvdpau (./configure --disable-dri2)

4) sunxi-mali https://github.com/linux-sunxi/sunxi-mali (make config ABI=armhf VERSION=r3p0 EGL_TYPE=framebuffer)

5) libvdpau-sunxi https://github.com/mosterta/libvdpau-sunxi (branch master)

6) kodi https://github.com/mosterta/xbmc (branch allwinner-krypton)
cpp:
./configure --disable-debug --disable-gl --enable-gles --enable-vdpau --disable-vaapi --disable-openmax --disable-x11 --disable-airplay --disable-airtunes --disable-avahi --disable-mysql --disable-webserver --disable-optical-drive --with-ffmpeg=force --with-platform=allwinner-mali

cpp:
------------------------
  Kodi Configuration:
------------------------
  Kodi Version: 17.4
  git Rev.:     20171107-2024a5f
  Debugging:    No
  Profiling:    No
  Optimization: Yes
  SWIG Available:       Yes
  JRE Available:        Yes
  Doxygen Available:    Yes
  Crosscomp.:   No
  target ARCH:  arm
  target CPU:
  OpenGLES:     Yes
  ALSA:         Yes
  DBUS:         Yes
  VDPAU:        Yes
  VAAPI:        No
  OpenMax:      No
  X11:          No
  Bluray:       Yes
  XSLT scrapers:        Yes
  TexturePacker:Yes
  MID Support:  No
  ccache:       No
  ALSA Support: Yes
  PulseAudio:   Yes
  Google Test Framework Configured:     Yes
  Avahi:        No
  mDNSEmbedded: No
  Non-free:     Yes
  MySQL:        No
  Webserver:    No
  libssh support:       Yes
  libsmbclient support: Yes
  libnfs client support:Yes
  AirPLay support:      No
  AirTunes support:     No
  UPnP support:         Yes
  Optical drive:        No
  libudev support:      Yes
  libusb support:       No
  libcec support:       Yes
  lcms2 support:        Yes
  libbluetooth support: Yes
  libcap support:       Yes
  libcedarJpeg support: No
  additional players:   No
  additional codecs:    No
  prefix:       /usr/local
------------------------
make
Now a new error: https://pastebin.com/1u0v7Lth

What am I doing wrong ?
Reply
(2017-11-10, 09:52)ZigZag69 Wrote:
(2017-11-08, 00:44)mosterta Wrote: But there is an dependency of this version to the latest version of kodi
https://github.com/mosterta/xbmc
branch
allwinner-krypton

please use this version of kodi and not the branch mentioned in my post #1 

Thanks !

I installed:
1) https://github.com/linux-sunxi/linux-sunxi (branch stage/sunxi-3.4)
+ https://github.com/mosterta/linux-sunxi/...5cbf7ee1c0
+ https://github.com/mosterta/linux-sunxi/...9c1613da68

2) libump https://github.com/mosterta/libump/tree/mosterta/master (branch master)

3) libvdpau https://github.com/mosterta/libvdpau (./configure --disable-dri2)

4) sunxi-mali https://github.com/linux-sunxi/sunxi-mali (make config ABI=armhf VERSION=r3p0 EGL_TYPE=framebuffer)

5) libvdpau-sunxi https://github.com/mosterta/libvdpau-sunxi (branch master)

6) kodi https://github.com/mosterta/xbmc (branch allwinner-krypton)
cpp:
./configure --disable-debug --disable-gl --enable-gles --enable-vdpau --disable-vaapi --disable-openmax --disable-x11 --disable-airplay --disable-airtunes --disable-avahi --disable-mysql --disable-webserver --disable-optical-drive --with-ffmpeg=force --with-platform=allwinner-mali
cpp:
------------------------
  Kodi Configuration:
------------------------
  Kodi Version: 17.4
  git Rev.:     20171107-2024a5f
  Debugging:    No
  Profiling:    No
  Optimization: Yes
  SWIG Available:       Yes
  JRE Available:        Yes
  Doxygen Available:    Yes
  Crosscomp.:   No
  target ARCH:  arm
  target CPU:
  OpenGLES:     Yes
  ALSA:         Yes
  DBUS:         Yes
  VDPAU:        Yes
  VAAPI:        No
  OpenMax:      No
  X11:          No
  Bluray:       Yes
  XSLT scrapers:        Yes
  TexturePacker:Yes
  MID Support:  No
  ccache:       No
  ALSA Support: Yes
  PulseAudio:   Yes
  Google Test Framework Configured:     Yes
  Avahi:        No
  mDNSEmbedded: No
  Non-free:     Yes
  MySQL:        No
  Webserver:    No
  libssh support:       Yes
  libsmbclient support: Yes
  libnfs client support:Yes
  AirPLay support:      No
  AirTunes support:     No
  UPnP support:         Yes
  Optical drive:        No
  libudev support:      Yes
  libusb support:       No
  libcec support:       Yes
  lcms2 support:        Yes
  libbluetooth support: Yes
  libcap support:       Yes
  libcedarJpeg support: No
  additional players:   No
  additional codecs:    No
  prefix:       /usr/local
------------------------
make
Now a new error: https://pastebin.com/1u0v7Lth

What am I doing wrong ? 
You are not doing anything wrong, but unfortunately the removal of X11 from libvdpau is kind of a hack. Please comment line 48 of file /usr/(local)/include/vdpau/vdpau_x11.h depending whether files are stored in /usr/local or /usr.
It should compile afterwards.
Reply
(2017-11-12, 15:10)mosterta Wrote: You are not doing anything wrong, but unfortunately the removal of X11 from libvdpau is kind of a hack. Please comment line 48 of file /usr/(local)/include/vdpau/vdpau_x11.h depending whether files are stored in /usr/local or /usr.
It should compile afterwards. 

Hello!

vdpau_x11.h is located:
cpp:
root @ mc3q:~# find / usr -name "vdpau_x11.h"
/usr/local/include/vdpau/vdpau_x11.h

I comment out the line 48:
cpp:
/ * typedef void * Display; * /

I run make and received an error. Full log https://pastebin.com/npukrxTq
cpp:
In file included from /usr/include/arm-linux-gnueabihf/libavcodec/vdpau.h:53:0,
                 from VDPAU.h:45,
                 from DVDVideoCodecFFmpeg.cpp:50:
/usr/local/include/vdpau/vdpau_x11.h:131:5: error: typedef ‘VdpDeviceCreateX11’ is initialized (use decltype instead)
     Display *             display,
     ^~~~~~~
/usr/local/include/vdpau/vdpau_x11.h:131:5: error: ‘Display’ was not declared in this scope
/usr/local/include/vdpau/vdpau_x11.h:131:27: error: ‘display’ was not declared in this scope
     Display *             display,
                           ^~~~~~~
/usr/local/include/vdpau/vdpau_x11.h:132:5: error: expected primary-expression before ‘int’
     int                   screen,
     ^~~
/usr/local/include/vdpau/vdpau_x11.h:134:15: error: expected primary-expression before ‘*’ token
     VdpDevice *           device,
               ^
/usr/local/include/vdpau/vdpau_x11.h:134:27: error: ‘device’ was not declared in this scope
     VdpDevice *           device,
                           ^~~~~~
/usr/local/include/vdpau/vdpau_x11.h:135:23: error: expected primary-expression before ‘*’ token
     VdpGetProcAddress * * get_proc_address
                       ^
/usr/local/include/vdpau/vdpau_x11.h:135:27: error: ‘get_proc_address’ was not declared in this scope
     VdpGetProcAddress * * get_proc_address
                           ^~~~~~~~~~~~~~~~
/usr/local/include/vdpau/vdpau_x11.h:143:1: error: ‘VdpDeviceCreateX11’ does not name a type
 VdpDeviceCreateX11 vdp_device_create_x11;

Error on Display *
cpp:
typedef VdpStatus VdpDeviceCreateX11 (
Display * display,
int screen,
/ * output parameters follow * /
VdpDevice * device,
VdpGetProcAddress * * get_proc_address
);

I commented out line 131:
cpp:
/ * Display * display, * /

Run make and again an error. Full log https://pastebin.com/qWiL81RP
cpp:
CPP     xbmc/cores/VideoPlayer/DVDCodecs/Video/VDPAU.o
VDPAU.cpp: In static member function ‘static bool VDPAU::CDecoder::IsVDPAUFormat(AVPixelFormat)’:
VDPAU.cpp:841:17: error: ‘AV_PIX_FMT_VDPAU_MSMPEG4V3’ was not declared in this scope
       format == AV_PIX_FMT_VDPAU_MSMPEG4V3 ||
Reply
I try to compile with cmake:
cpp:
root@mc3q:~# mkdir kodi-build && cd kodi-build
 
cpp:
root@mc3q:~/kodi-build# cmake ~/mosterta/xbmc/project/cmake/ -DENABLE_OPENGL=OFF -DENABLE_X11=OFF -DENABLE_OPENGLES=ON -DENABLE_VAAPI=OFF -DENABLE_VDPAU=ON -DENABLE_SDL=OFF -DENABLE_DVDCSS=OFF -DENABLE_AIRTUNES=OFF -DENABLE_OPTICAL=OFF -DENABLE_BLURAY=OFF -DENABLE_AVAHI=OFF-DENABLE_CEC=OFF
Result: https://pastebin.com/tGkKd5h0
Run
cpp:
root@mc3q:~/kodi-build# cmake --build . -- VERBOSE=1
and I see an error:
cpp:
[ 85%] Building CXX object build/cores/VideoPlayer/inputstreams/CMakeFiles/dvdinputstreams.dir/DVDInputStreamNavigator.cpp.o
cd /root/kodi-build/build/cores/VideoPlayer/inputstreams && /usr/bin/c++ -I/root/mosterta/xbmc -I/root/mosterta/xbmc/addons/library.xbmc.addon -I/root/mosterta/xbmc/lib -I/root/mosterta/xbmc/lib/gtest/include -I/root/mosterta/xbmc/xbmc -I/root/mosterta/xbmc/xbmc/linux -I/root/mosterta/xbmc/xbmc/cores/VideoPlayer -I/root/kodi-build/build -I/usr/include/freetype2 -I/root/kodi-build/build/cpluff/include -I/root/kodi-build/build/libdvd/include -I/usr/include/python2.7 -I/usr/include/lzo -I/root/kodi-build/build/include -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/samba-4.0 -I/usr/local/include -I/usr/include/arm-linux-gnueabihf -std=c++11 -mfpu=neon -mvectorize-with-neon-quad -O3 -DNDEBUG -s -D_LINUX -DTARGET_POSIX -DTARGET_LINUX -D__STDC_CONSTANT_MACROS -D_FILE_DEFINED -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_STD__U16_STRING=1 -DHAVE_STD__U32_STRING=1 -DHAVE_CHAR16_T=1 -DHAVE_CHAR32_T=1 -DHAVE_STDINT_H=1 -DHAS_BUILTIN_SYNC_ADD_AND_FETCH=1 -DHAS_BUILTIN_SYNC_SUB_AND_FETCH=1 -DHAS_BUILTIN_SYNC_VAL_COMPARE_AND_SWAP=1 -DHAVE_INOTIFY=1 -DHAVE_POSIX_FADVISE=1 -DHAVE_LOCALTIME_R=1 -DHAVE_INTTYPES_H=1 -I/usr/include/fribidi -DFFMPEG_VER_SHA=\"3.1.9-Krypton-17.4\" -DUSE_STATIC_FFMPEG=1 -DHAVE_LCMS2=1 -DHAVE_LIBMICROHTTPD=1 -DHAVE_MYSQL=1 -DHAVE_LIBSSH=1 -DHAVE_LIBXSLT=1 -DHAVE_ALSA=1 -DUSE_ALSA=1 -DHAVE_LIBUDEV=1 -DHAVE_DBUS=1 -DHAVE_LIBSMBCLIENT=1 -DHAVE_LIBPULSE=1 -DHAVE_LIBVDPAU=1 -DHAVE_LIBPLIST=1 -DHAVE_LIBNFS=1 -DHAVE_OPENSSL=1 -DUSE_UPNP=1 -DHAVE_XBMC_NONFREE=1 -DLIRC_DEVICE=\"/dev/lircd\" -DHAVE_LIRC=1 -DHAVE_LIBGLESV2 -DHAVE_LIBEGL=1 -DBIN_INSTALL_PATH=\"/usr/local/lib/kodi\" -DINSTALL_PATH=\"/usr/local/share/kodi\" -std=c++11 -o CMakeFiles/dvdinputstreams.dir/DVDInputStreamNavigator.cpp.o -c /root/mosterta/xbmc/xbmc/cores/VideoPlayer/DVDInputStreams/DVDInputStreamNavigator.cpp
/tmp/ccT9N3lN.s: Assembler messages:
/tmp/ccT9N3lN.s:8049: Error: branch out of range
build/cores/VideoPlayer/inputstreams/CMakeFiles/dvdinputstreams.dir/build.make:182: ошибка выполнения рецепта для цели «build/cores/VideoPlayer/inputstreams/CMakeFiles/dvdinputstreams.dir/DVDInputStreamNavigator.cpp.o»
make[2]: *** [build/cores/VideoPlayer/inputstreams/CMakeFiles/dvdinputstreams.dir/DVDInputStreamNavigator.cpp.o] Ошибка 1
make[2]: выход из каталога «/root/kodi-build»
CMakeFiles/Makefile2:8450: ошибка выполнения рецепта для цели «build/cores/VideoPlayer/inputstreams/CMakeFiles/dvdinputstreams.dir/all»
make[1]: *** [build/cores/VideoPlayer/inputstreams/CMakeFiles/dvdinputstreams.dir/all] Ошибка 2
make[1]: выход из каталога «/root/kodi-build»
Makefile:138: ошибка выполнения рецепта для цели «all»
make: *** [all] Ошибка 2
Help me please!
Reply
(2017-11-09, 22:34)danryu Wrote:
(2017-11-08, 00:07)mosterta Wrote: [i][i]Please use the latest version of the repository. There was an error in file config/optimze (first line)[/i][/i]

Thanks @mosterta -  I pulled again from branch and re-ran the build.
Got a failure here now. I'm confused how I've got this, as I assume I'm building with the same parameters as you ... 

Code:
make -f /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/linux-5ea667f/scripts/Makefile.modpost
  scripts/mod/modpost   -i /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/linux-5ea667f/Module.symvers -I /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/Module.symvers  -o /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/Module.symvers -S -w -c -s
WARNING: "wiphy_free" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_unlink_bss" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "ieee80211_frequency_to_channel" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_inform_bss_frame" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_rx_mgmt" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_del_sta" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_mgmt_tx_status" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "__ieee80211_get_channel" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_get_bss" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "wiphy_unregister" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_connect_result" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_michael_mic_failure" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "wiphy_apply_custom_regulatory" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_ibss_joined" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_roamed" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_put_bss" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "wiphy_new" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "wiphy_register" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_ready_on_channel" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_disconnected" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_new_sta" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_remain_on_channel_expired" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_scan_done" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
  /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/toolchain/bin/armv7ve-libreelec-linux-gnueabi-gcc -Wp,-MD,/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/.8812au.mod.o.d  -nostdinc -isystem /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/toolchain/lib/gcc/armv7ve-libreelec-linux-gnueabi/6.2.0/include -I/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/linux-5ea667f/arch/arm/include -Iarch/arm/include/generated -Iinclude  -include /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/linux-5ea667f/include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-sunxi/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -Wno-maybe-uninitialized -marm -fno-dwarf2-cfi-asm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -fno-ipa-sra -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -fno-ipa-sra -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -O1 -Wall -Werror=incompatible-pointer-types -Wno-unused-variable -Wno-unused-value -Wno-unused-label -Wno-unused-parameter -Wno-unused-function -Wno-unused -Wno-error=date-time -I/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/include -I/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/hal/phydm -I/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/platform -DCONFIG_RTL8812A -DCONFIG_RTL8821A -DCONFIG_MP_INCLUDED -DCONFIG_TRAFFIC_PROTECT -DCONFIG_LOAD_PHY_PARA_FROM_FILE -DREALTEK_CONFIG_PATH=\"\" -DCONFIG_RTW_ADAPTIVITY_EN=0 -DCONFIG_RTW_ADAPTIVITY_MODE=0 -DCONFIG_BR_EXT '-DCONFIG_BR_EXT_BRNAME="'br0'"' -DCONFIG_WIFI_MONITOR -DDM_ODM_SUPPORT_TYPE=0x04 -DCONFIG_LITTLE_ENDIAN -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(8812au.mod)"  -D"KBUILD_MODNAME=KBUILD_STR(8812au)" -DMODULE  -c -o /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.mod.o /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.mod.c
  /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/toolchain/bin/armv7ve-libreelec-linux-gnueabi-ld -EL -r  -T /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/linux-5ea667f/scripts/module-common.lds --build-id  -o /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.o /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.mod.o
make[2]: Leaving directory '/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/linux-5ea667f'
make[1]: Leaving directory '/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20'
mt7601u: no package.mk file found
Makefile:12: recipe for target 'image' failed
make: *** [image] Error 1
 

Hi @mosterta

Wondering if you're still working on this, and if so if there's any more help you can provide on this build.
As shown above, I'm guessing you might have some uncommitted files in your build directory? I've done a completely fresh checkout of the libreelec-8.0_allwinner branch, and hit the above error as before.
Would appreciate if you could indicate whether there's a fix for this or not.
Reply
(2017-12-05, 23:44)danryu Wrote:
(2017-11-09, 22:34)danryu Wrote:
(2017-11-08, 00:07)mosterta Wrote: [i][i]Please use the latest version of the repository. There was an error in file config/optimze (first line)[/i][/i]

Thanks @mosterta -  I pulled again from branch and re-ran the build.
Got a failure here now. I'm confused how I've got this, as I assume I'm building with the same parameters as you ... 

Code:
make -f /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/linux-5ea667f/scripts/Makefile.modpost
  scripts/mod/modpost   -i /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/linux-5ea667f/Module.symvers -I /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/Module.symvers  -o /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/Module.symvers -S -w -c -s
WARNING: "wiphy_free" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_unlink_bss" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "ieee80211_frequency_to_channel" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_inform_bss_frame" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_rx_mgmt" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_del_sta" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_mgmt_tx_status" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "__ieee80211_get_channel" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_get_bss" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "wiphy_unregister" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_connect_result" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_michael_mic_failure" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "wiphy_apply_custom_regulatory" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_ibss_joined" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_roamed" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_put_bss" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "wiphy_new" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "wiphy_register" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_ready_on_channel" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_disconnected" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_new_sta" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_remain_on_channel_expired" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
WARNING: "cfg80211_scan_done" [/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko] undefined!
  /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/toolchain/bin/armv7ve-libreelec-linux-gnueabi-gcc -Wp,-MD,/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/.8812au.mod.o.d  -nostdinc -isystem /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/toolchain/lib/gcc/armv7ve-libreelec-linux-gnueabi/6.2.0/include -I/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/linux-5ea667f/arch/arm/include -Iarch/arm/include/generated -Iinclude  -include /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/linux-5ea667f/include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-sunxi/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -Wno-maybe-uninitialized -marm -fno-dwarf2-cfi-asm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -fno-ipa-sra -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -fno-ipa-sra -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -O1 -Wall -Werror=incompatible-pointer-types -Wno-unused-variable -Wno-unused-value -Wno-unused-label -Wno-unused-parameter -Wno-unused-function -Wno-unused -Wno-error=date-time -I/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/include -I/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/hal/phydm -I/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/platform -DCONFIG_RTL8812A -DCONFIG_RTL8821A -DCONFIG_MP_INCLUDED -DCONFIG_TRAFFIC_PROTECT -DCONFIG_LOAD_PHY_PARA_FROM_FILE -DREALTEK_CONFIG_PATH=\"\" -DCONFIG_RTW_ADAPTIVITY_EN=0 -DCONFIG_RTW_ADAPTIVITY_MODE=0 -DCONFIG_BR_EXT '-DCONFIG_BR_EXT_BRNAME="'br0'"' -DCONFIG_WIFI_MONITOR -DDM_ODM_SUPPORT_TYPE=0x04 -DCONFIG_LITTLE_ENDIAN -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(8812au.mod)"  -D"KBUILD_MODNAME=KBUILD_STR(8812au)" -DMODULE  -c -o /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.mod.o /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.mod.c
  /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/toolchain/bin/armv7ve-libreelec-linux-gnueabi-ld -EL -r  -T /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/linux-5ea667f/scripts/module-common.lds --build-id  -o /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.ko /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.o /hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20/8812au.mod.o
make[2]: Leaving directory '/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/linux-5ea667f'
make[1]: Leaving directory '/hd/kodi_build/LibreELEC.tv/build.LibreELEC-H3.arm-8.0-devel/RTL8812AU-4.3.20'
mt7601u: no package.mk file found
Makefile:12: recipe for target 'image' failed
make: *** [image] Error 1
 

Hi @mosterta

Wondering if you're still working on this, and if so if there's any more help you can provide on this build.
As shown above, I'm guessing you might have some uncommitted files in your build directory? I've done a completely fresh checkout of the libreelec-8.0_allwinner branch, and hit the above error as before.
Would appreciate if you could indicate whether there's a fix for this or not. 
 @mosterta @danryu 
Hi, I've been trying several times to setup kodi on my cubieboard2, without success.. I would be very grateful for sharing built *.iso if possible.. Best regards!
Reply
Somebody re-upload an OpenElec (OpenELEC-A20.Cubietruck.arm-6.0.3-A20.img.gz) image for cubietruck, try this link: https://yadi.sk/d/2pshHXM53GGFaP
Reply
i tried this build but it has some issues with networking, cubie2 won't accept configuration via DHCP nor static, so it is useless for network mediaplayer

Or i made some mistake
Reply
(2016-01-16, 20:09)mosterta Wrote:
(2016-01-16, 17:40)tom81 Wrote: Hi there,

I am trying to compile your Kodi version, but I think that some files are missing. Configure is fine, but make says:
Code:
Makefile:2: tools/a10/depends/depends.mk: No such file or directory
make: *** No rule to make target 'tools/a10/depends/depends.mk'. Stop.

The tools/a10 directory doesn't exist in your source tree, can I just copy it from rellla's xbmca10 tree?

Thanks
tom 

Hi Tom,
you can just copy the file from rellla's tree, that should fix the issue in the simple way. But actually I think that this include is not required anymore. It is just a relict from rellla's tree, which was the base when I started.
I will check whether I just can remove the include to this file

Regards,
mosterta 

Hi mosterta:

After weeks of fixing code, I finally got xbmc ./configure working. But when I try to  make, it still gives the same error, tools/a10 depend. Did you have a chance to fix the code. I downloaded xbmc per 1st page on this thread. Thanks.
Reply
(2019-07-17, 08:05)bob_janes Wrote:
(2016-01-16, 20:09)mosterta Wrote:
(2016-01-16, 17:40)tom81 Wrote: Hi there,

I am trying to compile your Kodi version, but I think that some files are missing. Configure is fine, but make says:
Code:
Makefile:2: tools/a10/depends/depends.mk: No such file or directory
make: *** No rule to make target 'tools/a10/depends/depends.mk'. Stop.

The tools/a10 directory doesn't exist in your source tree, can I just copy it from rellla's xbmca10 tree?

Thanks
tom  

Hi Tom,
you can just copy the file from rellla's tree, that should fix the issue in the simple way. But actually I think that this include is not required anymore. It is just a relict from rellla's tree, which was the base when I started.
I will check whether I just can remove the include to this file

Regards,
mosterta  

Hi mosterta:

After weeks of fixing code, I finally got xbmc ./configure working. But when I try to  make, it still gives the same error, tools/a10 depend. Did you have a chance to fix the code. I downloaded xbmc per 1st page on this thread. Thanks. 
Ok, good news. With all the input from this thread, I am finally able to compile and run kodi on bananapro (using Tom's xbmc code).  mpeg2 dvd rips work very well. Although I have to use audio out from analog, since hdmi does not seem to have any audio. I have couple of questions.

1) mpeg2 video with ac3 audio play really well. cpu use is less than 50% so hardware acceleration of sunxi driver seems to be working. However when i press "o" screen shows quite a few drops and skips. Is that normal. I do not see any impact in the quality of video though.
2) m2ts files with DTS-HD audio play really jerky, cpu is 100% utilization. So there is no hardware acceleration. Is that expected, or I missed somthing in compiling ffmeg  from Tom's xbmc repository?
3) Is there some way to get hdmi audio?

Thanks. Great work by mosterta and tnmeyer.
Reply
You really should give libreelec a try. Check the github repository and forums...
This thread and version of Allwinner Kodi implementation is VERY outdated. Libreelec uses the open source cedrus video decoding engine and mali binary drivers (for now).
As soon as lima/panfrost is feature-complete enough to rund kodi, i think they will jump over to lima and you have a completly open source kodi platform.
I don't know though, if any libreelec effort have been backmerged into mainline kodi.
rellla
Reply
  • 1
  • 19
  • 20
  • 21
  • 22
  • 23(current)

Logout Mark Read Team Forum Stats Members Help
hardware acceleration on allwinner A10/A20 with vdpau and OpenGLES (zero-copy)2