LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-30-2016, 09:46 AM   #1
tb404
LQ Newbie
 
Registered: May 2016
Distribution: Slackware-14.2
Posts: 25

Rep: Reputation: Disabled
Raspberry PI 3 + Slackware 14.2 Arm + Kodi


I have installed Slackware 14.2 Arm on my Raspberry PI3 using this:

http://rpi.fatdog.eu/

It installed properly and i have updated the firmware with rpi-update

I have installed all required Kodi deps and I am trying to build this slackbuild on it:

http://slackware.uk/slaxbmc/14.2/sla...xbcrpi23/xbmc/

I changed --with-platform=raspberry-pi to --with-platform=raspberry-pi2
otherwise it wouldn't compile.

However, for some reason the compile keeps on stopping here:

/tmp/xbmc-16.1/xbmc/cores/dvdplayer/DVDPlayer.h:73:3: error: 'OMXClock' does not name a type
OMXClock av_clock; // openmax clock component
^
/tmp/xbmc-16.1/Makefile.include:97: recipe for target 'PlayerCoreFactory.o' failed
make[1]: *** [PlayerCoreFactory.o] Error 1
Makefile:420: recipe for target 'xbmc/cores/playercorefactory/playercorefactory.a' failed
make: *** [xbmc/cores/playercorefactory/playercorefactory.a] Error 2
make: *** Waiting for unfinished jobs...
 
Old 12-30-2016, 05:37 PM   #2
Ratamahatta
Member
 
Registered: Feb 2012
Location: Germany
Distribution: siduction
Posts: 134

Rep: Reputation: 17
Looks like for some reason OMXClock.h is not listed under in includes in the makefile. No idea why, though.

Another thing: You changed
Code:
--with-platform=raspberry-pi
to
Code:
--with-platform=raspberry-pi2
. - Do you think it might be
Code:
--with-platform=raspberry-pi3
for a RasbPi3?
 
Old 01-22-2017, 03:00 PM   #3
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 501

Rep: Reputation: 45
Quote:
Originally Posted by tb404 View Post
I have installed all required Kodi deps
Did you use the ones here: http://slackware.uk/slaxbmc/14.2/sla...ware/xbcrpi23/ ?
That's what I did, but the pre-built Kodi package there didn't work; it said kodi.bin doesn't exist, when it really does! Even executing kodi.bin directly gives the same error!

I also tried building the
Quote:
Originally Posted by tb404 View Post
Slackbuild you used, too, but it kept running into an error about how Java wasn't found, despite my having installed the JDK in the aforementioned slackware.uk xbcrpi23 directory. I also used the Kodi Slackbuild in Sbopkg, but it ran into the same Java-not-found problem, too.

I'm also using SARPi on a RaspΠ 3.
 
Old 01-22-2017, 03:05 PM   #4
tb404
LQ Newbie
 
Registered: May 2016
Distribution: Slackware-14.2
Posts: 25

Original Poster
Rep: Reputation: Disabled
you need to make sure you can execute java from the command line, it depends on what version of java you have installed, on one of my boxes i have to:
source /etc/profile.d/jdk.sh then java is available on the command line!

I gave up trying to install Kodi on Slackware ARM, might come back to it sometime..

Last edited by tb404; 01-22-2017 at 03:11 PM.
 
Old 01-23-2017, 09:40 AM   #5
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 501

Rep: Reputation: 45
Quote:
Originally Posted by tb404 View Post
I gave up trying to install Kodi on Slackware ARM, might come back to it sometime..
I ended up using the http://slackware.uk/slaxbmc/14.2/sla...-developer.img image, and it worked flawlessly.

Last edited by Geremia; 01-23-2017 at 10:56 AM.
 
Old 01-23-2017, 12:05 PM   #6
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 501

Rep: Reputation: 45
Quote:
Originally Posted by Geremia View Post
the pre-built Kodi package there didn't work; it said kodi.bin doesn't exist, when it really does! Even executing kodi.bin directly gives the same error!
The issue is that the Kodi bins there use ld-linux, not the hardware floating point ld-linux-armhf that SARPi uses.
 
Old 01-23-2017, 12:08 PM   #7
tb404
LQ Newbie
 
Registered: May 2016
Distribution: Slackware-14.2
Posts: 25

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Geremia View Post
I ended up using the http://slackware.uk/slaxbmc/14.2/sla...-developer.img image, and it worked flawlessly.
Thats good to know, did you manage to get it working on Slackware ARM only?

Last edited by tb404; 01-23-2017 at 12:09 PM.
 
Old 01-23-2017, 04:18 PM   #8
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 501

