Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while make process #14

Open
3esawe opened this issue Apr 29, 2020 · 0 comments
Open

Error while make process #14

3esawe opened this issue Apr 29, 2020 · 0 comments

Comments

@3esawe
Copy link

3esawe commented Apr 29, 2020

Hi I'm having this error while making process

[ 6%] Building CXX object opt/cpr/cpr/CMakeFiles/cpr.dir/auth.cpp.o [ 12%] Building CXX object opt/cpr/cpr/CMakeFiles/cpr.dir/cookies.cpp.o [ 18%] Building CXX object opt/cpr/cpr/CMakeFiles/cpr.dir/cprtypes.cpp.o [ 25%] Building CXX object opt/cpr/cpr/CMakeFiles/cpr.dir/digest.cpp.o [ 31%] Building CXX object opt/cpr/cpr/CMakeFiles/cpr.dir/error.cpp.o /root/cpr-example/opt/cpr/cpr/error.cpp: In static member function ‘static cpr::ErrorCode cpr::Error::getErrorCodeForCurlError(int32_t)’: /root/cpr-example/opt/cpr/cpr/error.cpp:41:9: error: duplicate case value 41 | case CURLE_SSL_CACERT: | ^~~~ /root/cpr-example/opt/cpr/cpr/error.cpp:25:9: note: previously used here 25 | case CURLE_PEER_FAILED_VERIFICATION: | ^~~~ make[2]: *** [opt/cpr/cpr/CMakeFiles/cpr.dir/build.make:115: opt/cpr/cpr/CMakeFiles/cpr.dir/error.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:180: opt/cpr/cpr/CMakeFiles/cpr.dir/all] Error 2 make: *** [Makefile:84: all] Error 2

cmake process is completely fine but when I try to build by issuing make I got the above error
I'm running Linux kali 5.4.0-kali2-amd64 #1 SMP Debian 5.4.8-1kali1 (2020-01-06) x86_64 GNU/Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant