<div dir="ltr"><div dir="ltr">Can you be more specific? I have lots of packages in my system, and I don't know which ones would be related to unit testing. I know I have not intentionally and knowingly installed anything like that though.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 6, 2020 at 11:16 AM Willy Sudiarto Raharjo <<a href="mailto:willysr@slackbuilds.org">willysr@slackbuilds.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">>     This is for the latest version of snappy (1.1.8) for 14.2, as retrieved<br>
> from the link in <a href="http://slackbuilds.org" rel="noreferrer" target="_top">slackbuilds.org</a>:<br>
> <br>
> <br>
> [ 62%] Built target snappy<br>
> Scanning dependencies of target snappy_unittest<br>
> [ 75%] Building CXX object<br>
> CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o<br>
> [ 87%] Building CXX object CMakeFiles/snappy_unittest.dir/snappy-test.cc.o<br>
> [100%] Linking CXX executable snappy_unittest<br>
> CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function<br>
> `testing::internal::scoped_ptr<std::basic_stringstream<char,<br>
> std::char_traits<char>, std::allocator<char> ><br>
>> ::reset(std::basic_stringstream<char, std::char_traits<char>,<br>
> std::allocator<char> >*) [clone .constprop.163]':<br>
> snappy_unittest.cc:(.text+0x1d10): undefined reference to<br>
> `testing::internal::IsTrue(bool)'<br>
> CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function<br>
> `snappy::Snappy_ZeroOffsetCopy_Test::TestBody()':<br>
> snappy_unittest.cc:(.text+0x3319): undefined reference to<br>
> `testing::Message::Message()'<br>
> <br>
> (scores of similar lines)<br>
> <br>
> CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy33Snappy_FindMatchLengthRandom_TestE[_ZTVN6snappy33Snappy_FindMatchLengthRandom_TestE]+0x28):<br>
> undefined reference to `testing::Test::TearDown()'<br>
> CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy27Snappy_VerifyCharTable_TestE[_ZTVN6snappy27Snappy_VerifyCharTable_TestE]+0x20):<br>
> undefined reference to `testing::Test::SetUp()'<br>
> CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy27Snappy_VerifyCharTable_TestE[_ZTVN6snappy27Snappy_VerifyCharTable_TestE]+0x28):<br>
> undefined reference to `testing::Test::TearDown()'<br>
> collect2: error: ld returned 1 exit status<br>
> CMakeFiles/snappy_unittest.dir/build.make:121: recipe for target<br>
> 'snappy_unittest' failed<br>
> make[2]: *** [snappy_unittest] Error 1<br>
> CMakeFiles/Makefile2:104: recipe for target<br>
> 'CMakeFiles/snappy_unittest.dir/all' failed<br>
> make[1]: *** [CMakeFiles/snappy_unittest.dir/all] Error 2<br>
> Makefile:138: recipe for target 'all' failed<br>
> make: *** [all] Error 2<br>
<br>
Did you have any package that relates to unit testing?<br>
i tested this on clean VM and it built fine<br>
<br>
<br>
-- <br>
Willy Sudiarto Raharjo<br>
<br>
</blockquote></div></div>