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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Fri, 24 Oct 2003 10:53:18 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Jozef DOT Molnar AT infineon DOT com cc: cygwin AT cygwin DOT com Subject: Re: DDD under cygwin In-Reply-To: <2FE102C39AC9D311B24B00A0C9F00996017ACFB1@vihsx07a.vih.infineon.com> Message-ID: References: <2FE102C39AC9D311B24B00A0C9F00996017ACFB1 AT vihsx07a DOT vih DOT infineon DOT com> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Jozef, Please don't send personal e-mail with Cygwin questions unless specifically requested. All Cygwin-related discussion should take place on one of the Cygwin mailing lists (see ). This will give your question access to a much wider area of expertise than any one person can provide. Also, do you Google? Igor On Fri, 24 Oct 2003 Jozef DOT Molnar AT infineon DOT com wrote: > Hello Igor, > > i found the bellow thread on the net. I have the same problem during linking > ddd under cygwin. Can you please advice, which libraries need to be > recompiled, that include the "__static_initialization_and_destruction_0(int, > int)" and the other functions? > > Thank you in advance. > Jozef Molnar > > > On Tue, 23 Sep 2003, Ayamico Hamasaki wrote: > > > Hi, > > > > I have problem compiling DDD 3.3.7 using gcc 3.3.1. > > But if I revert to gcc.3.2.3, the compilation is > > successful. > > > > Anyone has seen the same problem ? I wonder if this is > > a gcc or ddd problem. > > > > ["cygcheck -c" output snipped] > > Please, please, please do not include cygcheck output inline. It really > does screw up the web search. > > > The error happens during the linking stage. > > > > .... > > g++ -DNDEBUG -O2 -g -W -Wall -trigraphs -o ddd.exe > > [snip] > > -L/usr/X11R6/lib /usr/X11R6/lib/libXm.a -lXaw -lXmu > > -lXt -lXpm -lXp -lXext -lX11 -lSM -lICE -ltermcap -ly > > -liberty > > AgentM.o(.text+0x296): In function `GLOBAL(int10_t, long double, char, short, int, double)': > > /usr/include/c++/3.3.1/iostream:87: undefined reference to `__static_initialization_and_destruction_0(int, int)' > > Make sure *all* your objects and libraries are compiled by gcc 3.3.1. > Some of the above libraries are distributed with Cygwin, and thus are most > likely compiled with gcc 3.2. > Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/