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: <000b01c415df$52524470$84150109@almaden.ibm.com> From: "Hans Horn" To: "Cygwin List" References: <1080577821 DOT 40684f1dcf701 AT www DOT gobernalia DOT com> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040329164658 DOT 036a21f8 AT 127 DOT 0 DOT 0 DOT 1> Subject: Re: problems compiling/linking c++ sources Date: Mon, 29 Mar 2004 14:43:56 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Larry at al, I google indeed - in fact, that was what I tried first. Unfortunately, I did leave out the two leading __, as well as the trailing _0. This resulted in query results that were utterly irrelevant. As to how to fix the problem: commenting out all #pragma interface/implementation lines does indeed the trick! Funny is that I had to insert exactly those lines to make the sources compile/link under gcc2.9.5 back in 2001. cheers, Hans ----- Original Message ----- From: "Larry Hall" To: "Hans Horn" ; Sent: Monday, March 29, 2004 1:47 PM Subject: Re: problems compiling/linking c++ sources > At 04:34 PM 3/29/2004, you wrote: > >Group, > > > >I'm trying to compile/link some c++ source. > > > >This is what I get: > >/usr/include/c++/3.3.1/iostream:92: undefined reference to > >`__static_initialization_and_destruction_0(int, int)' > >collect2: ld returned 1 exit status > > > >The last time I compiled/linked the same sources successfully was around May > >2003 (under the cygwin vintage current for that era - whatever it may have > >been). > > > >Output of "cygcheck -svr > cygchek.out 2>&1" is attached. > > > Do you google? > > > > > -- > Larry Hall http://www.rfk.com > RFK Partners, Inc. (508) 893-9779 - RFK Office > 838 Washington Street (508) 893-9889 - FAX > Holliston, MA 01746 > -- 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/