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

build err #1

Open
caijian76 opened this issue Dec 2, 2022 · 3 comments
Open

build err #1

caijian76 opened this issue Dec 2, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@caijian76
Copy link

Compiling snarkos-cli v2.0.2 (/snarkos-gpu/snarkOS/cli)
error: linking with cc failed: exit status: 1
|
= note: "cc" "-m64" "/tmp/rustcwYO3Qp/symbols.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.111gd0xt32zeg8id.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.15j155qvn4fnq0ry.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.1fx1j5y2yigkwe4i.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.1miiwc23ubw5nvwo.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.1q6hamhbo4whq3kz.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.1u83kqd0lq5rugjw.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.1z4phn3pv5ftdolf.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.27tilt4i1jababu7.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.2g84tyr10xhzdfz0.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.36ko2n9duziiasfn.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.37a5l699a9iubykk.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.38ji47etl3n2i1cp.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.3qw82dgxgfea6qhx.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.4agbtk9s7uge260w.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.4gf8g2510h6t4l2n.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.4jn5ww7er6wxq442.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.4qts762stu3t3dnk.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.4xmmozmixeti26ur.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.56w0s8kl8q5j5ijh.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.5axc4blbz8utfj58.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.5c1d4egqcufbj204.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.65kneqx5fr2kkyh.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.6pebbbauj8qu5jy.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.7uu5h5t469ib3zy.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.876zjhe6pukfkl4.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.addr2line-f14b73d282b0245e.addr2line.07e30bd5-cgu.0.rcgu.o.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.adler-f156b880fc73e7f0.adler.adfa7894-cgu.0.rcgu.o.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.adler-f74726cf17ba29e4.adler.17728f92-cgu.0.rcgu.o.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.adler-f74726cf17ba29e4.adler.17728f92-cgu.1.rcgu.o.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.adler-f74726cf17ba29e4.adler.17728f92-cgu.2.rcgu.o.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.adler-f74726cf17ba29e4.adler.17728f92-cgu.3.rcgu.o.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.adler-f74726cf17ba29e4.adler.17728f92-cgu.4.rcgu.o.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.adler-f74726cf17ba29e4.adler.17728f92-cgu.5.rcgu.o.rcgu.o" "/snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.aead-1c90cd10650e0fb7.aead.21293c3a-cgu.0.rcgu.o.rcgu.o" ..........................................

@caijian76 caijian76 added the bug Something isn't working label Dec 2, 2022
@venglov
Copy link

venglov commented Dec 2, 2022

Try to remove registry and git folders in your .cargo folder and then rebuild

@caijian76
Copy link
Author

nothing changed,has same err when build snarkos

@caijian76
Copy link
Author

ationDomain::in_order_fft_in_place':
4m1nwcjjer3gcxly:(.text._ZN18snarkvm_algorithms3fft6domain25EvaluationDomain$LT$F$GT$21in_order_fft_in_place17h83844c30b5cfeb69E+0x38): undefined reference to snarkvm_ntt' /usr/bin/ld: /snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.snarkos_cli-2e09612b0a197d08.4m1nwcjjer3gcxly.rcgu.o.rcgu.o: in function snarkvm_algorithms::fft::domain::EvaluationDomain::in_order_ifft_in_place':
4m1nwcjjer3gcxly:(.text._ZN18snarkvm_algorithms3fft6domain25EvaluationDomain$LT$F$GT$22in_order_ifft_in_place17he1596b399722216bE+0x3f): undefined reference to snarkvm_ntt' /usr/bin/ld: /snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.snarkos_cli-2e09612b0a197d08.4m1nwcjjer3gcxly.rcgu.o.rcgu.o: in function snarkvm_algorithms::fft::domain::EvaluationDomain::in_order_ifft_in_place_with_pc':
4m1nwcjjer3gcxly:(.text._ZN18snarkvm_algorithms3fft6domain25EvaluationDomain$LT$F$GT$30in_order_ifft_in_place_with_pc17ha7bc11c20406d5d6E+0x3d): undefined reference to snarkvm_ntt' /usr/bin/ld: /snarkos-gpu/snarkOS/target/release/deps/snarkos-ccf452f665fa33aa.snarkos_cli-2e09612b0a197d08.5eiwgjcjdv1w3dob.rcgu.o.rcgu.o: in function snarkvm_algorithms::msm::variable_base::VariableBase::msm':
5eiwgjcjdv1w3dob:(.text._ZN18snarkvm_algorithms3msm13variable_base12VariableBase3msm17h58cf606b84cd287aE+0x4b): undefined reference to `snarkvm_msm'
collect2: error: ld returned 1 exit status

= help: some extern functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the -l flag to specify native libraries to link
= note: use the cargo:rustc-link-lib directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: could not compile snarkos due to previous error
error: failed to compile snarkos v2.0.2 (/snarkos-gpu/snarkOS), intermediate artifacts can be found at /snarkos-gpu/snarkOS/target

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants