Getting linking errors for _vector_new_ and _vector_delete


Hi ,

Previously my source is compiled with CC 4.1 compiler.

Beacuse of some reason we moved the CC 5.5 compiler. When i am trying to compilation, all the files are compiling successfully but facing the proble at linking time. I got the below errors in linking time :-

_vector_new_ xxxx/lib/libux.so
_vector_delete_ xxxx/lib/libux.so

I came to know that the -vector_new and _vector_delete's definition is in libC.so.
But in the latest C++ compiler i am not able to find it. Where is in old compiler i will able to find.

Please help me in finding the solution for this issue.

CC compiler versions :-

New :- CC: Sun C++ 5.5 Patch 113817-10 2004/10/05
Old :- CC: SC4.0 18 Oct 1995 C++ 4.1

Thanks in advance,
Srikanth.

That is a compiler internal function, not governed by any standard. This means that Sun would be completely free
to change the name of that function from compiler version to compiler version, which makes apps compiled with
the newer compiler binary incompatible with libraries compiled with the older compiler.

It sounds like you need a newer version of libux.so to go with the new libC.so.
Hi Smith,

Thanks a lot for your reply. I tried to find the newer version of libC.so but its not successful.

Can you please tell me that, which library in newer version of CC compiler can be used instead of libC.so

Thanks,
Srikanth.
No, I can't, because I don't use that compiler.
Topic archived. No new replies allowed.