* pthread_mutex_lock error
@ 2003-09-04 10:37 Rob Clack
2003-09-04 13:56 ` Christopher Faylor
0 siblings, 1 reply; 5+ messages in thread
From: Rob Clack @ 2003-09-04 10:37 UTC (permalink / raw)
To: cygwin
I have a big app developed under Linux which has been ported to Windows.
I build it under NT4 but a user complained it was broken under W2K and
indeed he's right. When I installed it on a borrowed W2K box the
install went fine, but running it fails immediately with a dialog box headed
Startace.exe - Entry Point Not Found
and the text
The procedure entry point pthread_mutex_lock could not be located in the
dynamic link library cygwin1.dll.
I have no idea how to even start diagnosing this problem. I'm not keen
to start installing cygwin on someone else's box, so it would be really
helpful if someone knows what's going on here.
Thanks
Rob
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Don't worry about what people think; they don't do it very often.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rob Clack Acedb Development, Informatics Group
email: rnc@sanger.ac.uk Wellcome Trust Sanger Institute
Tel: +44 1223 494780 Wellcome Trust Genome Campus
Fax: +44 1223 494919 Hinxton Cambridge CB10 1SA
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pthread_mutex_lock error
2003-09-04 10:37 pthread_mutex_lock error Rob Clack
@ 2003-09-04 13:56 ` Christopher Faylor
2003-09-04 15:31 ` Rob Clack
0 siblings, 1 reply; 5+ messages in thread
From: Christopher Faylor @ 2003-09-04 13:56 UTC (permalink / raw)
To: cygwin
On Thu, Sep 04, 2003 at 11:37:10AM +0100, Rob Clack wrote:
>I have no idea how to even start diagnosing this problem.
http://cygwin.com/problems.html
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pthread_mutex_lock error
2003-09-04 13:56 ` Christopher Faylor
@ 2003-09-04 15:31 ` Rob Clack
2003-09-04 15:39 ` Christopher Faylor
0 siblings, 1 reply; 5+ messages in thread
From: Rob Clack @ 2003-09-04 15:31 UTC (permalink / raw)
To: cygwin
Sorry, should have mentioned that I had looked at the FAQ, searched the
archives and googled for pthread_mutex_lock and not found much of great use.
Threads are not something I know much about, the code having been
written by someone else.
However, while waiting to see if anyone can point me in the right
direction, I've found that an earlier release of my app (about 3 or 4
months old), built using an ancient (and now blown away) version of
Cygwin does work correctly under W2K as well as NT4, Linux, OSF1, etc.
This enabled me to get my user going, giving me time to actually solve
the problem.
From this I infer something has changed around the time we upgraded to
Cygwin 1.3.22-1. Since the cygwin1.dll I used to build the binary does
contain a reference to the function, I'm confused that the error message
states that it couldn't be found in the dll.
I did check and there's only one cygwin1.dll on the box.
So I'm stuck now as to how to proceed. Or does your return post,
Christopher, mean the answer is there if I only look in the right place?
Rob
Christopher Faylor wrote:
> On Thu, Sep 04, 2003 at 11:37:10AM +0100, Rob Clack wrote:
>
>>I have no idea how to even start diagnosing this problem.
>
>
> http://cygwin.com/problems.html
>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Not everything incredible is untrue.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rob Clack Acedb Development, Informatics Group
email: rnc@sanger.ac.uk Wellcome Trust Sanger Institute
Tel: +44 1223 494780 Wellcome Trust Genome Campus
Fax: +44 1223 494919 Hinxton Cambridge CB10 1SA
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pthread_mutex_lock error
2003-09-04 15:31 ` Rob Clack
@ 2003-09-04 15:39 ` Christopher Faylor
2003-09-08 13:14 ` Rob Clack
0 siblings, 1 reply; 5+ messages in thread
From: Christopher Faylor @ 2003-09-04 15:39 UTC (permalink / raw)
To: cygwin
On Thu, Sep 04, 2003 at 04:31:35PM +0100, Rob Clack wrote:
>So I'm stuck now as to how to proceed. Or does your return post,
>Christopher, mean the answer is there if I only look in the right place?
You said that you had no idea how to diagnose the problem. I pointed you
at the page which talks about diagnosing problems. You haven't read it
thoroughly, obviously. It talks about information that should be in
every problem report, like attached cygcheck output.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to aaaspam@sourceware.org
and be permanently blocked from mailing lists at sources.redhat.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pthread_mutex_lock error
2003-09-04 15:39 ` Christopher Faylor
@ 2003-09-08 13:14 ` Rob Clack
0 siblings, 0 replies; 5+ messages in thread
From: Rob Clack @ 2003-09-08 13:14 UTC (permalink / raw)
To: cygwin
Sad but true. When I finally did what I should have done to start with,
I quickly found that I had managed to include the wrong version of
cygwin1.dll in my binary. I then found I also had to add
cygreadline5.dll and cygncurses6.dll, but that was easy enough. No
doubt the latter was documented somewhere else I didn't look, ;) but it
didn't take any time to fix anyway.
The reason for not running cygcheck was that this was someone else's box
and didn't have cygwin installed. Once it was installed, it didn't take
me long to spot that the two versions of cygwin1.dll had different
timestamps, which quickly led me to the resolution.
So thank you for your help and patience.
Rob
Christopher Faylor wrote:
> On Thu, Sep 04, 2003 at 04:31:35PM +0100, Rob Clack wrote:
>
>>So I'm stuck now as to how to proceed. Or does your return post,
>>Christopher, mean the answer is there if I only look in the right place?
>
>
> You said that you had no idea how to diagnose the problem. I pointed you
> at the page which talks about diagnosing problems. You haven't read it
> thoroughly, obviously. It talks about information that should be in
> every problem report, like attached cygcheck output.
> --
> Please use the resources at cygwin.com rather than sending personal email.
> Special for spam email harvesters: send email to aaaspam@sourceware.org
> and be permanently blocked from mailing lists at sources.redhat.com
>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The mouth: natural home of the foot
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rob Clack Acedb Development, Informatics Group
email: rnc@sanger.ac.uk Wellcome Trust Sanger Institute
Tel: +44 1223 494780 Wellcome Trust Genome Campus
Fax: +44 1223 494919 Hinxton Cambridge CB10 1SA
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-09-08 13:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-04 10:37 pthread_mutex_lock error Rob Clack
2003-09-04 13:56 ` Christopher Faylor
2003-09-04 15:31 ` Rob Clack
2003-09-04 15:39 ` Christopher Faylor
2003-09-08 13:14 ` Rob Clack
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).