Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3F8B5D30.10200@lapo.it> Date: Tue, 14 Oct 2003 04:19:28 +0200 From: Lapo Luchini User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030916 X-Accept-Language: it, en, fr, es MIME-Version: 1.0 To: Mailing List: CygWin Subject: Re: Trouble compiling with gcc 3.3.1-2 References: <000301c391fb$af4ca340$37fea8c0 AT nsr DOT hp DOT com> In-Reply-To: <000301c391fb$af4ca340$37fea8c0@nsr.hp.com> X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Pankaj K Garg wrote: >$ gcc tmp.c >/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/libgcc.a(w32-shared-ptr.o)(.text+0x189): >undefined reference to `_pthread_atfork' >collect2: ld returned 1 exit status > > Mhhh.. just a wild guess, but did you try with "gcc -pthread tmp.c"? -- Lapo 'Raist' Luchini lapo AT lapo DOT it (PGP & X.509 keys available) http://www.lapo.it (ICQ UIN: 529796) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/