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

cmake runs successfully however the make after that fails with the following error(running on ubuntu 18.04 WSL) :- #55

Closed
piano-man opened this issue Mar 5, 2020 · 2 comments

Comments

@piano-man
Copy link

Scanning dependencies of target client

[ 86%] Building C object bin/CMakeFiles/client.dir/client.c.o

[ 86%] Linking C executable client

[ 86%] Built target client

[ 90%] Generating dummy.eckey

using curve name prime256v1 instead of secp256r1

[ 90%] Generating dummy.key

[ 90%] Generating dummy.crt

req: Unknown digest addext

req: Use -help for summary.

test/CMakeFiles/test_conn.dir/build.make:65: recipe for target 'test/dummy.crt' failed

make[2]: *** [test/dummy.crt] Error 1

CMakeFiles/Makefile2:1690: recipe for target 'test/CMakeFiles/test_conn.dir/all' failed

make[1]: *** [test/CMakeFiles/test_conn.dir/all] Error 2

Makefile:140: recipe for target 'all' failed

make: *** [all] Error 2

@piano-man piano-man changed the title cmake runs successfully however the make after that fails with the following error :- cmake runs successfully however the make after that fails with the following error(running on ubuntu 18.04 WSL) :- Mar 5, 2020
@larseggert
Copy link
Contributor

larseggert commented Mar 5, 2020

It looks like openssl is too old on your platform. It's failing to generate a dummy keypair.

Specifically, the -addext option seems unsupported. You can try editing https://github.com/NTAP/quant/blob/master/test/CMakeLists.txt#L54-L65

@piano-man
Copy link
Author

Thanks. I upgraded openssl to 1.1.1 from 1.1.0 and make runs successfully now.

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

2 participants