Have fixed the slackbuild to avoid build the tests.
Can you please check if it works with you?
If it works I will upload this version to the slackbuilds.org

On 3/30/20 12:52 AM, Stuart Little wrote:
Indeed, turning off the tests worked.

I could not find a flag-driven way to do this, so I made a small change to the 
source (cloned from github[0]):

--- cut here ---

commit b9bb9d34f062e20c9e3df5eff4faa02eba6e1f17 (HEAD -> testsoff)
Date:   Sun Mar 29 19:49:26 2020 -0400

     turn tests off

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 68686f7..ee5bc0d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,7 +41,7 @@ endif(NOT CMAKE_CXX_STANDARD)
  # it prominent in the GUI.
  option(BUILD_SHARED_LIBS "Build shared libraries(DLLs)." OFF)
-option(SNAPPY_BUILD_TESTS "Build Snappy's own tests." ON)
+option(SNAPPY_BUILD_TESTS "Build Snappy's own tests." OFF)
option(SNAPPY_FUZZING_BUILD "Build Snappy for fuzzing." OFF)

--- end ---

Everything worked fine afterwards (i.e. built and installed the Slackbuild as 
usual).

---

References:

[0] https://github.com/google/snappy


On Sun, Mar 29, 2020 at 07:22:54PM -0400, Stuart Little wrote:
Hello,

I am on Slackware 14.2 and I tried to update snappy[0] just now from the 
Slackbuild. I am getting a suite of errors relating to tests (log attached).

I'll be looking into whether it's possible to pass snappy some flag that 
suppresses the compilation of snappy_unittest, see if that helps.

Thank you, and al the best

---

References:

[0] https://slackbuilds.org/repository/14.2/development/snappy/?search=snappy
###########################################
        New queue process started on:
        Sun Mar 29 19:17:19 EDT 2020
###########################################

+++++++++++++++++++++++++++++++++++++++++++
PRE-CHECK LOG
Using the SBo repository for Slackware 14.2
Queue Process:  Download, build, and install

snappy:
   Checking GPG for snappy.tar.gz ... OK
   Processing snappy 1.1.8-1
   Using original .info file
   Using original SlackBuild file
   No build options selected.

+++++++++++++++++++++++++++++++++++++++++++

Pre-check complete.

Do you wish to proceed based on the search results above? Packages not
found will be skipped during the process.

(P)roceed or (Q)uit?: p


Processing snappy

snappy:
Found snappy-1.1.8.tar.gz in /var/cache/sbopkg.
Checking MD5SUM:
   MD5SUM check for snappy-1.1.8.tar.gz ... OK
Building package for snappy...
snappy-1.1.8/
snappy-1.1.8/.appveyor.yml
snappy-1.1.8/.gitignore
snappy-1.1.8/.travis.yml
snappy-1.1.8/AUTHORS
snappy-1.1.8/CMakeLists.txt
snappy-1.1.8/CONTRIBUTING.md
snappy-1.1.8/COPYING
snappy-1.1.8/NEWS
snappy-1.1.8/README.md
snappy-1.1.8/cmake/
snappy-1.1.8/cmake/SnappyConfig.cmake.in
snappy-1.1.8/cmake/config.h.in
snappy-1.1.8/docs/
snappy-1.1.8/docs/README.md
snappy-1.1.8/format_description.txt
snappy-1.1.8/framing_format.txt
snappy-1.1.8/snappy-c.cc
snappy-1.1.8/snappy-c.h
snappy-1.1.8/snappy-internal.h
snappy-1.1.8/snappy-sinksource.cc
snappy-1.1.8/snappy-sinksource.h
snappy-1.1.8/snappy-stubs-internal.cc
snappy-1.1.8/snappy-stubs-internal.h
snappy-1.1.8/snappy-stubs-public.h.in
snappy-1.1.8/snappy-test.cc
snappy-1.1.8/snappy-test.h
snappy-1.1.8/snappy.cc
snappy-1.1.8/snappy.h
snappy-1.1.8/snappy_compress_fuzzer.cc
snappy-1.1.8/snappy_uncompress_fuzzer.cc
snappy-1.1.8/snappy_unittest.cc
snappy-1.1.8/testdata/
snappy-1.1.8/testdata/alice29.txt
snappy-1.1.8/testdata/asyoulik.txt
snappy-1.1.8/testdata/baddata1.snappy
snappy-1.1.8/testdata/baddata2.snappy
snappy-1.1.8/testdata/baddata3.snappy
snappy-1.1.8/testdata/fireworks.jpeg
snappy-1.1.8/testdata/geo.protodata
snappy-1.1.8/testdata/html
snappy-1.1.8/testdata/html_x_4
snappy-1.1.8/testdata/kppkn.gtb
snappy-1.1.8/testdata/lcet10.txt
snappy-1.1.8/testdata/paper-100k.pdf
snappy-1.1.8/testdata/plrabn12.txt
snappy-1.1.8/testdata/urls.10K
-- The C compiler identification is GNU 5.5.0
-- The CXX compiler identification is GNU 5.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Looking for byteswap.h
-- Looking for byteswap.h - found
-- Looking for sys/endian.h
-- Looking for sys/endian.h - not found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/resource.h
-- Looking for sys/resource.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/uio.h
-- Looking for sys/uio.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for windows.h
-- Looking for windows.h - not found
-- Looking for zlibVersion in z
-- Looking for zlibVersion in z - found
-- Looking for lzo1x_1_15_compress in lzo2
-- Looking for lzo1x_1_15_compress in lzo2 - found
-- Performing Test HAVE_VISUAL_STUDIO_ARCH_AVX
-- Performing Test HAVE_VISUAL_STUDIO_ARCH_AVX - Failed
-- Performing Test HAVE_VISUAL_STUDIO_ARCH_AVX2
-- Performing Test HAVE_VISUAL_STUDIO_ARCH_AVX2 - Failed
-- Performing Test HAVE_CLANG_MAVX
-- Performing Test HAVE_CLANG_MAVX - Success
-- Performing Test HAVE_CLANG_MBMI2
-- Performing Test HAVE_CLANG_MBMI2 - Success
-- Performing Test HAVE_BUILTIN_EXPECT
-- Performing Test HAVE_BUILTIN_EXPECT - Success
-- Performing Test HAVE_BUILTIN_CTZ
-- Performing Test HAVE_BUILTIN_CTZ - Success
-- Performing Test SNAPPY_HAVE_SSSE3
-- Performing Test SNAPPY_HAVE_SSSE3 - Failed
-- Performing Test SNAPPY_HAVE_BMI2
-- Performing Test SNAPPY_HAVE_BMI2 - Failed
-- Looking for mmap
-- Looking for mmap - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/SBo/snappy-1.1.8/build
Scanning dependencies of target snappy
[ 25%] Building CXX object CMakeFiles/snappy.dir/snappy-sinksource.cc.o
[ 25%] Building CXX object CMakeFiles/snappy.dir/snappy.cc.o
[ 37%] Building CXX object CMakeFiles/snappy.dir/snappy-c.cc.o
[ 50%] Building CXX object CMakeFiles/snappy.dir/snappy-stubs-internal.cc.o
[ 62%] Linking CXX shared library libsnappy.so
[ 62%] Built target snappy
Scanning dependencies of target snappy_unittest
[ 87%] 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()'
snappy_unittest.cc:(.text+0x3340): undefined reference to 
`testing::internal::GetBoolAssertionFailureMessage(testing::AssertionResult 
const&, char const*, char const*, char const*)'
snappy_unittest.cc:(.text+0x3363): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x336e): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x3376): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x33df): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function 
`snappy::Snappy_ZeroOffsetCopyValidation_Test::TestBody()':
snappy_unittest.cc:(.text+0x3461): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x3488): undefined reference to 
`testing::internal::GetBoolAssertionFailureMessage(testing::AssertionResult 
const&, char const*, char const*, char const*)'
snappy_unittest.cc:(.text+0x34ab): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x34b6): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x34be): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x3527): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function 
`snappy::Snappy_FindMatchLengthRandom_Test::TestBody()':
snappy_unittest.cc:(.text+0x7639): undefined reference to 
`testing::AssertionSuccess()'
snappy_unittest.cc:(.text+0x7657): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x768f): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x769a): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x76a2): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x76b7): undefined reference to 
`testing::internal::IsTrue(bool)'
snappy_unittest.cc:(.text+0x76e9): undefined reference to 
`testing::internal::IsTrue(bool)'
snappy_unittest.cc:(.text+0x7985): undefined reference to 
`testing::internal::PrintTo(unsigned char, std::ostream*)'
snappy_unittest.cc:(.text+0x7cdd): undefined reference to 
`testing::internal::PrintTo(unsigned char, std::ostream*)'
snappy_unittest.cc:(.text+0x7f1e): undefined reference to 
`testing::internal::EqFailure(char const*, char const*, std::string const&, 
std::string const&, bool)'
snappy_unittest.cc:(.text+0x7f66): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x7f9e): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x7fa9): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x7fb1): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x7fc6): undefined reference to 
`testing::internal::IsTrue(bool)'
snappy_unittest.cc:(.text+0x7ff9): undefined reference to 
`testing::internal::IsTrue(bool)'
snappy_unittest.cc:(.text+0x8176): undefined reference to 
`testing::AssertionSuccess()'
snappy_unittest.cc:(.text+0x8924): undefined reference to 
`testing::internal::PrintStringTo(std::string const&, std::ostream*)'
snappy_unittest.cc:(.text+0x8966): undefined reference to 
`testing::internal::PrintStringTo(std::string const&, std::ostream*)'
snappy_unittest.cc:(.text+0x89a9): undefined reference to 
`testing::internal::EqFailure(char const*, char const*, std::string const&, 
std::string const&, bool)'
snappy_unittest.cc:(.text+0x89ed): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x8a25): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x8a30): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x8a38): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x8b6f): undefined reference to 
`testing::AssertionSuccess()'
snappy_unittest.cc:(.text+0x8e03): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x8e30): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x8f1f): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function 
`snappy::Snappy_FindMatchLength_Test::TestBody()':
snappy_unittest.cc:(.text+0x8fdd): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x900a): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x9015): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x901d): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x907b): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x90a8): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x90b3): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x90bb): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x911d): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x914a): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x9155): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x915d): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x91bb): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x91e8): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x91f3): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x91fb): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x925d): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x928a): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x9295): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x929d): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x92ff): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x932c): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x9337): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x933f): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x93a1): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x93ce): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x93d9): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x93e1): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x9443): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x9470): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x947b): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x9483): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x94e5): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x9512): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x951d): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x9525): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x9587): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x95b4): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x95bf): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x95c7): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x9629): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x9656): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x9661): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x9669): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x96cb): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x96f8): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x9703): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x970b): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x976d): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x979a): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x97a5): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x97ad): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x980f): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x983c): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x9847): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x984f): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x98b1): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x98de): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x98e9): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x98f1): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x9953): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x9980): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x998b): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x9993): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x99f5): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x9a22): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x9a2d): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x9a35): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x9a97): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x9ac4): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x9acf): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x9ad7): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x9b39): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x9b66): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x9b71): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x9b79): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x9bdb): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x9c08): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x9c13): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x9c1b): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x9c7d): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x9caa): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x9cb5): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x9cbd): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x9d1f): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x9d4c): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x9d57): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x9d5f): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x9dc1): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x9dee): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x9df9): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x9e01): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x9e5f): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x9e8c): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x9e97): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x9e9f): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x9efd): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x9f2a): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x9f35): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x9f3d): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0x9f9b): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0x9fc8): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0x9fd3): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0x9fdb): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xa039): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0xa066): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0xa071): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0xa079): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xa0db): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0xa108): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0xa113): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0xa11b): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xa17d): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0xa1aa): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0xa1b5): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0xa1bd): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xa21f): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0xa24c): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0xa257): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0xa25f): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xa2c1): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0xa2ee): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0xa2f9): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0xa301): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xa363): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0xa390): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0xa39b): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0xa3a3): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xa405): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0xa432): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0xa43d): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0xa445): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xa4a7): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0xa4d4): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0xa4df): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0xa4e7): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xa549): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0xa576): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0xa581): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0xa589): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xa5eb): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0xa618): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0xa623): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0xa62b): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xa68d): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0xa6ba): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0xa6c5): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0xa6cd): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xa72f): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0xa75c): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0xa767): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0xa76f): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xa7d1): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0xa7fe): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0xa809): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0xa811): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xa873): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0xa8a0): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0xa8ab): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0xa8b3): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xa915): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0xa942): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0xa94d): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0xa955): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xa9b7): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0xa9e4): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0xa9ef): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0xa9f7): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xaa59): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0xaa86): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0xaa91): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0xaa99): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xaafb): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0xab28): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0xab33): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0xab3b): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xab9d): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0xabca): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0xabd5): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0xabdd): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xac31): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xac68): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xace3): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xad27): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:snappy_unittest.cc:(.text+0xad59):
 more undefined references to 
`testing::internal::AssertHelper::~AssertHelper()' follow
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function 
`snappy::Snappy_VerifyCharTable_Test::TestBody()':
snappy_unittest.cc:(.text+0xbae2): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0xbb69): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0xbb79): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0xbb81): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xbbb4): undefined reference to 
`testing::AssertionSuccess()'
snappy_unittest.cc:(.text+0xbbcc): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0xbc2c): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0xbc39): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0xbc41): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xbc56): undefined reference to 
`testing::internal::IsTrue(bool)'
snappy_unittest.cc:(.text+0xbc89): undefined reference to 
`testing::internal::IsTrue(bool)'
snappy_unittest.cc:(.text+0xc485): undefined reference to 
`testing::internal::EqFailure(char const*, char const*, std::string const&, 
std::string const&, bool)'
snappy_unittest.cc:(.text+0xc4c5): undefined reference to 
`testing::Message::Message()'
snappy_unittest.cc:(.text+0xc52c): undefined reference to 
`testing::internal::AssertHelper::AssertHelper(testing::TestPartResult::Type, 
char const*, int, char const*)'
snappy_unittest.cc:(.text+0xc537): undefined reference to 
`testing::internal::AssertHelper::operator=(testing::Message const&) const'
snappy_unittest.cc:(.text+0xc53f): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xc554): undefined reference to 
`testing::internal::IsTrue(bool)'
snappy_unittest.cc:(.text+0xc581): undefined reference to 
`testing::internal::IsTrue(bool)'
snappy_unittest.cc:(.text+0xc686): undefined reference to 
`testing::AssertionSuccess()'
snappy_unittest.cc:(.text+0xcbfd): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xcc28): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
snappy_unittest.cc:(.text+0xcc60): undefined reference to 
`testing::internal::AssertHelper::~AssertHelper()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function 
`snappy::Snappy_VerifyCharTable_Test::~Snappy_VerifyCharTable_Test()':
snappy_unittest.cc:(.text._ZN6snappy27Snappy_VerifyCharTable_TestD2Ev[_ZN6snappy27Snappy_VerifyCharTable_TestD5Ev]+0xf):
 undefined reference to `testing::Test::~Test()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function 
`snappy::Snappy_VerifyCharTable_Test::~Snappy_VerifyCharTable_Test()':
snappy_unittest.cc:(.text._ZN6snappy27Snappy_VerifyCharTable_TestD0Ev[_ZN6snappy27Snappy_VerifyCharTable_TestD5Ev]+0x13):
 undefined reference to `testing::Test::~Test()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function 
`snappy::Snappy_FindMatchLengthRandom_Test::~Snappy_FindMatchLengthRandom_Test()':
snappy_unittest.cc:(.text._ZN6snappy33Snappy_FindMatchLengthRandom_TestD2Ev[_ZN6snappy33Snappy_FindMatchLengthRandom_TestD5Ev]+0xf):
 undefined reference to `testing::Test::~Test()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function 
`snappy::Snappy_FindMatchLengthRandom_Test::~Snappy_FindMatchLengthRandom_Test()':
snappy_unittest.cc:(.text._ZN6snappy33Snappy_FindMatchLengthRandom_TestD0Ev[_ZN6snappy33Snappy_FindMatchLengthRandom_TestD5Ev]+0x13):
 undefined reference to `testing::Test::~Test()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function 
`snappy::Snappy_FindMatchLength_Test::~Snappy_FindMatchLength_Test()':
snappy_unittest.cc:(.text._ZN6snappy27Snappy_FindMatchLength_TestD2Ev[_ZN6snappy27Snappy_FindMatchLength_TestD5Ev]+0xf):
 undefined reference to `testing::Test::~Test()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:snappy_unittest.cc:(.text._ZN6snappy27Snappy_FindMatchLength_TestD0Ev[_ZN6snappy27Snappy_FindMatchLength_TestD5Ev]+0x13):
 more undefined references to `testing::Test::~Test()' follow
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function 
`testing::internal::TestFactoryImpl<snappy::CorruptedTest_VerifyCorrupted_Test>::CreateTest()':
snappy_unittest.cc:(.text._ZN7testing8internal15TestFactoryImplIN6snappy34CorruptedTest_VerifyCorrupted_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN6snappy34CorruptedTest_VerifyCorrupted_TestEE10CreateTestEv]+0x17):
 undefined reference to `testing::Test::Test()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function 
