This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
posix threads (pthread32) undefined references
- To: Alex Madarasz <madarasz at erols dot com>
- Subject: posix threads (pthread32) undefined references
- From: Stipe Tolj <tolj at uni-duesseldorf dot de>
- Date: Thu, 29 Oct 1998 21:53:51 +0100
- 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
- Organization: Department of Economical Computer Science, University of Cologne, Germany
- References: <9810190357.AA15522@modi.xraylith.wisc.edu> <199810251424.JAA08169@smtp1.erols.com>
> 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 seem to be undefined within all standard cygwin32 libraries. So where
are they, and how can I build the test programs and other applications using
the pthread32 library for cygwin32?
Any help is welcome. Thanks in advance.
Regards,
Stipe
--
Stipe Tolj <tolj@uni-duesseldorf.de>
Cygwin32 Porting Project
Department of Economical Computer Science
University of Cologne, Germany
http://www-public.rz.uni-duesseldorf.de/~tolj
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".