This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: posix threads (pthread32) undefined references
- To: Stipe Tolj <tolj at uni-duesseldorf dot de>, Alex Madarasz <madarasz at erols dot com>
- Subject: Re: posix threads (pthread32) undefined references
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Sat, 31 Oct 1998 05:51:19 -0800 (PST)
- Cc: gnu-win32 at cygnus dot com, bje at cygnus dot com, rpj at ise dot canberra dot edu dot au, rjc at trump dot net dot au
- Reply-To: earnie_boyd at yahoo dot com
---Stipe Tolj <tolj@uni-duesseldorf.de> wrote:
>
> > And, I just stumbled across this alternative alternative at :
> >
> > <ftp://egcs.cygnus.com/pub/pthreads-win32/>
>
> I have configure/make the libpthread32.a library using cygwin32
b19.3 (no
> egcs, gcc from cdk.exe). When I tried to compile the distributed test
> programs I get the following undefined reference errors:
>
> % gcc create1.c -I.. -L.. -lpthread32
> ../libpthread32.a(create.o)(.text+0x19a):create.c: undefined
reference to
> `_beginthreadex'
> ../libpthread32.a(exit.o)(.text+0xbe):exit.c: undefined reference to
> `_endthreadex'
> ../libpthread32.a(mutex.o)(.text+0x11e):mutex.c: undefined reference
to
> `TryEnterCriticalSection'
>
These may reside in the MSVCRTxx.DLL and if that is the case then
you'll have to figure out what to import from it. NOTE: It is most
likely that you'll not be able to do what you are trying to do. Your
time would most likely be better spent trying to get the UNIX version
to fit CYGWIN than trying to get the WIN32 version to fit CYGWIN.
You should, most likely, be able to build this package with MINGW32.
==
- \\||//
-------------o0O0--Earnie--0O0o--------------
-- earnie_boyd@yahoo.com --
-- http://www.freeyellow.com/members5/gw32 --
----------------ooo0O--O0ooo-----------------
PS: Newbie's, you should visit my page.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".