`testing::internal::TestFactoryImpl<snappy::Snappy_SimpleTests_Test>::CreateTest()':
snappy_unittest.cc:(.text._ZN7testing8internal15TestFactoryImplIN6snappy23Snappy_SimpleTests_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN6snappy23Snappy_SimpleTests_TestEE10CreateTestEv]+0x17):
 undefined reference to `testing::Test::Test()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function 
`testing::internal::TestFactoryImpl<snappy::Snappy_MaxBlowup_Test>::CreateTest()':
snappy_unittest.cc:(.text._ZN7testing8internal15TestFactoryImplIN6snappy21Snappy_MaxBlowup_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN6snappy21Snappy_MaxBlowup_TestEE10CreateTestEv]+0x17):
 undefined reference to `testing::Test::Test()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function 
`testing::internal::TestFactoryImpl<snappy::Snappy_RandomData_Test>::CreateTest()':
snappy_unittest.cc:(.text._ZN7testing8internal15TestFactoryImplIN6snappy22Snappy_RandomData_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN6snappy22Snappy_RandomData_TestEE10CreateTestEv]+0x17):
 undefined reference to `testing::Test::Test()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function 
`testing::internal::TestFactoryImpl<snappy::Snappy_FourByteOffset_Test>::CreateTest()':
snappy_unittest.cc:(.text._ZN7testing8internal15TestFactoryImplIN6snappy26Snappy_FourByteOffset_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN6snappy26Snappy_FourByteOffset_TestEE10CreateTestEv]+0x17):
 undefined reference to `testing::Test::Test()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:snappy_unittest.cc:(.text._ZN7testing8internal15TestFactoryImplIN6snappy26Snappy_IOVecEdgeCases_TestEE10CreateTestEv[_ZN7testing8internal15TestFactoryImplIN6snappy26Snappy_IOVecEdgeCases_TestEE10CreateTestEv]+0x17):
 more undefined references to `testing::Test::Test()' follow
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function 
`__static_initialization_and_destruction_0(int, int) [clone .constprop.154]':
snappy_unittest.cc:(.text.startup+0x5b): undefined reference to 
`testing::internal::GetTestTypeId()'
snappy_unittest.cc:(.text.startup+0xbd): undefined reference to 
`testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char 
const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), 
void (*)(), testing::internal::TestFactoryBase*)'
snappy_unittest.cc:(.text.startup+0x118): undefined reference to 
`testing::internal::GetTestTypeId()'
snappy_unittest.cc:(.text.startup+0x168): undefined reference to 
`testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char 
const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), 
void (*)(), testing::internal::TestFactoryBase*)'
snappy_unittest.cc:(.text.startup+0x1bc): undefined reference to 
`testing::internal::GetTestTypeId()'
snappy_unittest.cc:(.text.startup+0x20c): undefined reference to 
`testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char 
const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), 
void (*)(), testing::internal::TestFactoryBase*)'
snappy_unittest.cc:(.text.startup+0x260): undefined reference to 
`testing::internal::GetTestTypeId()'
snappy_unittest.cc:(.text.startup+0x2b0): undefined reference to 
`testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char 
const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), 
void (*)(), testing::internal::TestFactoryBase*)'
snappy_unittest.cc:(.text.startup+0x304): undefined reference to 
`testing::internal::GetTestTypeId()'
snappy_unittest.cc:(.text.startup+0x354): undefined reference to 
`testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char 
const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), 
void (*)(), testing::internal::TestFactoryBase*)'
snappy_unittest.cc:(.text.startup+0x3a8): undefined reference to 
`testing::internal::GetTestTypeId()'
snappy_unittest.cc:(.text.startup+0x3f8): undefined reference to 
`testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char 
const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), 
void (*)(), testing::internal::TestFactoryBase*)'
snappy_unittest.cc:(.text.startup+0x44c): undefined reference to 
`testing::internal::GetTestTypeId()'
snappy_unittest.cc:(.text.startup+0x49c): undefined reference to 
`testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char 
const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), 
void (*)(), testing::internal::TestFactoryBase*)'
snappy_unittest.cc:(.text.startup+0x4f0): undefined reference to 
`testing::internal::GetTestTypeId()'
snappy_unittest.cc:(.text.startup+0x540): undefined reference to 
`testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char 
const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), 
void (*)(), testing::internal::TestFactoryBase*)'
snappy_unittest.cc:(.text.startup+0x594): undefined reference to 
`testing::internal::GetTestTypeId()'
snappy_unittest.cc:(.text.startup+0x5e5): undefined reference to 
`testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char 
const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), 
void (*)(), testing::internal::TestFactoryBase*)'
snappy_unittest.cc:(.text.startup+0x639): undefined reference to 
`testing::internal::GetTestTypeId()'
snappy_unittest.cc:(.text.startup+0x68a): undefined reference to 
`testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char 
const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), 
void (*)(), testing::internal::TestFactoryBase*)'
snappy_unittest.cc:(.text.startup+0x6de): undefined reference to 
`testing::internal::GetTestTypeId()'
snappy_unittest.cc:(.text.startup+0x72f): undefined reference to 
`testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char 
const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), 
void (*)(), testing::internal::TestFactoryBase*)'
snappy_unittest.cc:(.text.startup+0x783): undefined reference to 
`testing::internal::GetTestTypeId()'
snappy_unittest.cc:(.text.startup+0x7d4): undefined reference to 
`testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char 
const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), 
void (*)(), testing::internal::TestFactoryBase*)'
snappy_unittest.cc:(.text.startup+0x828): undefined reference to 
`testing::internal::GetTestTypeId()'
snappy_unittest.cc:(.text.startup+0x878): undefined reference to 
`testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char 
const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), 
void (*)(), testing::internal::TestFactoryBase*)'
snappy_unittest.cc:(.text.startup+0x8cc): undefined reference to 
`testing::internal::GetTestTypeId()'
snappy_unittest.cc:(.text.startup+0x91c): undefined reference to 
`testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char 
const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), 
void (*)(), testing::internal::TestFactoryBase*)'
snappy_unittest.cc:(.text.startup+0x970): undefined reference to 
`testing::internal::GetTestTypeId()'
snappy_unittest.cc:(.text.startup+0x9c0): undefined reference to 
`testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char 
const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), 
void (*)(), testing::internal::TestFactoryBase*)'
snappy_unittest.cc:(.text.startup+0xa14): undefined reference to 
`testing::internal::GetTestTypeId()'
snappy_unittest.cc:(.text.startup+0xa64): undefined reference to 
`testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char 
const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), 
void (*)(), testing::internal::TestFactoryBase*)'
snappy_unittest.cc:(.text.startup+0xab8): undefined reference to 
`testing::internal::GetTestTypeId()'
snappy_unittest.cc:(.text.startup+0xb08): undefined reference to 
`testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char 
const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), 
void (*)(), testing::internal::TestFactoryBase*)'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function `main':
snappy_unittest.cc:(.text.startup+0x115e): undefined reference to 
`testing::InitGoogleTest(int*, char**)'
snappy_unittest.cc:(.text.startup+0x179c): undefined reference to 
`testing::UnitTest::GetInstance()'
snappy_unittest.cc:(.text.startup+0x17a4): undefined reference to 
`testing::UnitTest::Run()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function 
`testing::internal::scoped_ptr<std::string>::reset(std::string*)':
snappy_unittest.cc:(.text._ZN7testing8internal10scoped_ptrISsE5resetEPSs[_ZN7testing8internal10scoped_ptrISsE5resetEPSs]+0x19):
 undefined reference to `testing::internal::IsTrue(bool)'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function `testing::AssertionResult& 
testing::AssertionResult::operator<< <char const*>(char const* const&)':
snappy_unittest.cc:(.text._ZN7testing15AssertionResultlsIPKcEERS0_RKT_[_ZN7testing15AssertionResultlsIPKcEERS0_RKT_]+0x17):
 undefined reference to `testing::Message::Message()'
snappy_unittest.cc:(.text._ZN7testing15AssertionResultlsIPKcEERS0_RKT_[_ZN7testing15AssertionResultlsIPKcEERS0_RKT_]+0x54):
 undefined reference to `testing::Message::GetString() const'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function `testing::AssertionResult& 
testing::AssertionResult::operator<< <char [5]>(char const (&) [5])':
snappy_unittest.cc:(.text._ZN7testing15AssertionResultlsIA5_cEERS0_RKT_[_ZN7testing15AssertionResultlsIA5_cEERS0_RKT_]+0x19):
 undefined reference to `testing::Message::Message()'
snappy_unittest.cc:(.text._ZN7testing15AssertionResultlsIA5_cEERS0_RKT_[_ZN7testing15AssertionResultlsIA5_cEERS0_RKT_]+0x55):
 undefined reference to `testing::Message::GetString() const'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function `std::string 
testing::PrintToString<char>(char const&)':
snappy_unittest.cc:(.text._ZN7testing13PrintToStringIcEESsRKT_[_ZN7testing13PrintToStringIcEESsRKT_]+0x2c):
 undefined reference to `testing::internal::PrintTo(unsigned char, 
std::ostream*)'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function `testing::AssertionResult 
testing::internal::CmpHelperOpFailure<char, char>(char const*, char const*, char 
const&, char const&, char const*)':
snappy_unittest.cc:(.text._ZN7testing8internal18CmpHelperOpFailureIccEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureIccEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0x46):
 undefined reference to `testing::AssertionFailure()'
snappy_unittest.cc:(.text._ZN7testing8internal18CmpHelperOpFailureIccEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureIccEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0xf1):
 undefined reference to `testing::Message::Message()'
snappy_unittest.cc:(.text._ZN7testing8internal18CmpHelperOpFailureIccEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureIccEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0x132):
 undefined reference to `testing::Message::GetString() const'
snappy_unittest.cc:(.text._ZN7testing8internal18CmpHelperOpFailureIccEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureIccEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0x18d):
 undefined reference to `testing::Message::Message()'
snappy_unittest.cc:(.text._ZN7testing8internal18CmpHelperOpFailureIccEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureIccEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0x1bd):
 undefined reference to `testing::Message::GetString() const'
snappy_unittest.cc:(.text._ZN7testing8internal18CmpHelperOpFailureIccEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureIccEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0x200):
 undefined reference to 
`testing::AssertionResult::AssertionResult(testing::AssertionResult const&)'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function `testing::AssertionResult 
testing::internal::CmpHelperEQ<int, int>(char const*, char const*, int const&, int 
const&)':
snappy_unittest.cc:(.text._ZN7testing8internal11CmpHelperEQIiiEENS_15AssertionResultEPKcS4_RKT_RKT0_[_ZN7testing8internal11CmpHelperEQIiiEENS_15AssertionResultEPKcS4_RKT_RKT0_]+0x54):
 undefined reference to `testing::internal::EqFailure(char const*, char const*, 
std::string const&, std::string const&, bool)'
snappy_unittest.cc:(.text._ZN7testing8internal11CmpHelperEQIiiEENS_15AssertionResultEPKcS4_RKT_RKT0_[_ZN7testing8internal11CmpHelperEQIiiEENS_15AssertionResultEPKcS4_RKT_RKT0_]+0x91):
 undefined reference to `testing::AssertionSuccess()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o: In function `testing::AssertionResult 
testing::internal::CmpHelperOpFailure<int, unsigned short>(char const*, char const*, 
int const&, unsigned short const&, char const*)':
snappy_unittest.cc:(.text._ZN7testing8internal18CmpHelperOpFailureIitEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureIitEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0x46):
 undefined reference to `testing::AssertionFailure()'
snappy_unittest.cc:(.text._ZN7testing8internal18CmpHelperOpFailureIitEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureIitEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0xf1):
 undefined reference to `testing::Message::Message()'
snappy_unittest.cc:(.text._ZN7testing8internal18CmpHelperOpFailureIitEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureIitEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0x132):
 undefined reference to `testing::Message::GetString() const'
snappy_unittest.cc:(.text._ZN7testing8internal18CmpHelperOpFailureIitEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureIitEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0x18d):
 undefined reference to `testing::Message::Message()'
snappy_unittest.cc:(.text._ZN7testing8internal18CmpHelperOpFailureIitEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureIitEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0x1bd):
 undefined reference to `testing::Message::GetString() const'
snappy_unittest.cc:(.text._ZN7testing8internal18CmpHelperOpFailureIitEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_[_ZN7testing8internal18CmpHelperOpFailureIitEENS_15AssertionResultEPKcS4_RKT_RKT0_S4_]+0x200):
 undefined reference to 
`testing::AssertionResult::AssertionResult(testing::AssertionResult const&)'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTIN6snappy34CorruptedTest_VerifyCorrupted_TestE[_ZTIN6snappy34CorruptedTest_VerifyCorrupted_TestE]+0x10):
 undefined reference to `typeinfo for testing::Test'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTIN6snappy23Snappy_SimpleTests_TestE[_ZTIN6snappy23Snappy_SimpleTests_TestE]+0x10):
 undefined reference to `typeinfo for testing::Test'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTIN6snappy21Snappy_MaxBlowup_TestE[_ZTIN6snappy21Snappy_MaxBlowup_TestE]+0x10):
 undefined reference to `typeinfo for testing::Test'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTIN6snappy22Snappy_RandomData_TestE[_ZTIN6snappy22Snappy_RandomData_TestE]+0x10):
 undefined reference to `typeinfo for testing::Test'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTIN6snappy26Snappy_FourByteOffset_TestE[_ZTIN6snappy26Snappy_FourByteOffset_TestE]+0x10):
 undefined reference to `typeinfo for testing::Test'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTIN6snappy26Snappy_IOVecEdgeCases_TestE[_ZTIN6snappy26Snappy_IOVecEdgeCases_TestE]+0x10):
 more undefined references to `typeinfo for testing::Test' follow
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy34CorruptedTest_VerifyCorrupted_TestE[_ZTVN6snappy34CorruptedTest_VerifyCorrupted_TestE]+0x20):
 undefined reference to `testing::Test::SetUp()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy34CorruptedTest_VerifyCorrupted_TestE[_ZTVN6snappy34CorruptedTest_VerifyCorrupted_TestE]+0x28):
 undefined reference to `testing::Test::TearDown()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy23Snappy_SimpleTests_TestE[_ZTVN6snappy23Snappy_SimpleTests_TestE]+0x20):
 undefined reference to `testing::Test::SetUp()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy23Snappy_SimpleTests_TestE[_ZTVN6snappy23Snappy_SimpleTests_TestE]+0x28):
 undefined reference to `testing::Test::TearDown()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy21Snappy_MaxBlowup_TestE[_ZTVN6snappy21Snappy_MaxBlowup_TestE]+0x20):
 undefined reference to `testing::Test::SetUp()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy21Snappy_MaxBlowup_TestE[_ZTVN6snappy21Snappy_MaxBlowup_TestE]+0x28):
 undefined reference to `testing::Test::TearDown()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy22Snappy_RandomData_TestE[_ZTVN6snappy22Snappy_RandomData_TestE]+0x20):
 undefined reference to `testing::Test::SetUp()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy22Snappy_RandomData_TestE[_ZTVN6snappy22Snappy_RandomData_TestE]+0x28):
 undefined reference to `testing::Test::TearDown()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy26Snappy_FourByteOffset_TestE[_ZTVN6snappy26Snappy_FourByteOffset_TestE]+0x20):
 undefined reference to `testing::Test::SetUp()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy26Snappy_FourByteOffset_TestE[_ZTVN6snappy26Snappy_FourByteOffset_TestE]+0x28):
 undefined reference to `testing::Test::TearDown()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy26Snappy_IOVecEdgeCases_TestE[_ZTVN6snappy26Snappy_IOVecEdgeCases_TestE]+0x20):
 undefined reference to `testing::Test::SetUp()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy26Snappy_IOVecEdgeCases_TestE[_ZTVN6snappy26Snappy_IOVecEdgeCases_TestE]+0x28):
 undefined reference to `testing::Test::TearDown()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy32Snappy_IOVecLiteralOverflow_TestE[_ZTVN6snappy32Snappy_IOVecLiteralOverflow_TestE]+0x20):
 undefined reference to `testing::Test::SetUp()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy32Snappy_IOVecLiteralOverflow_TestE[_ZTVN6snappy32Snappy_IOVecLiteralOverflow_TestE]+0x28):
 undefined reference to `testing::Test::TearDown()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy29Snappy_IOVecCopyOverflow_TestE[_ZTVN6snappy29Snappy_IOVecCopyOverflow_TestE]+0x20):
 undefined reference to `testing::Test::SetUp()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy29Snappy_IOVecCopyOverflow_TestE[_ZTVN6snappy29Snappy_IOVecCopyOverflow_TestE]+0x28):
 undefined reference to `testing::Test::TearDown()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy37SnappyCorruption_TruncatedVarint_TestE[_ZTVN6snappy37SnappyCorruption_TruncatedVarint_TestE]+0x20):
 undefined reference to `testing::Test::SetUp()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy37SnappyCorruption_TruncatedVarint_TestE[_ZTVN6snappy37SnappyCorruption_TruncatedVarint_TestE]+0x28):
 undefined reference to `testing::Test::TearDown()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy40SnappyCorruption_UnterminatedVarint_TestE[_ZTVN6snappy40SnappyCorruption_UnterminatedVarint_TestE]+0x20):
 undefined reference to `testing::Test::SetUp()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy40SnappyCorruption_UnterminatedVarint_TestE[_ZTVN6snappy40SnappyCorruption_UnterminatedVarint_TestE]+0x28):
 undefined reference to `testing::Test::TearDown()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy39SnappyCorruption_OverflowingVarint_TestE[_ZTVN6snappy39SnappyCorruption_OverflowingVarint_TestE]+0x20):
 undefined reference to `testing::Test::SetUp()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy39SnappyCorruption_OverflowingVarint_TestE[_ZTVN6snappy39SnappyCorruption_OverflowingVarint_TestE]+0x28):
 undefined reference to `testing::Test::TearDown()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy31Snappy_ReadPastEndOfBuffer_TestE[_ZTVN6snappy31Snappy_ReadPastEndOfBuffer_TestE]+0x20):
 undefined reference to `testing::Test::SetUp()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy31Snappy_ReadPastEndOfBuffer_TestE[_ZTVN6snappy31Snappy_ReadPastEndOfBuffer_TestE]+0x28):
 undefined reference to `testing::Test::TearDown()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy26Snappy_ZeroOffsetCopy_TestE[_ZTVN6snappy26Snappy_ZeroOffsetCopy_TestE]+0x20):
 undefined reference to `testing::Test::SetUp()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy26Snappy_ZeroOffsetCopy_TestE[_ZTVN6snappy26Snappy_ZeroOffsetCopy_TestE]+0x28):
 undefined reference to `testing::Test::TearDown()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy36Snappy_ZeroOffsetCopyValidation_TestE[_ZTVN6snappy36Snappy_ZeroOffsetCopyValidation_TestE]+0x20):
 undefined reference to `testing::Test::SetUp()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy36Snappy_ZeroOffsetCopyValidation_TestE[_ZTVN6snappy36Snappy_ZeroOffsetCopyValidation_TestE]+0x28):
 undefined reference to `testing::Test::TearDown()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy27Snappy_FindMatchLength_TestE[_ZTVN6snappy27Snappy_FindMatchLength_TestE]+0x20):
 undefined reference to `testing::Test::SetUp()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy27Snappy_FindMatchLength_TestE[_ZTVN6snappy27Snappy_FindMatchLength_TestE]+0x28):
 undefined reference to `testing::Test::TearDown()'
CMakeFiles/snappy_unittest.dir/snappy_unittest.cc.o:(.data.rel.ro._ZTVN6snappy33Snappy_FindMatchLengthRandom_TestE[_ZTVN6snappy33Snappy_FindMatchLengthRandom_TestE]+0x20):
 undefined reference to `testing::Test::SetUp()'
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

