LinuxQuestions.org
Review your favorite Linux distribution.
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-12-2012, 12:39 PM   #1
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
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
Member
 
Registered: Jul 2007
Posts: 199

Rep: Reputation: Disabled
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
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
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
Member
 
Registered: Jan 2004
Location: Bulgaria
Distribution: Slackware64-current
Posts: 94

Rep: Reputation: Disabled
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
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
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: 411

Rep: Reputation: 181Reputation: 181
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
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
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



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

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

All times are GMT -5. The time now is 10:26 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