SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
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.
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
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
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?!?!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.