Answer» Hello,
I am migrating code written in SUN CC 4.3 to SUN CC 5.8 I have compiled entire code with SUN CC 5.8 with -compact=4 option ,on machine with OS SunOS 5.8 Generic_Virtual sun4v sparc sun4v.
during linking phase i am facing issues like
(cd msggen; MAKE CG="-fast -O3 -compat=4 -lC -features=extensions -i" all) /opt/SUNWspro/bin/CC -o msggen msggen.o licensemessage.o ../../../../libs/lib/libgeneral.a Undefined first referenced symbol in file cerr ../../../../libs/lib/libgeneral.a(string.o) unsafe_ostream::operator<<(long) ../../../../libs/lib/libgeneral.a(string.o) operator delete(void*) msggen.o operator new(unsigned INT) licensemessage.o Iostream_init::Iostream_init(void) msggen.o Iostream_init::~Iostream_init(void) msggen.o istream::operator>>(char*) ../../../../libs/lib/libgeneral.a(string.o) setw(int) ../../../../libs/lib/libgeneral.a(string.o) unsafe_ostream::outstr(const char*, const char*) ../../../../libs/lib/libgeneral.a(string.o) _ex_rethrow_q msggen.o ld: fatal: Symbol REFERENCING errors. No output written to msggen
I felt like these issues are due to the standard header files. I am including the headers which comes with SUN CC 5.8 and I am using ROGUE Wave rwav/ver09.1.
I am not getting any pointers to solve this issue,any pointer will be highly appriciated.
Thanks in advance, Revathi R
|