winday00 / google-glog

Automatically exported from code.google.com/p/google-glog
Other
0 stars 0 forks source link

How to turn of testing while compiling glog when running 'make' #204

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. i run ./configure
2. i run make to compile glog

What is the expected output? What do you see instead?
it getnerate some problem with testing as below:

Undefined symbols for architecture x86_64:
  "testing::internal::StrStreamToString(std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)", referenced from:
      testing::internal::String testing::internal::StreamableToString<void const*>(void const* const&) in logging_unittest-logging_unittest.o
      testing::internal::String testing::internal::StreamableToString<int>(int const&) in logging_unittest-logging_unittest.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [logging_unittest] Error 1

I am using glog-0.3.3 on Mac OS X. 
SO how can i turn of testing while compiling glog?

Original issue reported on code.google.com by phongngu...@gmail.com on 7 May 2014 at 5:56