This is the mail archive of the
pthreads-win32@sourceware.org
mailing list for the pthreas-win32 project.
Linker error with pthreads-w32-2-6-0-release
- From: "Nigel Horne" <njh at bandsman dot co dot uk>
- To: <pthreads-win32 at sources dot redhat dot com>
- Date: Tue, 1 Aug 2006 11:03:25 +0100
- Subject: Linker error with pthreads-w32-2-6-0-release
When I attempt to link with pthreads I get:
(pthread.obj) : error LNK2019: unresolved external symbol _WSASetLastError@4
referenced in function _pthread_once
(pthread.obj) : error LNK2019: unresolved external symbol _WSAGetLastError@0
referenced in function _pthread_once
Perhaps pthread_once() is wrong about the calling convention for
WSAGet/SetLastError, and is using cdecl by mistake?
--
Nigel Horne. Adjudicator, Arranger, Band Trainer, Composer, Typesetter.
NJH Music, Barnsley, UK. ICQ#20252325. Skype: nigelhorne
njh@bandsman.co.uk http://www.bandsman.co.uk