Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 01:15:25 **** Build of configuration Debug for project meo ****
- make all
- Building file: ../protobuf/Example.pb.cc
- Invoking: GCC C++ Compiler
- 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"
- Finished building: ../protobuf/Example.pb.cc
- Building file: ../protobuf/Test.pb.cc
- Invoking: GCC C++ Compiler
- 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"
- Finished building: ../protobuf/Test.pb.cc
- Building file: ../curl_get.c
- Invoking: GCC C Compiler
- 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"
- Finished building: ../curl_get.c
- Building file: ../easywsclient.cpp
- Invoking: GCC C++ Compiler
- g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"easywsclient.d" -MT"easywsclient.d" -o "easywsclient.o" "../easywsclient.cpp"
- Finished building: ../easywsclient.cpp
- Building file: ../main.cpp
- Invoking: GCC C++ Compiler
- g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"main.d" -MT"main.d" -o "main.o" "../main.cpp"
- ../main.cpp: In function ‘int main(int, char**)’:
- ../main.cpp:15:6: warning: unused variable ‘a’ [-Wunused-variable]
- int a = http_get();
- ^
- ../main.cpp:17:6: warning: unused variable ‘b’ [-Wunused-variable]
- int b = ws_test();
- ^
- In file included from ../main.cpp:8:0:
- ../curl_get.h: At global scope:
- ../curl_get.h:24:15: warning: ‘size_t WriteMemoryCallback(void*, size_t, size_t, void*)’ declared ‘static’ but never defined [-Wunused-function]
- static size_t WriteMemoryCallback(void *contents, size_t size, size_t nmemb, void *userp);
- ^
- Finished building: ../main.cpp
- Building file: ../ws_client.cpp
- Invoking: GCC C++ Compiler
- 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"
- Finished building: ../ws_client.cpp
- Building target: meo
- Invoking: GCC C++ Linker
- g++ -o "meo" ./protobuf/Example.pb.o ./protobuf/Test.pb.o ./curl_get.o ./easywsclient.o ./main.o ./ws_client.o -lprotobuf -lwebsockets -lcurl
- ./main.o: In function `main':
- /home/martin/workspace_cpp/meo/Debug/../main.cpp:15: undefined reference to `http_get()'
- collect2: error: ld returned 1 exit status
- make: *** [meo] Error 1
- 01:15:29 Build Finished (took 3s.632ms)
Advertisement
Add Comment
Please, Sign In to add comment