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

Making the files get this error #25

Open
ndrahmani opened this issue Jun 13, 2022 · 3 comments
Open

Making the files get this error #25

ndrahmani opened this issue Jun 13, 2022 · 3 comments

Comments

@ndrahmani
Copy link

cc -O3 -fomit-frame-pointer -march=native -fPIC -fPIE -pie -Wall -Wextra -Wpedantic -DCRYPTO_NAMESPACE\(s\)=ntru_##s -o test/decap cmov.c crypto_sort_int32.c fips202.c kem.c owcpa.c pack3.c packq.c poly.c poly_lift.c poly_mod.c poly_r2_inv.c poly_rq_mul.c poly_s3_inv.c sample.c sample_iid.c randombytes.c test/decap.c cmov.c:1:1: error: expected identifier or ‘(’ before ‘.’ token 1 | ../ref-common/cmov.c | ^ crypto_sort_int32.c:1:1: error: expected identifier or ‘(’ before ‘.’ token 1 | ../ref-common/crypto_sort_int32.c | ^ fips202.c:1:1: error: expected identifier or ‘(’ before ‘.’ token 1 | ../ref-common/fips202.c | ^ kem.c:1:1: error: expected identifier or ‘(’ before ‘.’ token 1 | ../ref-common/kem.c | ^ owcpa.c:1:1: error: expected identifier or ‘(’ before ‘.’ token 1 | ../ref-common/owcpa.c | ^ pack3.c:1:1: error: expected identifier or ‘(’ before ‘.’ token 1 | ../ref-common/pack3.c | ^ packq.c:1:1: error: expected identifier or ‘(’ before ‘.’ token 1 | ../ref-common/pack2048.c | ^ poly.c:1:1: error: expected identifier or ‘(’ before ‘.’ token 1 | ../ref-common/poly.c | ^ poly_lift.c:1:1: error: expected identifier or ‘(’ before ‘.’ token 1 | ../ref-common/poly_lift.c | ^ poly_mod.c:1:1: error: expected identifier or ‘(’ before ‘.’ token 1 | ../ref-common/poly_mod.c | ^ poly_r2_inv.c:1:1: error: expected identifier or ‘(’ before ‘.’ token 1 | ../ref-common/poly_r2_inv.c | ^ poly_rq_mul.c:1:1: error: expected identifier or ‘(’ before ‘.’ token 1 | ../ref-common/poly_rq_mul_toom4_k2x2.c | ^ poly_s3_inv.c:1:1: error: expected identifier or ‘(’ before ‘.’ token 1 | ../ref-common/poly_s3_inv.c | ^ sample.c:1:1: error: expected identifier or ‘(’ before ‘.’ token 1 | ../ref-common/sample.c | ^ sample_iid.c:1:1: error: expected identifier or ‘(’ before ‘.’ token 1 | ../ref-common/sample_iid.c | ^ randombytes.c:1:1: error: expected identifier or ‘(’ before ‘.’ token 1 | ../ref-common/randombytes.c | ^ test/decap.c:1:1: error: expected identifier or ‘(’ before ‘.’ token 1 | ../../test/decap.c | ^ make: *** [Makefile:67: test/decap] Error 1

I get this error each time I run "make" command
any help please

@jschanck
Copy link
Owner

Some context would help, e.g. the compiler and operating system. Does this happen with a fresh clone of the repository?

Also you might find the version of this code that is packaged with pqclean to be easier to use.

@ndrahmani
Copy link
Author

ndrahmani commented Jun 14, 2022

I use WSL2 Debian Ubunto 20
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Yeah I clone it freshly

@ndrahmani
Copy link
Author

any help please

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