From: James E. <em...@sy...> - 2001-11-20 17:41:31
|
Hi, I am trying to compile/link the log4cpp package using the SunWorkshop compiler (CC) on a Solaris 7 machine. The library builds, but the testmain code fails to link properly. There are several error messages relating to undefined symbols. This appears to be a problem with the compiler not generating template code in the library. The CC compiler seems to be quite complicated when it comes to handling templates. Has anyone been able to successfully build a usable log4cpp library using SunW's CC compiler ? Any help that you can provide would be most appreciated. Thanks, James partial error message: ild: (undefined symbol) __type_1 std::copy<std::deque<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > >::const_iterator,std::back_insert_iterator<std::deque<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > > > >(__type_0,__type_0,__type_1) -- referenced in ../src/.libs/liblog4cpp.so |