From: "Craig Main" <craig@palantir.co.za>
To: <pthreads-win32@sourceware.org>
Subject: Linking Issue,
Date: Thu, 08 Feb 2007 13:05:00 -0000 [thread overview]
Message-ID: <000201c74b81$bf1c0f20$f10311ac@JSEDev.co.za> (raw)
Hi,
I had really hoped to solve this problem by searching the list archive, so
sorry for the question, but I am struggling.
I am sure this is a simple one.
I am using MinGW to compile and use pthreads.
I have built libpthreadGC2d.a and libpthreadGC2.a
I cannot seem to link the built library to my c++ application.
With -DPTW32_STATIC_LIB I receive undefined reference 'pthread_create', and
without the define I receive undefined reference '__imp_pthread_create'
Is this a common problem?
Regards
Craig
next reply other threads:[~2007-02-08 13:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-08 13:05 Craig Main [this message]
2007-02-08 13:32 ` Sinan KAYA
2007-02-08 15:38 ` Craig Main
2007-03-02 12:39 ` Craig Main
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000201c74b81$bf1c0f20$f10311ac@JSEDev.co.za' \
--to=craig@palantir.co.za \
--cc=pthreads-win32@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).