This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: DDD Compilation Fails using GCC 3.3.1
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Ayamico Hamasaki <ayamico at yahoo dot com>
- Cc: cygwin at cygwin dot com
- Date: Wed, 24 Sep 2003 10:38:45 -0400 (EDT)
- Subject: Re: DDD Compilation Fails using GCC 3.3.1
- References: <20030924053314.46352.qmail@web13206.mail.yahoo.com>
- Reply-to: cygwin at cygwin dot com
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@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.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/