Advertisement
Guest User

Untitled

a guest
Aug 16th, 2012
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. 331 ============ Checking for Google C++ Mocking Framework ============
  2. 332
  3. 333 #include <iostream>
  4. 334 #include <gtest/gtest.h>
  5. 335 #include <gmock/gmock.h>
  6. 336
  7. 337 using ::testing::Test;
  8. 338
  9. 339 int main(int argc, char** argv)
  10. 340 {
  11. 341 ::testing::InitGoogleMock(&argc, argv);
  12. 342 return RUN_ALL_TESTS();
  13. 343 }
  14. 344
  15. 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
  16. 346 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libgmock.so: undefined reference to `pthread_key_create'
  17. 347 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libgmock.so: undefined reference to `pthread_getspecific'
  18. 348 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libgmock.so: undefined reference to `pthread_key_delete'
  19. 349 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libgmock.so: undefined reference to `pthread_setspecific'
  20. 350 collect2: ld returned 1 exit status
  21. 351 no object file created
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement