From owner-freebsd-questions Mon Jun 17 14:41:16 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by hub.freebsd.org (Postfix) with ESMTP id D1E7837B403 for ; Mon, 17 Jun 2002 14:41:11 -0700 (PDT) Received: by mail.sandvine.com with Internet Mail Service (5.5.2653.19) id ; Mon, 17 Jun 2002 17:41:11 -0400 Message-ID: From: Neeraj Garg To: "'freebsd-questions@FreeBSD.org'" Subject: String and Pthread library conflict Date: Mon, 17 Jun 2002 17:41:10 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I am trying to create a cross-compiler between Cygwin and FreeBSD. I am using FreeBSD 4.5 release, gcc 3.0.4 on FreeBSD, gcc 3.1 and binutils 2.12 libraries to create a cross-compiler. My cross-compiler successfully compiles, but I am having the following problem: pthread_create function works (if I don't include ) std::string works (by including "string") If I create a program with "pthread_create" and include then the program doesn't work and gives "Segmentation fault (core dumped)" error message when "pthread_create" is called. Does anyone know why this is happening and how to fix it? Thanks for your help. Neeraj To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message