This is the mail archive of the pthreads-win32@sourceware.org mailing list for the pthreas-win32 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]