OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Cannot find -lpthread
Fromwithin
post May 30 2004, 07:03 AM
Post #1





Group: Members
Posts: 59
Joined: 17-February 04
From: Wirral, UK
Member No.: 1,907



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.
Go to the top of the page
 
+Quote Post
Zazz
post May 30 2004, 07:23 AM
Post #2





Group: Members
Posts: 69
Joined: 17-April 04
Member No.: 2,890



Just a guess: you only have something like libpthread-0.9.so and/or libpthread.so.0 but the symlink to libpthread.so is missing.
Go to the top of the page
 
+Quote Post
Fromwithin
post May 30 2004, 08:31 AM
Post #3





Group: Members
Posts: 59
Joined: 17-February 04
From: Wirral, UK
Member No.: 1,907



QUOTE
Just a guess: you only have something like libpthread-0.9.so and/or libpthread.so.0 but the symlink to libpthread.so is missing.


I thought it might be something like that, but the location of libpthread.so.0 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.

Thanks.
Go to the top of the page
 
+Quote Post
Fromwithin
post May 30 2004, 08:35 AM
Post #4





Group: Members
Posts: 59
Joined: 17-February 04
From: Wirral, UK
Member No.: 1,907



Bloody hell, it worked.

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

Cheers.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 27th August 2014 - 07:16 PM