avt77 opened a new issue #7555:
URL: https://github.com/apache/tvm/issues/7555


   When I try to "make cpptest" I see the error message: 
   
   [ 93%] Linking CXX executable container_test
   CMakeFiles/container_test.dir/tests/cpp/container_test.cc.o: In function 
`InplaceArrayBase_BadExceptionSafety_Test::TestBody()':
   /hdd/_tvm/tvm/tests/cpp/container_test.cc:123: undefined reference to 
`testing::internal::DeathTest::Create(char const*, 
testing::Matcher<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&>, char const*, int, 
testing::internal::DeathTest**)'
   CMakeFiles/container_test.dir/tests/cpp/container_test.cc.o: In function 
`InplaceArrayBase_ExceptionSafety_Test::TestBody()':
   /hdd/_tvm/tvm/tests/cpp/container_test.cc:143: undefined reference to 
`testing::internal::DeathTest::Create(char const*, 
testing::Matcher<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&>, char const*, int, 
testing::internal::DeathTest**)'
   clang: error: linker command failed with exit code 1 (use -v to see 
invocation)
   make[3]: *** [CMakeFiles/container_test.dir/build.make:86: container_test] 
Error 1
   make[2]: *** [CMakeFiles/Makefile2:631: CMakeFiles/container_test.dir/all] 
Error 2
   make[1]: *** [CMakeFiles/Makefile2:933: CMakeFiles/cpptest.dir/rule] Error 2
   make: *** [Makefile:541: cpptest] Error 2
   
   How to fix this issue? All other tests are being compiled without any 
problems.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to