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

Conflicts when compiling #2297

Open
pingpingpang001 opened this issue Nov 14, 2024 · 0 comments
Open

Conflicts when compiling #2297

pingpingpang001 opened this issue Nov 14, 2024 · 0 comments

Comments

@pingpingpang001
Copy link

Do you have any plans to replace github.com/kaspanet/go-secp256k1? There will be conflicts when compiling this with github.com/ethereum/go-ethereum/crypto/secp256k1.

/var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000022.o /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o -lresolv -O2 -g -O2 -g -framework CoreFoundation -framework Security -O2 -g -framework CoreFoundation -O2 -g
duplicate symbol '_secp256k1_context_destroy' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
duplicate symbol '_secp256k1_ec_seckey_verify' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
duplicate symbol '_secp256k1_ecdsa_verify' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
duplicate symbol '_secp256k1_nonce_function_default' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
duplicate symbol '_secp256k1_ecdsa_signature_serialize_compact' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
duplicate symbol '_secp256k1_ecdsa_signature_parse_compact' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
duplicate symbol '_secp256k1_ecdsa_signature_serialize_der' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
duplicate symbol '_secp256k1_ecdsa_signature_parse_der' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
duplicate symbol '_secp256k1_ecdsa_sign' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
duplicate symbol '_secp256k1_ec_privkey_tweak_mul' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
duplicate symbol '_secp256k1_ec_pubkey_tweak_mul' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
duplicate symbol '_secp256k1_context_set_error_callback' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
duplicate symbol '_secp256k1_context_set_illegal_callback' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
duplicate symbol '_secp256k1_context_randomize' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
duplicate symbol '_secp256k1_ecdsa_signature_normalize' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
duplicate symbol '_secp256k1_ec_pubkey_serialize' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
duplicate symbol '_secp256k1_ec_pubkey_create' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
duplicate symbol '_secp256k1_context_create' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
duplicate symbol '_secp256k1_ec_pubkey_parse' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
duplicate symbol '_secp256k1_context_clone' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
duplicate symbol '_secp256k1_ec_pubkey_combine' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
duplicate symbol '_secp256k1_ec_privkey_tweak_add' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
duplicate symbol '_secp256k1_ec_pubkey_tweak_add' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
duplicate symbol '_secp256k1_nonce_function_rfc6979' in:
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000009.o
    /var/folders/bw/g96kv3yj1zd3vnhgp3fw7tv00000gn/T/go-link-2835217861/000023.o
ld: 24 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
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