Help - Search - Members - Calendar
Full Version: Cannot find -lpthread
OESF Portables Forum > Everything Else > Archived Forums > Distros, Development, and Model Specific Forums > Zaurus - Everything Development > Linux Applications
As the only Spectrum emulators I can find for the Zaurus are awful slow Java ones, I did a search and found fbzx which uses SDL.

So I downloaded it and am trying to compile it on the Zaurus itself using gcc 2.95.2. It gets pretty far before coming up with:

ld: cannot find -lpthread
collect2: ld returned 1 exit status

The line causing this includes -lpthread to the linker, but libpthread is definitely in the path. I think the SDL libraries need to link with it as if I remove the reference, it complains that the SDL library can't find various thread functions.

Anybody got any ideas? Searching for the problem via Google brings up references to the same problem on FreeBSD and various other apps, but no solutions that work.

It's driving me mad.
Just a guess: you only have something like and/or but the symlink to is missing.
Just a guess: you only have something like and/or but the symlink to is missing.

I thought it might be something like that, but the location of is read only so I didn't bother trying. Now that you've also thought of it, I'll give it a go. I'll put a link to it in one of the other library folders and give it a whirl. If that doesn't work, I'll have to remount as rw and try it in the original location.

Bloody hell, it worked.

Cool. Now to get it running properly. smile.gif

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.