Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- build@students1804:~/NetworksLab2018AU/dns/client/build$ cmake ../
- -- The C compiler identification is GNU 7.3.0
- -- The CXX compiler identification is GNU 7.3.0
- -- Check for working C compiler: /usr/bin/cc
- -- Check for working C compiler: /usr/bin/cc -- works
- -- Detecting C compiler ABI info
- -- Detecting C compiler ABI info - done
- -- Detecting C compile features
- -- Detecting C compile features - done
- -- Check for working CXX compiler: /usr/bin/c++
- -- Check for working CXX compiler: /usr/bin/c++ -- works
- -- Detecting CXX compiler ABI info
- -- Detecting CXX compiler ABI info - done
- -- Detecting CXX compile features
- -- Detecting CXX compile features - done
- -- Configuring done
- -- Generating done
- -- Build files have been written to: /home/build/NetworksLab2018AU/dns/client/build
- root@students1804:~/NetworksLab2018AU/dns/client/build$ make
- Scanning dependencies of target client
- [ 50%] Building CXX object CMakeFiles/client.dir/main.cpp.o
- /home/build/NetworksLab2018AU/dns/client/main.cpp: In function ‘int main(int, char**)’:
- /home/build/NetworksLab2018AU/dns/client/main.cpp:59:13: error: expected primary-expression before ‘.’ token
- .sin_addr.s_addr = inet_addr(argv[1])
- ^
- /home/build/NetworksLab2018AU/dns/client/main.cpp:108:21: error: expected primary-expression before ‘.’ token
- .sin_addr.s_addr = *(unsigned int *) rdata
- ^
- CMakeFiles/client.dir/build.make:62: recipe for target 'CMakeFiles/client.dir/main.cpp.o' failed
- make[2]: *** [CMakeFiles/client.dir/main.cpp.o] Error 1
- CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/client.dir/all' failed
- make[1]: *** [CMakeFiles/client.dir/all] Error 2
- Makefile:83: recipe for target 'all' failed
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment