LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Supertuxkart and Slackware 14 (https://www.linuxquestions.org/questions/slackware-14/supertuxkart-and-slackware-14-a-4175426915/)

stormtracknole 09-12-2012 12:39 PM

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.

DarkVision 09-12-2012 01:09 PM

Have a look here:
ArchLinux SuperTuxKart

They added -lpthread -lm and -ldl to the CXXFlags, maybe that will fix it on S14 too.

stormtracknole 09-12-2012 01:32 PM

Quote:

Originally Posted by DarkVision (Post 4778721)
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. :(

ppencho 09-12-2012 05:33 PM

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.

stormtracknole 09-12-2012 05:51 PM

Quote:

Originally Posted by ppencho (Post 4778907)
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.

schmatzler 09-12-2012 06:27 PM

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

stormtracknole 09-12-2012 09:39 PM

Quote:

Originally Posted by schmatzler (Post 4778933)
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! :)


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