snappy:
Would you like to continue processing the rest of the
queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?: n

+++++++++++++++++++++++++++++++++++++++++++
SUMMARY LOG
Using the SBo repository for Slackware 14.2
Queue Process:  Download, build, and install

snappy:
   MD5SUM check for snappy-1.1.8.tar.gz ... OK
   Error occurred with build.  Please check the log.

+++++++++++++++++++++++++++++++++++++++++++

###########################################
           Queue process complete!
###########################################

[?12l[?25h

#!/bin/sh
#
# Slackware build script for Snappy
# Written by Mário Antunes ([email protected])

PRGNAM=snappy
VERSION=${VERSION:-1.1.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

if [ -z "$ARCH" ]; then
  case "$( uname -m )" in
    i?86) ARCH=i586 ;;
    arm*) ARCH=arm ;;
       *) ARCH=$( uname -m ) ;;
  esac
fi


CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}

if [ "$ARCH" = "i586" ]; then
  SLKCFLAGS="-O2 -march=i586 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
  SLKCFLAGS="-O2 -march=i686 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
  LIBDIRSUFFIX="64"
else
  SLKCFLAGS="-O2"
  LIBDIRSUFFIX=""
fi

set -e

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP

rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
 \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
 -o -perm 511 \) -exec chmod 755 {} \; -o \
 \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
 -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;

mkdir -p build
cd build
cmake \
  -DCMAKE_C_FLAGS="$SLKCFLAGS" \
  -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
  -DCMAKE_BUILD_TYPE="Release" \
  -DCMAKE_INSTALL_PREFIX=/usr \
  -DBUILD_SHARED_LIBS=ON \
  -DSNAPPY_BUILD_TESTS=OFF \
  ..

make
make install DESTDIR=$PKG
cd ..

ls -la

find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
 grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

cd $PKG
/sbin/makepkg -l y -c n 
$OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
_______________________________________________
SlackBuilds-users mailing list
[email protected]
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/

Reply via email to