[bind10-dev] compiling with SunStudio12.1

Jeremy C. Reed jreed at isc.org
Wed Jun 23 14:41:21 UTC 2010


> When building trunk configured with --with-gtest with CC (cc++) with 
> SunStudio12.1 on SunOS/sparc 5.10 it fails with:

I also built and installed gtest-1.4.0 with SunStudio C++ and tried 
that, but got same errors.

libtool: link: /usr/bin/CC -g -features=tmplife -features=tmplrefstatic 
-o run_unittests run_unittests-run_unittests.o 
run_unittests-exceptions_unittest.o  -library=stlport4 
-L/udir/jreed/pkg/lib .libs/libexceptions.a -lsocket -lnsl
Undefined                       first referenced
 symbol                             in file
testing::TestInfo*testing::internal::MakeAndRegisterTestInfo(const 
char*,const char*,const char*,const char*,const 
void*,void(*)(),void(*)(),testing::internal::TestFactoryBase*) 
run_unittests-exceptions_unittest.o
void testing::internal::AssertHelper::operator=(const 
testing::Message&)const run_unittests-exceptions_unittest.o
void testing::Test::TearDown()     run_unittests-exceptions_unittest.o
testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type,const 
char*,int,const char*) run_unittests-exceptions_unittest.o
int testing::UnitTest::Run()      run_unittests-run_unittests.o
testing::AssertionResult testing::AssertionSuccess() 
run_unittests-exceptions_unittest.o
testing::internal::AssertHelper::~AssertHelper() 
run_unittests-exceptions_unittest.o
...




More information about the bind10-dev mailing list