Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 331 ============ Checking for Google C++ Mocking Framework ============
- 332
- 333 #include <iostream>
- 334 #include <gtest/gtest.h>
- 335 #include <gmock/gmock.h>
- 336
- 337 using ::testing::Test;
- 338
- 339 int main(int argc, char** argv)
- 340 {
- 341 ::testing::InitGoogleMock(&argc, argv);
- 342 return RUN_ALL_TESTS();
- 343 }
- 344
- 345 c++ -fPIC -g -Wall -O9 -fexpensive-optimizations -frerun-cse-after-loop -fcse-follow-jumps -finline-functions -fschedule-insns2 -fthread-jumps -fforce-addr -fstrength-reduce -funroll-loop s -mfpmath=sse ./configure-229-20517.cpp -o ./configure-23179-20517.o -lgmock -lgtest
- 346 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libgmock.so: undefined reference to `pthread_key_create'
- 347 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libgmock.so: undefined reference to `pthread_getspecific'
- 348 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libgmock.so: undefined reference to `pthread_key_delete'
- 349 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libgmock.so: undefined reference to `pthread_setspecific'
- 350 collect2: ld returned 1 exit status
- 351 no object file created
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement