[Slackbuilds-users] Snappy not building

Luveh Keraph 1.41421 at gmail.com
Mon Apr 6 15:52:30 UTC 2020


    This is for the latest version of snappy (1.1.8) for 14.2, as retrieved
from the link in slackbuilds.org:


[ 62%] Built target snappy
Scanning dependencies of target snappy_unittest
[ 75%] Building CXX object
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o
[ 87%] Building CXX object CMakeFiles/snappy_unittest.dir/snappy-test.cc.o
[100%] Linking CXX executable snappy_unittest
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.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> >*) [clone .constprop.163]':
snappy_unittest.cc:(.text+0x1d10): undefined reference to
`testing::internal::IsTrue(bool)'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function
`snappy::Snappy_ZeroOffsetCopy_Test::TestBody()':
snappy_unittest.cc:(.text+0x3319): undefined reference to
`testing::Message::Message()'

(scores of similar lines)

CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy33Snappy_FindMatchLengthRandom_TestE[_ZTVN6snappy33Snappy_FindMatchLengthRandom_TestE]+0x28):
undefined reference to `testing::Test::TearDown()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy27Snappy_VerifyCharTable_TestE[_ZTVN6snappy27Snappy_VerifyCharTable_TestE]+0x20):
undefined reference to `testing::Test::SetUp()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy27Snappy_VerifyCharTable_TestE[_ZTVN6snappy27Snappy_VerifyCharTable_TestE]+0x28):
undefined reference to `testing::Test::TearDown()'
collect2: error: ld returned 1 exit status
CMakeFiles/snappy_unittest.dir/build.make:121: recipe for target
'snappy_unittest' failed
make[2]: *** [snappy_unittest] Error 1
CMakeFiles/Makefile2:104: recipe for target
'CMakeFiles/snappy_unittest.dir/all' failed
make[1]: *** [CMakeFiles/snappy_unittest.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20200406/b2f6a082/attachment.htm>


More information about the SlackBuilds-users mailing list