- 论坛徽章:
- 0
|
/tmp/ccRk3hvi.o: In function `CppUnit::TestCaller<ExampleTestCase>::TestCaller(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, void (ExampleTestCase::*)(), ExampleTestCase*)':
ExampleTestCase.cpp .text._ZN7CppUnit10TestCallerI15ExampleTestCaseEC1ESsMS1_FvvEPS1_[CppUnit::TestCaller<ExampleTestCase>::TestCaller(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, void (ExampleTestCase::*)(), ExampleTestCase*)]+0x2b): undefined reference to `CppUnit::TestCase::TestCase(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const& '
/tmp/ccRk3hvi.o: In function `ExampleTestCase::addTestsToSuite(CppUnit::TestSuiteBuilderContextBase& ':
ExampleTestCase.cpp .text._ZN15ExampleTestCase15addTestsToSuiteERN7CppUnit27TestSuiteBuilderContextBaseE[ExampleTestCase::addTestsToSuite(CppUnit::TestSuiteBuilderContextBase& ]+0x60): undefined reference to `CppUnit::TestSuiteBuilderContextBase::getTestNameFor(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const& const'
ExampleTestCase.cpp .text._ZN15ExampleTestCase15addTestsToSuiteERN7CppUnit27TestSuiteBuilderContextBaseE[ExampleTestCase::addTestsToSuite(CppUnit::TestSuiteBuilderContextBase& ]+0xe3): undefined reference to `CppUnit::TestSuiteBuilderContextBase::addTest(CppUnit::Test*)'
ExampleTestCase.cpp .text._ZN15ExampleTestCase15addTestsToSuiteERN7CppUnit27TestSuiteBuilderContextBaseE[ExampleTestCase::addTestsToSuite(CppUnit::TestSuiteBuilderContextBase& ]+0x1dc): undefined reference to `CppUnit::TestSuiteBuilderContextBase::getTestNameFor(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const& const'
ExampleTestCase.cpp .text._ZN15ExampleTestCase15addTestsToSuiteERN7CppUnit27TestSuiteBuilderContextBaseE[ExampleTestCase::addTestsToSuite(CppUnit::TestSuiteBuilderContextBase& ]+0x253): undefined reference to `CppUnit::TestSuiteBuilderContextBase::addTest(CppUnit::Test*)'
ExampleTestCase.cpp .text._ZN15ExampleTestCase15addTestsToSuiteERN7CppUnit27TestSuiteBuilderContextBaseE[ExampleTestCase::addTestsToSuite(CppUnit::TestSuiteBuilderContextBase& ]+0x33d): undefined reference to `CppUnit::TestSuiteBuilderContextBase::getTestNameFor(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const& const'
ExampleTestCase.cpp .text._ZN15ExampleTestCase15addTestsToSuiteERN7CppUnit27TestSuiteBuilderContextBaseE[ExampleTestCase::addTestsToSuite(CppUnit::TestSuiteBuilderContextBase&)]+0x3b1): undefined reference to `CppUnit::TestSuiteBuilderContextBase::addTest(CppUnit::Test*)'
ExampleTestCase.cpp .text._ZN15ExampleTestCase15addTestsToSuiteERN7CppUnit27TestSuiteBuilderContextBaseE[ExampleTestCase::addTestsToSuite(CppUnit::TestSuiteBuilderContextBase&)]+0x489): undefined reference to `CppUnit::TestSuiteBuilderContextBase::getTestNameFor(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
ExampleTestCase.cpp .text._ZN15ExampleTestCase15addTestsToSuiteERN7CppUnit27TestSuiteBuilderContextBaseE[ExampleTestCase::addTestsToSuite(CppUnit::TestSuiteBuilderContextBase&)]+0x4fd): undefined reference to `CppUnit::TestSuiteBuilderContextBase::addTest(CppUnit::Test*)'
/tmp/ccRk3hvi.o: In function `ExampleTestCase::suite()':
ExampleTestCase.cpp .text._ZN15ExampleTestCase5suiteEv[ExampleTestCase::suite()]+0x5 : undefined reference to `CppUnit::TestSuite::TestSuite(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
ExampleTestCase.cpp:(.text._ZN15ExampleTestCase5suiteEv[ExampleTestCase::suite()]+0x97): undefined reference to `CppUnit::TestSuiteBuilderContextBase::TestSuiteBuilderContextBase(CppUnit::TestSuite&, CppUnit::TestNamer const&, CppUnit::TestFixtureFactory&)'
ExampleTestCase.cpp:(.text._ZN15ExampleTestCase5suiteEv[ExampleTestCase::suite()]+0x10 : undefined reference to `CppUnit::TestSuiteBuilderContextBase::~TestSuiteBuilderContextBase()'
ExampleTestCase.cpp:(.text._ZN15ExampleTestCase5suiteEv[ExampleTestCase::suite()]+0x121): undefined reference to `CppUnit::TestSuiteBuilderContextBase::~TestSuiteBuilderContextBase()'
/tmp/ccRk3hvi.o: In function `CppUnit::TestCaller<ExampleTestCase>::~TestCaller()':
ExampleTestCase.cpp:(.text._ZN7CppUnit10TestCallerI15ExampleTestCaseED0Ev[CppUnit::TestCaller<ExampleTestCase>::~TestCaller()]+0x6e): undefined reference to `CppUnit::TestCase::~TestCase()'
ExampleTestCase.cpp:(.text._ZN7CppUnit10TestCallerI15ExampleTestCaseED0Ev[CppUnit::TestCaller<ExampleTestCase>::~TestCaller()]+0x89): undefined reference to `CppUnit::TestCase::~TestCase()'
/tmp/ccRk3hvi.o: In function `CppUnit::TestCaller<ExampleTestCase>::~TestCaller()':
ExampleTestCase.cpp:(.text._ZN7CppUnit10TestCallerI15ExampleTestCaseED1Ev[CppUnit::TestCaller<ExampleTestCase>::~TestCaller()]+0x6e): undefined reference to `CppUnit::TestCase::~TestCase()'
ExampleTestCase.cpp:(.text._ZN7CppUnit10TestCallerI15ExampleTestCaseED1Ev[CppUnit::TestCaller<ExampleTestCase>::~TestCaller()]+0x89): undefined reference to `CppUnit::TestCase::~TestCase()'
/tmp/ccRk3hvi.o: In function `CppUnit::AutoRegisterSuite<ExampleTestCase>::~AutoRegisterSuite()':
ExampleTestCase.cpp:(.text._ZN7CppUnit17AutoRegisterSuiteI15ExampleTestCaseED1Ev[CppUnit::AutoRegisterSuite<ExampleTestCase>::~AutoRegisterSuite()]+0xe): undefined reference to `CppUnit::TestFactoryRegistry::isValid()'
ExampleTestCase.cpp:(.text._ZN7CppUnit17AutoRegisterSuiteI15ExampleTestCaseED1Ev[CppUnit::AutoRegisterSuite<ExampleTestCase>::~AutoRegisterSuite()]+0x26): undefined reference to `CppUnit::TestFactoryRegistry::unregisterFactory(CppUnit::TestFactory*)'
/tmp/ccRk3hvi.o: In function `void CppUnit::assertEquals<long>(long const&, long const&, CppUnit::SourceLine, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
ExampleTestCase.cpp:(.text._ZN7CppUnit12assertEqualsIlEEvRKT_S3_NS_10SourceLineERKSs[void CppUnit::assertEquals<long>(long const&, long const&, CppUnit::SourceLine, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)]+0x79): undefined reference to `CppUnit::AdditionalMessage::AdditionalMessage(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ExampleTestCase.cpp:(.text._ZN7CppUnit12assertEqualsIlEEvRKT_S3_NS_10SourceLineERKSs[void CppUnit::assertEquals<long>(long const&, long const&, CppUnit::SourceLine, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)]+0xbe): undefined reference to `CppUnit::Asserter::failNotEqual(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, CppUnit::SourceLine const&, CppUnit::AdditionalMessage const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
/tmp/ccRk3hvi.o: In function `void CppUnit::assertEquals<int>(int const&, int const&, CppUnit::SourceLine, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
ExampleTestCase.cpp:(.text._ZN7CppUnit12assertEqualsIiEEvRKT_S3_NS_10SourceLineERKSs[void CppUnit::assertEquals<int>(int const&, int const&, CppUnit::SourceLine, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)]+0x79): undefined reference to `CppUnit::AdditionalMessage::AdditionalMessage(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ExampleTestCase.cpp:(.text._ZN7CppUnit12assertEqualsIiEEvRKT_S3_NS_10SourceLineERKSs[void CppUnit::assertEquals<int>(int const&, int const&, CppUnit::SourceLine, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)]+0xbe): undefined reference to `CppUnit::Asserter::failNotEqual(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, CppUnit::SourceLine const&, CppUnit::AdditionalMessage const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
/tmp/ccRk3hvi.o:(.rodata._ZTIN7CppUnit23TestSuiteBuilderContextI15ExampleTestCaseEE[typeinfo for CppUnit::TestSuiteBuilderContext<ExampleTestCase>]+0x10): undefined reference to `typeinfo for CppUnit::TestSuiteBuilderContextBase'
/tmp/ccRk3hvi.o:(.rodata._ZTVN7CppUnit10TestCallerI15ExampleTestCaseEE[vtable for CppUnit::TestCaller<ExampleTestCase>]+0x20): undefined reference to `CppUnit::TestCase::run(CppUnit::TestResult*)'
/tmp/ccRk3hvi.o:(.rodata._ZTVN7CppUnit10TestCallerI15ExampleTestCaseEE[vtable for CppUnit::TestCaller<ExampleTestCase>]+0x2 : undefined reference to `CppUnit::TestLeaf::countTestCases() const'
/tmp/ccRk3hvi.o:(.rodata._ZTVN7CppUnit10TestCallerI15ExampleTestCaseEE[vtable for CppUnit::TestCaller<ExampleTestCase>]+0x30): undefined reference to `CppUnit::TestLeaf::getChildTestCount() const'
/tmp/ccRk3hvi.o:(.rodata._ZTVN7CppUnit10TestCallerI15ExampleTestCaseEE[vtable for CppUnit::TestCaller<ExampleTestCase>]+0x3 : undefined reference to `CppUnit::Test::getChildTestAt(int) const'
/tmp/ccRk3hvi.o:(.rodata._ZTVN7CppUnit10TestCallerI15ExampleTestCaseEE[vtable for CppUnit::TestCaller<ExampleTestCase>]+0x40): undefined reference to `CppUnit::TestCase::getName() const'
/tmp/ccRk3hvi.o:(.rodata._ZTVN7CppUnit10TestCallerI15ExampleTestCaseEE[vtable for CppUnit::TestCaller<ExampleTestCase>]+0x4 : undefined reference to `CppUnit::Test::findTestPath(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CppUnit::TestPath&) const'
/tmp/ccRk3hvi.o:(.rodata._ZTVN7CppUnit10TestCallerI15ExampleTestCaseEE[vtable for CppUnit::TestCaller<ExampleTestCase>]+0x50): undefined reference to `CppUnit::Test::findTestPath(CppUnit::Test const*, CppUnit::TestPath&) const'
/tmp/ccRk3hvi.o:(.rodata._ZTVN7CppUnit10TestCallerI15ExampleTestCaseEE[vtable for CppUnit::TestCaller<ExampleTestCase>]+0x5 : undefined reference to `CppUnit::Test::findTest(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/tmp/ccRk3hvi.o:(.rodata._ZTVN7CppUnit10TestCallerI15ExampleTestCaseEE[vtable for CppUnit::TestCaller<ExampleTestCase>]+0x60): undefined reference to `CppUnit::Test::resolveTestPath(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/tmp/ccRk3hvi.o:(.rodata._ZTVN7CppUnit10TestCallerI15ExampleTestCaseEE[vtable for CppUnit::TestCaller<ExampleTestCase>]+0x6 : undefined reference to `CppUnit::Test::checkIsValidIndex(int) const'
/tmp/ccRk3hvi.o:(.rodata._ZTVN7CppUnit10TestCallerI15ExampleTestCaseEE[vtable for CppUnit::TestCaller<ExampleTestCase>]+0x70): undefined reference to `CppUnit::TestLeaf::doGetChildTestAt(int) const'
/tmp/ccRk3hvi.o:(.rodata._ZTIN7CppUnit10TestCallerI15ExampleTestCaseEE[typeinfo for CppUnit::TestCaller<ExampleTestCase>]+0x10): undefined reference to `typeinfo for CppUnit::TestCase'
/tmp/ccIMVKGm.o: In function `main':
Main.cpp:(.text+0x92): undefined reference to `CppUnit::TestResult::TestResult(CppUnit::SynchronizedObject::SynchronizationObject*)'
Main.cpp:(.text+0xa3): undefined reference to `CppUnit::TestResultCollector::TestResultCollector(CppUnit::SynchronizedObject::SynchronizationObject*)'
Main.cpp:(.text+0xb6): undefined reference to `CppUnit::TestResult::addListener(CppUnit::TestListener*)'
Main.cpp:(.text+0xbf): undefined reference to `CppUnit::BriefTestProgressListener::BriefTestProgressListener()'
Main.cpp:(.text+0xcf): undefined reference to `CppUnit::TestResult::addListener(CppUnit::TestListener*)'
Main.cpp:(.text+0xd : undefined reference to `CppUnit::TestRunner::TestRunner()'
Main.cpp:(.text+0xfc): undefined reference to `CppUnit::TestFactoryRegistry::getRegistry(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
Main.cpp:(.text+0x117): undefined reference to `CppUnit::TestRunner::addTest(CppUnit::Test*)'
Main.cpp:(.text+0x19f): undefined reference to `CppUnit::TestRunner::run(CppUnit::TestResult&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
Main.cpp:(.text+0x232): undefined reference to `CppUnit::CompilerOutputter::CompilerOutputter(CppUnit::TestResultCollector*, std::basic_ostream<char, std::char_traits<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
Main.cpp:(.text+0x272): undefined reference to `CppUnit::CompilerOutputter::write()'
Main.cpp:(.text+0x2a0): undefined reference to `CppUnit::TestSuccessListener::wasSuccessful() const'
Main.cpp:(.text+0x2d2): undefined reference to `CppUnit::CompilerOutputter::~CompilerOutputter()'
Main.cpp:(.text+0x2ee): undefined reference to `CppUnit::CompilerOutputter::~CompilerOutputter()'
Main.cpp:(.text+0x300): undefined reference to `CppUnit::TestRunner::~TestRunner()'
Main.cpp:(.text+0x319): undefined reference to `CppUnit::TestRunner::~TestRunner()'
Main.cpp:(.text+0x32b): undefined reference to `CppUnit::BriefTestProgressListener::~BriefTestProgressListener()'
Main.cpp:(.text+0x344): undefined reference to `CppUnit::BriefTestProgressListener::~BriefTestProgressListener()'
Main.cpp:(.text+0x359): undefined reference to `CppUnit::TestResultCollector::~TestResultCollector()'
Main.cpp:(.text+0x375): undefined reference to `CppUnit::TestResultCollector::~TestResultCollector()'
Main.cpp:(.text+0x38a): undefined reference to `CppUnit::TestResult::~TestResult()'
Main.cpp:(.text+0x3b2): undefined reference to `CppUnit::TestResult::~TestResult()'
collect2: ld returned 1 exit status |
|