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.
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.
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.
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.
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.