From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7609 invoked by alias); 1 Aug 2006 10:03:29 -0000 Received: (qmail 7601 invoked by uid 22791); 1 Aug 2006 10:03:28 -0000 X-Spam-Check-By: sourceware.org Received: from nigelhorne.force9.co.uk (HELO bandsman.co.uk) (212.159.106.41) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 01 Aug 2006 10:03:27 +0000 Received: from njh (njh [192.168.1.2]) (authenticated bits=0) by bandsman.co.uk (8.13.7/8.13.7) with ESMTP id k71A3Ovn010259 for ; Tue, 1 Aug 2006 11:03:24 +0100 From: "Nigel Horne" To: Subject: Linker error with pthreads-w32-2-6-0-release Date: Tue, 01 Aug 2006 10:03:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Received-SPF: pass (bandsman.co.uk: 192.168.1.2 is authenticated by a trusted mechanism) X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (bandsman.co.uk [192.168.1.1]); Tue, 01 Aug 2006 11:03:24 +0100 (BST) X-DCC-CollegeOfNewCaledonia-Metrics: bandsman.co.uk 1189; Body=1 Fuz1=1 Fuz2=1 X-IsSubscribed: yes Mailing-List: contact pthreads-win32-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sourceware.org X-SW-Source: 2006/txt/msg00043.txt.bz2 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