Linker error with pthreads-w32-2-6-0-release

Nigel Horne njh@bandsman.co.uk
Tue Aug 1 10:03:00 GMT 2006


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



More information about the Pthreads-win32 mailing list