From: earnie_boyd AT yahoo DOT com (Earnie Boyd) Subject: Re: posix threads (pthread32) undefined references 31 Oct 1998 22:48:58 -0800 Message-ID: <19981031135119.25885.rocketmail.cygnus.gnu-win32@send105.yahoomail.com> Reply-To: earnie_boyd AT yahoo DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: Stipe Tolj , Alex Madarasz 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 ---Stipe Tolj wrote: > > > And, I just stumbled across this alternative alternative at : > > > > > > 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 AT yahoo DOT 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 AT cygnus DOT com" with one line of text: "help".