From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19163 invoked by alias); 8 Feb 2007 13:05:10 -0000 Received: (qmail 19152 invoked by uid 22791); 8 Feb 2007 13:05:09 -0000 X-Spam-Check-By: sourceware.org Received: from randor.webonline.biz (HELO RANDOR.randor.webonline.biz) (196.31.215.139) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 08 Feb 2007 13:05:02 +0000 Received: from getafix ([41.208.2.180]) by randor.webonline.biz with MailEnable ESMTP; Thu, 08 Feb 2007 15:04:57 +0200 From: "Craig Main" To: Subject: Linking Issue, Date: Thu, 08 Feb 2007 13:05:00 -0000 Message-ID: <000201c74b81$bf1c0f20$f10311ac@JSEDev.co.za> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-IsSubscribed: yes Mailing-List: contact pthreads-win32-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sourceware.org X-SW-Source: 2007/txt/msg00015.txt.bz2 Hi, I had really hoped to solve this problem by searching the list archive, so sorry for the question, but I am struggling. I am sure this is a simple one. I am using MinGW to compile and use pthreads. I have built libpthreadGC2d.a and libpthreadGC2.a I cannot seem to link the built library to my c++ application. With -DPTW32_STATIC_LIB I receive undefined reference 'pthread_create', and without the define I receive undefined reference '__imp_pthread_create' Is this a common problem? Regards Craig