FYI If you want to save a bit of compile time you can chroot into your arm root filesystem from an x86 pc using qemu. If you have enough memory available you could also modify the makefile to add –j8 (or however many cpu cores you have) to make it go faster. I tried cross compiling xbmc on ubuntu x86_64 14.4 but I was having all sorts of trouble. Perhaps if I tried it on an older 32 bit version it might work better.
Paul. From: [email protected] [mailto:[email protected]] On Behalf Of Simo Xefil Sent: Friday, 4 July 2014 6:58 PM To: [email protected] Cc: [email protected] Subject: Re: [linux-sunxi] fatal error: libcedarv.h: No such file or directory Yess, I've compiled it directly on the device (sooooo long time ;)) Here the location of the file: root@lemaker:~# find / -name "libGLESv2.so" /data/software/xbmc-install/xbmca10/tools/a10/depends/opengles/sunxi-mali/lib/mali/r2p4/armel/framebuffer/libGLESv2.so Also it's in the sunxi-mali deps it has downloaded. If I try to compile it manually: make install make -f Makefile.config ABI="armhf" (Detected) Error: Failed to open /dev/mali: No such file or directory VERSION="" (Detected) Error: Failed to open /dev/mali: No such file or directory Error: Failed to open /dev/mali: No such file or directory Error: Failed to open /dev/mali: No such file or directory Error: Failed to open /dev/mali: No such file or directory Error: Failed to open /dev/mali: No such file or directory make[1]: Entering directory `/data/software/xbmc-install/xbmca10/tools/a10/depends/opengles/sunxi-mali' Makefile.config:57: Unknown/unhandled Mali Version "" Makefile.config:58: Use VERSION=(r2p4,r3p0,r3p1,r3p2-01rel1) instead Error: Failed to open /dev/mali: No such file or directory Makefile.config:59: *** Unknown/unhandled Mali Version "". Stop. make[1]: Leaving directory `/data/software/xbmc-install/xbmca10/tools/a10/depends/opengles/sunxi-mali' make: *** [config.mk] Error 2 It doesn't find /dev/mali, because it's not present. Modules loaded: Module Size Used by rfcomm 58154 0 bnep 14285 2 bluetooth 263337 10 bnep,rfcomm dm_crypt 16196 0 8192cu 453451 0 mali_drm 2616 0 drm 208898 1 mali_drm ump 52441 0 lcd 3802 0 The OS (kernel + modules) is provided by Banana-pi itself. Have no idea where to continue :( Thanks, Simon Il giorno venerdì 4 luglio 2014 10:36:48 UTC+2, Andreas Baierl ha scritto: "find / -name "libGLESv2.so" Seems you are missing the mali binaries, or something messed up while making opengles dependencies. Or maybe your paths are wrong. I assume, you are compiling directly on the device? Regards Am 04.07.2014 10:23, schrieb Simo Xefil: Hello! Thank you, now, after 6 hours of compiling, and solving some problems, I was able to end the installation. The actual issue is, the binary cannot start: root@lemaker:/allwinner/xbmc-pvr-binhf/bin# ./xbmc /allwinner/xbmc-pvr-binhf/lib/xbmc/xbmc.bin: error while loading shared libraries: libGLESv2.so: cannot open shared object file: No such file or directory Any suggestion? Again, thank you! Simon -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<javascript:>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
