tuxmartin

gcc

Feb 15th, 2015
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.44 KB | None | 0 0
  1. 01:15:25 **** Build of configuration Debug for project meo ****
  2. make all
  3. Building file: ../protobuf/Example.pb.cc
  4. Invoking: GCC C++ Compiler
  5. g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"protobuf/Example.pb.d" -MT"protobuf/Example.pb.d" -o "protobuf/Example.pb.o" "../protobuf/Example.pb.cc"
  6. Finished building: ../protobuf/Example.pb.cc
  7.  
  8. Building file: ../protobuf/Test.pb.cc
  9. Invoking: GCC C++ Compiler
  10. g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"protobuf/Test.pb.d" -MT"protobuf/Test.pb.d" -o "protobuf/Test.pb.o" "../protobuf/Test.pb.cc"
  11. Finished building: ../protobuf/Test.pb.cc
  12.  
  13. Building file: ../curl_get.c
  14. Invoking: GCC C Compiler
  15. gcc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"curl_get.d" -MT"curl_get.d" -o "curl_get.o" "../curl_get.c"
  16. Finished building: ../curl_get.c
  17.  
  18. Building file: ../easywsclient.cpp
  19. Invoking: GCC C++ Compiler
  20. g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"easywsclient.d" -MT"easywsclient.d" -o "easywsclient.o" "../easywsclient.cpp"
  21. Finished building: ../easywsclient.cpp
  22.  
  23. Building file: ../main.cpp
  24. Invoking: GCC C++ Compiler
  25. g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"main.d" -MT"main.d" -o "main.o" "../main.cpp"
  26. ../main.cpp: In function ‘int main(int, char**)’:
  27. ../main.cpp:15:6: warning: unused variable ‘a’ [-Wunused-variable]
  28. int a = http_get();
  29. ^
  30. ../main.cpp:17:6: warning: unused variable ‘b’ [-Wunused-variable]
  31. int b = ws_test();
  32. ^
  33. In file included from ../main.cpp:8:0:
  34. ../curl_get.h: At global scope:
  35. ../curl_get.h:24:15: warning: ‘size_t WriteMemoryCallback(void*, size_t, size_t, void*)’ declared ‘static’ but never defined [-Wunused-function]
  36. static size_t WriteMemoryCallback(void *contents, size_t size, size_t nmemb, void *userp);
  37. ^
  38. Finished building: ../main.cpp
  39.  
  40. Building file: ../ws_client.cpp
  41. Invoking: GCC C++ Compiler
  42. g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"ws_client.d" -MT"ws_client.d" -o "ws_client.o" "../ws_client.cpp"
  43. Finished building: ../ws_client.cpp
  44.  
  45. Building target: meo
  46. Invoking: GCC C++ Linker
  47. g++ -o "meo" ./protobuf/Example.pb.o ./protobuf/Test.pb.o ./curl_get.o ./easywsclient.o ./main.o ./ws_client.o -lprotobuf -lwebsockets -lcurl
  48. ./main.o: In function `main':
  49. /home/martin/workspace_cpp/meo/Debug/../main.cpp:15: undefined reference to `http_get()'
  50. collect2: error: ld returned 1 exit status
  51. make: *** [meo] Error 1
  52.  
  53. 01:15:29 Build Finished (took 3s.632ms)
Advertisement
Add Comment
Please, Sign In to add comment