Advertisement
Guest User

Untitled

a guest
Nov 18th, 2013
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rishavant@risha:~/Документы$ g++ -lgtest lab1-main.cpp -g
  2. /tmp/ccrmOY3N.o: In function `TestDeque_test_Test::TestBody()':
  3. /home/rishavant/Документы/lab1-main.cpp:92: undefined reference to `testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, char const*, int, char const*)'
  4. /home/rishavant/Документы/lab1-main.cpp:92: undefined reference to `testing::internal::AssertHelper::operator=(testing::Message const&) const'
  5. /home/rishavant/Документы/lab1-main.cpp:92: undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
  6. /home/rishavant/Документы/lab1-main.cpp:92: undefined reference to `testing::internal::AssertHelper::~AssertHelper()'
  7. /tmp/ccrmOY3N.o: In function `main':
  8. /home/rishavant/Документы/lab1-main.cpp:97: undefined reference to `testing::InitGoogleTest(int*, char**)'
  9. /home/rishavant/Документы/lab1-main.cpp:98: undefined reference to `testing::UnitTest::GetInstance()'
  10. /home/rishavant/Документы/lab1-main.cpp:98: undefined reference to `testing::UnitTest::Run()'
  11. /tmp/ccrmOY3N.o: In function `__static_initialization_and_destruction_0':
  12. /home/rishavant/Документы/lab1-main.cpp:74: undefined reference to `testing::internal::GetTestTypeId()'
  13. /home/rishavant/Документы/lab1-main.cpp:74: undefined reference to `testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char const*, char const*, void const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*)'
  14. /tmp/ccrmOY3N.o: In function `TestDeque_test_Test::TestDeque_test_Test()':
  15. /home/rishavant/Документы/lab1-main.cpp:74: undefined reference to `testing::Test::Test()'
  16. /tmp/ccrmOY3N.o: In function `testing::internal::scoped_ptr<std::string>::reset(std::string*)':
  17. /usr/include/gtest/internal/gtest-port.h:793: undefined reference to `testing::internal::IsTrue(bool)'
  18. /tmp/ccrmOY3N.o: In function `testing::internal::scoped_ptr<std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> > >::reset(std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >*)':
  19. /usr/include/gtest/internal/gtest-port.h:793: undefined reference to `testing::internal::IsTrue(bool)'
  20. /tmp/ccrmOY3N.o: In function `testing::AssertionResult testing::internal::CmpHelperEQ<Array, Array>(char const*, char const*, Array const&, Array const&)':
  21. /usr/include/gtest/gtest.h:1317: undefined reference to `testing::AssertionSuccess()'
  22. /usr/include/gtest/gtest.h:1328: undefined reference to `testing::internal::EqFailure(char const*, char const*, testing::internal::String const&, testing::internal::String const&, bool)'
  23. /tmp/ccrmOY3N.o: In function `testing::internal2::TypeWithoutFormatter<Array, (testing::internal2::TypeKind)2>::PrintValue(Array const&, std::ostream*)':
  24. /usr/include/gtest/gtest-printers.h:137: undefined reference to `testing::internal2::PrintBytesInObjectTo(unsigned char const*, unsigned long, std::ostream*)'
  25. /tmp/ccrmOY3N.o:(.rodata._ZTV19TestDeque_test_Test[_ZTV19TestDeque_test_Test]+0x20): undefined reference to `testing::Test::SetUp()'
  26. /tmp/ccrmOY3N.o:(.rodata._ZTV19TestDeque_test_Test[_ZTV19TestDeque_test_Test]+0x28): undefined reference to `testing::Test::TearDown()'
  27. /tmp/ccrmOY3N.o: In function `TestDeque_test_Test::~TestDeque_test_Test()':
  28. /home/rishavant/Документы/lab1-main.cpp:74: undefined reference to `testing::Test::~Test()'
  29. /tmp/ccrmOY3N.o:(.rodata._ZTI19TestDeque_test_Test[_ZTI19TestDeque_test_Test]+0x10): undefined reference to `typeinfo for testing::Test'
  30. collect2: ошибка: выполнение ld завершилось с кодом возврата 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement