LinuxQuestions.org
Register a domain and help support LQ
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-12-2012, 12:39 PM   #1
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 817

Rep: Reputation: 104Reputation: 104
Question Supertuxkart and Slackware 14


Greetings!

With the impending release of Slackware 14, I've been trying to rebuild a few packages. One of those is supertuxkart. The build process is getting stuck at a particular point with the following error:

Code:
/usr/lib/gcc/i486-slackware-linux/4.7.1/../../../../i486-slackware-linux/bin/ld: note: 'pthread_join@@GLIBC_2.0' is defined in DSO /lib/libpthread.so.0 so try adding it to the linker command line
/lib/libpthread.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [supertuxkart] Error 1
make[2]: Leaving directory `/tmp/SBo/supertuxkart-0.7.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/supertuxkart-0.7.3/src'
make: *** [all-recursive] Error 1
I have already modified the SlackBuild to use the following flag:
Code:
-lpthread
to no avail.

Anyone else has any suggestions? I'm totally stumped.
 
Old 09-12-2012, 01:09 PM   #2
DarkVision
LQ Newbie
 
Registered: Jul 2007
Posts: 27

Rep: Reputation: 1
Have a look here:
ArchLinux SuperTuxKart

They added -lpthread -lm and -ldl to the CXXFlags, maybe that will fix it on S14 too.
 
Old 09-12-2012, 01:32 PM   #3
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 817

Original Poster
Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by DarkVision View Post
Have a look here:
ArchLinux SuperTuxKart

They added -lpthread -lm and -ldl to the CXXFlags, maybe that will fix it on S14 too.
Thanks for the info. I tried that combination, and it still didn't work. I did download the svn version of STK, and it compiles. However, it crashes right on start up.
 
Old 09-12-2012, 05:33 PM   #4
ppencho
LQ Newbie
 
Registered: Jan 2004
Location: Bulgaria
Distribution: Slackware64-current
Posts: 25

Rep: Reputation: 3
Supertuxkart compiles and runs fine on 14RC4++ (I only added -lpthread).

Maybe you should recompile irrlicht. I had to remove --no-export-all-symbols and --add-stdcall-alias from its Makefile for a successful compilation.
 
Old 09-12-2012, 05:51 PM   #5
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 817

Original Poster
Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by ppencho View Post
Supertuxkart compiles and runs fine on 14RC4++ (I only added -lpthread).

Maybe you should recompile irrlicht. I had to remove --no-export-all-symbols and --add-stdcall-alias from its Makefile for a successful compilation.
You had to remove those arguments from irrlicht or stk?

I was able to compile the latest irrlicht from svn fine. Maybe I need to try the one currently listen on the SBo site with the changes that you mentioned.

Last edited by stormtracknole; 09-12-2012 at 05:53 PM.
 
Old 09-12-2012, 06:27 PM   #6
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 184

Rep: Reputation: 55
Supertuxkart SVN runs very stable. Plus it features a new story mode and improved tracks.

I made Slackbuilds for Irrlicht SVN and STK SVN here:

http://schmatzler.de/my_slackbuilds
 
1 members found this post helpful.
Old 09-12-2012, 09:39 PM   #7
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 817

Original Poster
Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by schmatzler View Post
Supertuxkart SVN runs very stable. Plus it features a new story mode and improved tracks.

I made Slackbuilds for Irrlicht SVN and STK SVN here:

http://schmatzler.de/my_slackbuilds
Thank you for your slackbuilds. I didn't know that you can now build supertuxkart using cmake. Anyway, even after using your SBo, stk would seg fault at start up. Then, I started noticing a few things crashing, then realized that my root filesystem was actually full. :-/ I've been building too many things. Anyhow, took care of that problem and now everything works great! Thank you for your help!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
SuperTuxKart 0.7.2 xeno74 Linux - Games 0 07-17-2011 08:06 AM
Gamepad with SuperTuxKart matiasar Linux - Games 2 04-06-2010 07:16 AM
Supertuxkart graphical problems sonicboy Ubuntu 1 02-01-2010 02:04 PM
SuperTuxKart addons anywhere? roystonlodge Linux - Games 0 12-21-2008 02:25 PM
Supertuxkart: OpenGL problem NanakiXIII Linux - Games 6 05-30-2008 10:41 AM


All times are GMT -5. The time now is 08:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration