Solaris Compiler CC - list linking problem from .c file
It is not the clear way to do but we are using STL list and map in C code and compiling with CC(Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-11 2002/10/31).
Compilation goes through fine and creates library say libuacore.a
we also have C++ code which links the library.
But while linking we get following set of undefined reference in libuacore.a
Value expected for flag '-I' for '/usr/TOOLS/COM/SUNWspro6.2/SUNWspro/bin/../WS6
U2/bin/ccfe'.
Undefinedfirst referenced
symbolin file
void std::list<unsigned,std::allocator><unsigned> >::__deallocate_buffers() ../..
/../../build/../protocols/sipadaptor/sipua/libs/libuacore.a(uacore_usermsgproc. o
)
__rwstd::__rb_tree<const char*,std::pair><const char*const,unsigned>,__rwstd::__s elect1st<std::pair><const char*const,unsigned>,const char*>,std::less<const char*
>,std::allocator<std::pair><const char*const,unsigned> > >::iterator
>__rwstd::__r
b_tree<const char*,std::pair><const char*const,unsigned>,__rwstd::__select1st<std
::pair><const char*const,unsigned>,const char*>,std::less<const char*>,std::alloc ator<std::pair><const char*const,unsigned> > >::find(const char*const&)const ../.
./../../build/../protocols/sipadaptor/sipua/libs/libuacore.a(uacore_remotemsgpr o
c.o)
we did some experiments with compiler flags, but didnt help.
Can anyone please help me out as soon as possible?
Thanks,
Bhavik
Message was edited by:
bhavikac