Rep: Reputation: 45
Quote:
Originally Posted by tb404 View Post
Thats good to know, did you manage to get it working on Slackware ARM only?
That image is SlaXBMC, a Slackware variant designed to run Kodi/XBMC. It's nice that it's Slackware, but it's only 14.2 (released last Sept.) and not -current, so it doesn't use the hardware FPU of RPi 3`s.
 
Old 01-26-2017, 09:38 AM   #9
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 501

Rep: Reputation: 45
Kodi 17.0rc4-Krypton on a SARPi RaspΠ 3!

Quote:
Originally Posted by tb404 View Post
did you manage to get it working on Slackware ARM only?
I finally got Kodi to compile on a hard-floating point SARPi (slack-current) for RaspΠ 3`s! I used sbopkg to build the dependencies listed here: jdk, libass, libmicrohttpd, libmpeg2, tinyxml, crossguid, dcadec, yajl, ffmpeg

Last edited by Geremia; 01-30-2017 at 03:18 PM.
 
Old 01-27-2017, 03:11 PM   #10
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 501

Rep: Reputation: 45
cf. also this: https://github.com/xbmc/xbmc/tree/ma...ME.raspberrypi
 
Old 01-31-2017, 12:44 PM   #11
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 501

Rep: Reputation: 45
Quote:
Originally Posted by tb404
Code:
/tmp/xbmc-16.1/xbmc/cores/dvdplayer/DVDPlayer.h:73:3: error: 'OMXClock' does not name a type
OMXClock av_clock; // openmax clock component
^
I was able to get it working this way:
Code:
./bootstrap

autoreconf -if

SLKCFLAGS="-O2 -pipe -mfpu=neon-vfpv4 -lGLESv2 -mfloat-abi=hard"
SLKINCFLAGS="/opt/vc/include:/opt/vc/include/interface/vcos:/opt/vc/include/interface/vcos/pthreads"

CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
C_INCLUDE_PATH="$SLKINCFLAGS" \
./configure --prefix=/usr --libdir=/usr/lib --localstatedir=/var --sysconfdir=/etc --mandir=/usr/man --infodir=/usr/info --with-platform=raspberry-pi2 --enable-gles --disable-x11  --disable-joystick --disable-vdpau --disable-vaapi --disable-gl --enable-alsa --enable-pulse --build=armv7l-slackware-linux --with-ffmpeg=shared --enable-player=omxplayer

make -j4

Last edited by Geremia; 02-01-2017 at 10:05 AM.
 
Old 02-01-2017, 04:56 PM   #12
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 501

Rep: Reputation: 45
Have you tried CMake with 17.0 (Krypton release)?

I build it with no problems with:
Code:
mkdir kodi-build && cd kodi-build
cmake ../xbmc-17.0-Krypton/project/cmake/ -DENABLE_OPENGL=OFF -DENABLE_X11=OFF -DENABLE_VAAPI=OFF -DENABLE_VDPAU=OFF -DENABLE_SDL=OFF
make VERBOSE=1 -j4
(4 = # core on the Pi.)

Last edited by Geremia; 02-01-2017 at 10:25 PM.
 
Old 02-01-2017, 04:58 PM   #13
tb404
LQ Newbie
 
Registered: May 2016
Distribution: Slackware-14.2
Posts: 25

Original Poster
Rep: Reputation: Disabled
awesome thanks for the info, will try again at some point :-)
 
Old 02-01-2017, 07:24 PM   #14
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 501

Rep: Reputation: 45
Wink

Quote:
Originally Posted by tb404 View Post
awesome thanks for the info, will try again at some point :-)
Yes, 17.0-Krypton was just released 7 hours ago.

I had to increase my GPU memory in /mnt/config.txt (or /boot/config.txt) to 256 MB, which is recommended for Kodi on Pi 2/3s:
Quote:
gpu_mem=256

Last edited by Geremia; 02-01-2017 at 08:03 PM.
 
1 members found this post helpful.
Old 02-03-2017, 09:29 PM   #15
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 501

Rep: Reputation: 45
I was successfully able to build with:
Code:
cmake ../xbmc-17.0-Krypton/project/cmake/ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib -DCMAKE_PREFIX_PATH=/opt/vc -DCORE_SYSTEM_NAME=rbpi -DCPU=cortex-a7 -DWITH_ARCH=arm -DENABLE_OPENGL=OFF -DENABLE_X11=OFF -DENABLE_VAAPI=OFF -DENABLE_VDPAU=OFF
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Sabayon ARM 16.06 Linux Gets Kodi-Based Media Center Edition for Raspberry Pi 3 LXer Syndicated Linux News 0 05-29-2016 05:33 PM
Slackware ARM on a Raspberry Pi 2 Exaga Slackware - ARM 28 05-06-2015 06:42 AM
Slackware ARM 14.1 on a Raspberry Pi Exaga Slackware - Installation 2 11-17-2013 08:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration