This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Trouble compiling with gcc 3.3.1-2
- From: Lapo Luchini <lapo at lapo dot it>
- To: Mailing List: CygWin <cygwin at cygwin dot com>
- Date: Tue, 14 Oct 2003 04:19:28 +0200
- Subject: Re: Trouble compiling with gcc 3.3.1-2
- References: <000301c391fb$af4ca340$37fea8c0@nsr.hp.com>
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@lapo.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/