Hi all. For starters, uname -a:
SunOS sol 5.10 Generic_137111-08 sun4u sparc SUNW,Sun-Fire-880
Something about my makefile and/or my environment is broken. When I compile
this program:
#include <iostream>
main(){std::cout << "Hello\n";}
with
g++ -O1 simple.cpp -o simple
then ldd -r simple:
libstdc++.so.6 => /opt/csw/lib/libstdc++.so.6
libm.so.2 => /usr/lib/libm.so.2
libgcc_s.so.1 => /opt/csw/lib/libgcc_s.so.1
libc.so.1 => /usr/lib/libc.so.1
libm.so.1 => /usr/lib/libm.so.1
symbol not found:
_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_i
(simple)
This unresolved symbol prevents the app from running. Any suggestions would be
welcome.
--
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code