artyom_h31

Untitled

May 22nd, 2018
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. build@students1804:~/NetworksLab2018AU/dns/client/build$ cmake ../
  2. -- The C compiler identification is GNU 7.3.0
  3. -- The CXX compiler identification is GNU 7.3.0
  4. -- Check for working C compiler: /usr/bin/cc
  5. -- Check for working C compiler: /usr/bin/cc -- works
  6. -- Detecting C compiler ABI info
  7. -- Detecting C compiler ABI info - done
  8. -- Detecting C compile features
  9. -- Detecting C compile features - done
  10. -- Check for working CXX compiler: /usr/bin/c++
  11. -- Check for working CXX compiler: /usr/bin/c++ -- works
  12. -- Detecting CXX compiler ABI info
  13. -- Detecting CXX compiler ABI info - done
  14. -- Detecting CXX compile features
  15. -- Detecting CXX compile features - done
  16. -- Configuring done
  17. -- Generating done
  18. -- Build files have been written to: /home/build/NetworksLab2018AU/dns/client/build
  19. root@students1804:~/NetworksLab2018AU/dns/client/build$ make
  20. Scanning dependencies of target client
  21. [ 50%] Building CXX object CMakeFiles/client.dir/main.cpp.o
  22. /home/build/NetworksLab2018AU/dns/client/main.cpp: In function ‘int main(int, char**)’:
  23. /home/build/NetworksLab2018AU/dns/client/main.cpp:59:13: error: expected primary-expression before ‘.’ token
  24. .sin_addr.s_addr = inet_addr(argv[1])
  25. ^
  26. /home/build/NetworksLab2018AU/dns/client/main.cpp:108:21: error: expected primary-expression before ‘.’ token
  27. .sin_addr.s_addr = *(unsigned int *) rdata
  28. ^
  29. CMakeFiles/client.dir/build.make:62: recipe for target 'CMakeFiles/client.dir/main.cpp.o' failed
  30. make[2]: *** [CMakeFiles/client.dir/main.cpp.o] Error 1
  31. CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/client.dir/all' failed
  32. make[1]: *** [CMakeFiles/client.dir/all] Error 2
  33. Makefile:83: recipe for target 'all' failed
  34. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment