Mail Archives: cygwin/2004/03/29/16:45:57
On Mon, 29 Mar 2004, Hans Horn 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.
>
> thx a bunch,
> H.
Use 'g++' to link C++ sources. If you are using 'g++', please provide a
small testcase that reproduces the problem and the exact command you used
to compile/link it.
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/
- Raw text -