This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: DDD Compilation Fails using GCC 3.3.1


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]