v16 v16.1-Jarvis[FromGIT] running on bananian on banana pro[LeMaker.org]
#16
Got a compile error, but the build didn't die yet:
Quote:./gpg-error.h.in:437: error including `./syscfg/lock-obj-pub.linux-gnueabihf.h': No such file or directory
Makefile:1338: recipe for target 'gpg-error.h' failed
make[5]: *** [gpg-error.h] Error 1
make[5]: Leaving directory '/root/git/kodi/tools/depends/target/libgpg-error/armv7l-linux-gnueabihf-debug/src'
more info to follow
Reply
#17
I copied
sh:
target/libgpg-error/armv7l-linux-gnueabihf-debug/src/syscfg/lock-obj-pub.unknown-linux-gnueabihf.h 
to
sh:
target/libgpg-error/armv7l-linux-gnueabihf-debug/src/syscfg/lock-obj-pub.linux-gnueabihf.h 
and deleted 
sh:
target/libgpg-error/armv7l-linux-gnueabihf-debug/src/gpg-error.h
and resumed the build.

Seemed to get past that error.
Reply
#18
Six hours later and depends is built.  Kicking off cmake of Kodi now.

Only 1:22 in and I get this
sh:
CMake Error at /opt/xbmc-depends/armv7l-linux-gnueabihf-native/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find Java (missing: Java_JAVA_EXECUTABLE Runtime)
Call Stack (most recent call first):
  /opt/xbmc-depends/armv7l-linux-gnueabihf-native/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
  /opt/xbmc-depends/armv7l-linux-gnueabihf-native/share/cmake-3.9/Modules/FindJava.cmake:243 (find_package_handle_standard_args)
  xbmc/interfaces/swig/CMakeLists.txt:23 (find_package)


-- Configuring incomplete, errors occurred!
See also "/root/git/kodi/build/CMakeFiles/CMakeOutput.log".
See also "/root/git/kodi/build/CMakeFiles/CMakeError.log".
Makefile:20: recipe for target 'all' failed
make: *** [all] Error 1
make: Leaving directory '/root/git/kodi/tools/depends/target/cmakebuildsys'

Nothing that a little apt-get install default-jdk shouldn't fix.
Reply
#19
Well 2 1/2 hours in I got another error:

Code:

Scanning dependencies of target playlists
[ 48%] Building CXX object build/playlists/CMakeFiles/playlists.dir/PlayListB4S.cpp.o
...
[ 48%] Building CXX object build/guilib/CMakeFiles/guilib.dir/MatrixGLES.cpp.o
/tmp/cc6J7Ewd.s: Assembler messages:
/tmp/cc6J7Ewd.s:792: Error: VFP single precision register expected -- `vldmia r0,{ q8-q11 }'

/tmp/cc6J7Ewd.s:793: Error: selected FPU does not support instruction -- `vmul.f32 q0,q8,d8[0]'
...
/tmp/cc6J7Ewd.s:808: Error: selected FPU does not support instruction -- `vmla.f32 q3,q11,d15[1]'

[ 48%] Building CXX object build/playlists/CMakeFiles/playlists.dir/PlayListM3U.cpp.o
build/guilib/CMakeFiles/guilib.dir/build.make:1838: recipe for target 'build/guilib/CMakeFiles/guilib.dir/MatrixGLES.cpp.o' failed
make[2]: *** [build/guilib/CMakeFiles/guilib.dir/MatrixGLES.cpp.o] Error 1
CMakeFiles/Makefile2:5940: recipe for target 'build/guilib/CMakeFiles/guilib.dir/all' failed
make[1]: *** [build/guilib/CMakeFiles/guilib.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

I'll have to look this up later today.
Reply
#20
I think this will fix it (after several tries):

In CMakeLists.txt

after
sh:
 project(kodi LANGUAGES CXX C ASM)

add
sh:
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mcpu=cortex-a7 -mtune=cortex-a7 -mfpu=neon-vfpv4 -march=armv7ve -mfloat-abi=hard")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mcpu=cortex-a7 -mtune=cortex-a7 -mfpu=neon-vfpv4 -march=armv7ve -mfloat-abi=hard")

This turns on NEON support in gcc which is required.
Reply
#21
I'm stuck here now after 4 hours of compile:

sh:

/root/git/kodi/xbmc/windowing/X11/GLContextEGL.cpp: In member function ‘virtual bool CGLContextEGL::Refresh(bool, int, Window, bool&)’:
/root/git/kodi/xbmc/windowing/X11/GLContextEGL.cpp:58:86: error: invalid conversion from ‘Window {aka long unsigned int}’ to ‘EGLNativeWindowType {aka mali_native_window*}’ [-fpermissive]
       m_eglSurface = eglCreateWindowSurface(m_eglDisplay, m_eglConfig, glWindow, NULL);
                                                                                      ^
In file included from /root/git/kodi/xbmc/windowing/X11/GLContextEGL.h:24:0,
                 from /root/git/kodi/xbmc/windowing/X11/GLContextEGL.cpp:32:
/usr/include/EGL/egl.h:265:31: note: initializing argument 3 of ‘void* eglCreateWindowSurface(EGLDisplay, EGLConfig, EGLNativeWindowType, const EGLint*)’
 EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config,
                               ^
/root/git/kodi/xbmc/windowing/X11/GLContextEGL.cpp:169:86: error: invalid conversion from ‘Window {aka long unsigned int}’ to ‘EGLNativeWindowType {aka mali_native_window*}’ [-fpermissive]
       m_eglSurface = eglCreateWindowSurface(m_eglDisplay, m_eglConfig, glWindow, NULL);
                                                                                      ^
In file included from /root/git/kodi/xbmc/windowing/X11/GLContextEGL.h:24:0,
                 from /root/git/kodi/xbmc/windowing/X11/GLContextEGL.cpp:32:
/usr/include/EGL/egl.h:265:31: note: initializing argument 3 of ‘void* eglCreateWindowSurface(EGLDisplay, EGLConfig, EGLNativeWindowType, const EGLint*)’
 EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config,
                               ^
build/windowing/X11/CMakeFiles/windowing_X11.dir/build.make:62: recipe for target 'build/windowing/X11/CMakeFiles/windowing_X11.dir/GLContextEGL.cpp.o' failed
make[2]: *** [build/windowing/X11/CMakeFiles/windowing_X11.dir/GLContextEGL.cpp.o] Error 1
CMakeFiles/Makefile2:9551: recipe for target 'build/windowing/X11/CMakeFiles/windowing_X11.dir/all' failed
make[1]: *** [build/windowing/X11/CMakeFiles/windowing_X11.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

I'll continue searching around for answers, but nothing obvious is coming up on google searches.
Reply
#22
Enter the ugly hack!

I just cast it to (EGLNativeWindowType) to get the compile to go again. I may regret this, but I cannot find the proper solution at this time.
Reply
#23
Build finished.  make install completed

/opt/xbmc-depends/arm-linux-gnueabihf-debug/bin/kodi

get splash screen and crash

apt-get install alsa-utils

get splash screen and crash

libGL error: MESA-LOADER: malformed or no PCI ID
libGL error: unable to load driver: mali_drm_dri.so
libGL error: driver pointer missing
libGL error: unable to load driver: mali_drm
..
Reply

Logout Mark Read Team Forum Stats Members Help
v16.1-Jarvis[FromGIT] running on bananian on banana pro[LeMaker.org]0