Здравствуйте.Товарищи, не разберусь: а можно ли библиотеку(log4cxx), собранную в Solaris 10 при помощи gcc-3.4.6, слинковать студийным компилятором CC с моей программой?
На всякий случай приведу вывод линковщика:
Undefined first referenced
symbol in file
const log4cxx::helpers::ObjectPtrT<log4cxx::Level>&log4cxx::Level::getInfo() log4cxx_test.o
void*std::__node_alloc<true,0>::_M_allocate(unsigned) log4cxx_test.o
std::ios_base::_Loc_init::_Loc_init() log4cxx_test.o
void log4cxx::Logger::forcedLog(const log4cxx::helpers::ObjectPtrT<log4cxx::Level>&,const std::string &,const log4cxx::spi::LocationInfo&) log4cxx_test.o
log4cxx::spi::LocationInfo::LocationInfo(const char*const,const char*const,int) log4cxx_test.o
bool log4cxx::Logger::isInfoEnabled()const log4cxx_test.o
void log4cxx::PropertyConfigurator::configure(const log4cxx::File&) log4cxx_test.o
log4cxx::helpers::ObjectPtrT<log4cxx::Logger>log4cxx::Logger::getLogger(const char*const) log4cxx_test.o
void*log4cxx::helpers::ObjectPtrBase::exchange(void**,void*) log4cxx_test.o
void std::_Rb_global<bool>::_Rebalance(std::_Rb_tree_node_base*,std::_Rb_tree_node_base*&) log4cxx_test.o
std::_Rb_tree_node_base*std::_Rb_global<bool>::_M_increment(std::_Rb_tree_node_base*) log4cxx_test.o
std::locale::facet*std::locale::_M_use_facet(const std::locale::id&)const log4cxx_test.o
std::_Rb_tree_node_base*std::_Rb_global<bool>::_M_decrement(std::_Rb_tree_node_base*) log4cxx_test.o
void std::__stl_throw_out_of_range(const char*) log4cxx_test.o
void std::ios_base::_M_throw_failure() log4cxx_test.o
log4cxx::File::File(const std::string &) log4cxx_test.o
std::ios_base::_Loc_init::~_Loc_init() log4cxx_test.o
log4cxx::File::~File() log4cxx_test.o
void std::__node_alloc<true,0>::_M_deallocate(void*,unsigned) log4cxx_test.o
ld: fatal: Symbol referencing errors. No output written to a.out