LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-30-2015, 04:14 PM   #1
pcninja
Member
 
Registered: Oct 2013
Location: SE Wisconsin, USA
Distribution: Arch Linux
Posts: 93

Rep: Reputation: Disabled
Kodi 15.1 fails to build


I am trying to compile Kodi 15.1 using the slackbuild on slackbuilds.org.

I have all the dependencies required installed, but it fails to build. In the terminal window, it says that java isn't installed when in reality it is.

EDIT: My slackware version is 14.1

Last edited by pcninja; 09-30-2015 at 04:24 PM.
 
Old 09-30-2015, 06:45 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
Have you logged out and relogin after installing jdk?
Did you use su - instead of just su?
 
Old 10-01-2015, 07:45 AM   #3
pcninja
Member
 
Registered: Oct 2013
Location: SE Wisconsin, USA
Distribution: Arch Linux
Posts: 93

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by willysr View Post
Have you logged out and relogin after installing jdk?
Did you use su - instead of just su?
1) No, but I think I did shut it down.

2) No. What is the difference between the two?
 
Old 10-01-2015, 08:23 AM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
How did you install Java? Did you isntall the JDK or JRE? Where does it error out (during the ./configure or the make process)? Is the error message more specific?
 
Old 10-01-2015, 10:07 AM   #5
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
if you install openjdk from alienbob openjdk or jdk from slackware extra you need to reboot the machine is the easiest to get it to recognize JDK development environment.
 
Old 10-01-2015, 11:39 AM   #6
pcninja
Member
 
Registered: Oct 2013
Location: SE Wisconsin, USA
Distribution: Arch Linux
Posts: 93

Original Poster
Rep: Reputation: Disabled
I used the JDK slackbuild from slackbuild. Anyways the error I got before is gone, but I have a new one.

Code:
LD      kodi.bin
xbmc/filesystem/filesystem.a(FileCache.o): In function `XFILE::CFileCache::GetLength()':
FileCache.cpp:(.text+0x174): undefined reference to `__atomic_load_8'
xbmc/filesystem/filesystem.a(FileCache.o): In function `XFILE::CFileCache::Seek(long long, int)':
FileCache.cpp:(.text+0xfd4): undefined reference to `__atomic_load_8'
FileCache.cpp:(.text+0x121a): undefined reference to `__atomic_load_8'
xbmc/filesystem/filesystem.a(FileCache.o): In function `XFILE::CFileCache::Open(CURL const&)':
FileCache.cpp:(.text+0x1515): undefined reference to `__atomic_store_8'
xbmc/filesystem/filesystem.a(FileCache.o): In function `XFILE::CFileCache::Process()':
FileCache.cpp:(.text+0x17c0): undefined reference to `__atomic_store_8'
FileCache.cpp:(.text+0x211d): undefined reference to `__atomic_load_8'
collect2: error: ld returned 1 exit status
make: *** [kodi.bin] Error 1
 
Old 10-01-2015, 12:05 PM   #7
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
you need to change the march=i486 to march=i586
 
1 members found this post helpful.
Old 10-01-2015, 01:57 PM   #8
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 305

Rep: Reputation: 80
Quote:
Originally Posted by pcninja View Post
I used the JDK slackbuild from slackbuild. Anyways the error I got before is gone, but I have a new one.

Code:
LD      kodi.bin
xbmc/filesystem/filesystem.a(FileCache.o): In function `XFILE::CFileCache::GetLength()':
FileCache.cpp:(.text+0x174): undefined reference to `__atomic_load_8'
xbmc/filesystem/filesystem.a(FileCache.o): In function `XFILE::CFileCache::Seek(long long, int)':
FileCache.cpp:(.text+0xfd4): undefined reference to `__atomic_load_8'
FileCache.cpp:(.text+0x121a): undefined reference to `__atomic_load_8'
xbmc/filesystem/filesystem.a(FileCache.o): In function `XFILE::CFileCache::Open(CURL const&)':
FileCache.cpp:(.text+0x1515): undefined reference to `__atomic_store_8'
xbmc/filesystem/filesystem.a(FileCache.o): In function `XFILE::CFileCache::Process()':
FileCache.cpp:(.text+0x17c0): undefined reference to `__atomic_store_8'
FileCache.cpp:(.text+0x211d): undefined reference to `__atomic_load_8'
collect2: error: ld returned 1 exit status
make: *** [kodi.bin] Error 1
Quote:
Originally Posted by willysr View Post
you need to change the march=i486 to march=i586
Yeah, that would work or I've also seen adding
Code:
LDFLAGS="-latomic"
to configure also fixes the i486 build issue. Not sure if this is a proper fix for i486?!?!
 
Old 10-01-2015, 04:08 PM   #9
pcninja
Member
 
Registered: Oct 2013
Location: SE Wisconsin, USA
Distribution: Arch Linux
Posts: 93

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by willysr View Post
you need to change the march=i486 to march=i586
Thanks you, this helped!
 
Old 10-01-2015, 09:54 PM   #10
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
fixed in my branch

Thanks
 
  


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
[SOLVED] Kodi build from SlackBuilds.org very slow bifferos Slackware 6 08-18-2015 06:48 AM
[SOLVED] Gcompris build fails 2handband Slackware 5 11-27-2010 06:22 PM
[SOLVED] easystroke 0.5.3 build fails imitis Slackware 7 06-23-2010 08:42 AM
self build rpm fails with missing dependencies on build host zhjim Linux - Software 1 09-24-2009 08:47 AM
Build Fails - Arguments? tronayne Amigo 2 02-10-2008 01:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:44 PM.

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