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 under cygwin


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 <http://cygwin.com/lists.html>).
This will give your question access to a much wider area of expertise than
any one person can provide.

Also, do you Google?  <http://google.com/search?q=ddd+cygwin>
	Igor

On Fri, 24 Oct 2003 Jozef.Molnar@infineon.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@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]