Skip to content

How do I build this? #3

Description

@shachar1236

I tried building this with the build scripts and I got some errors about the secp256k, so I built the secp256k1and then tried to build this but I got different errors, here are the errors: ```Building Protocol Tests
/usr/bin/ld: secp256k1/.libs/libsecp256k1.a(libsecp256k1_la-group.o): in function secp_primitives::GroupElement::generate(unsigned char const*)': /home/shachar/Shared-Documents/test/ring signatures/libsigma/secp256k1/src/cpp/../num_gmp_impl.h:49: undefined reference to __gmpn_set_str'
/usr/bin/ld: /home/shachar/Shared-Documents/test/ring signatures/libsigma/secp256k1/src/cpp/../num_gmp_impl.h:49: undefined reference to `__gmpn_set_str'
/usr/bin/ld: /home/shachar/Shared-Documents/test/ring signatures/libsigma/secp256k1/src/cpp/../num_gmp_impl.h:154: undefined reference to `__gmpz_inits'
/usr/bin/ld: secp256k1/.libs/libsecp256k1.a(libsecp256k1_la-group.o): in function `secp256k1_num_jacobi':
/home/shachar/Shared-Documents/test/ring signatures/libsigma/secp256k1/src/cpp/../num_gmp_impl.h:156: undefined reference to `__gmpz_import'
/usr/bin/ld: /home/shachar/Shared-Documents/test/ring signatures/libsigma/secp256k1/src/cpp/../num_gmp_impl.h:157: undefined reference to `__gmpz_import'
/usr/bin/ld: /home/shachar/Shared-Documents/test/ring signatures/libsigma/secp256k1/src/cpp/../num_gmp_impl.h:162: undefined reference to `__gmpz_jacobi'
/usr/bin/ld: /home/shachar/Shared-Documents/test/ring signatures/libsigma/secp256k1/src/cpp/../num_gmp_impl.h:164: undefined reference to `__gmpz_clears'
/usr/bin/ld: /tmp/cclNQYyw.o: in function `sigma::PrivateCoin::serialNumberFromSerializedPublicKey(secp256k1_context_struct const*, secp256k1_pubkey*)':
/home/shachar/Shared-Documents/test/ring signatures/libsigma/src/coin.cpp:264: undefined reference to `secp256k1_ecdh'
/usr/bin/ld: secp256k1/.libs/libsecp256k1.a(libsecp256k1_la-secp256k1.o): in function `secp256k1_num_mod_inverse':
/home/shachar/Shared-Documents/test/ring signatures/libsigma/secp256k1/src/num_gmp_impl.h:128: undefined reference to `__gmpn_gcdext'
/usr/bin/ld: secp256k1/.libs/libsecp256k1.a(libsecp256k1_la-secp256k1.o): in function `__gmpn_sub':
/usr/include/gmp-x86_64.h:2197: undefined reference to `__gmpn_sub_n'
/usr/bin/ld: secp256k1/.libs/libsecp256k1.a(libsecp256k1_la-secp256k1.o): in function `secp256k1_num_get_bin':
/home/shachar/Shared-Documents/test/ring signatures/libsigma/secp256k1/src/num_gmp_impl.h:34: undefined reference to `__gmpn_get_str'
/usr/bin/ld: secp256k1/.libs/libsecp256k1.a(libsecp256k1_la-secp256k1.o): in function `secp256k1_num_set_bin':
/home/shachar/Shared-Documents/test/ring signatures/libsigma/secp256k1/src/num_gmp_impl.h:49: undefined reference to `__gmpn_set_str'
/usr/bin/ld: /home/shachar/Shared-Documents/test/ring signatures/libsigma/secp256k1/src/num_gmp_impl.h:49: undefined reference to `__gmpn_set_str'
/usr/bin/ld: /home/shachar/Shared-Documents/test/ring signatures/libsigma/secp256k1/src/num_gmp_impl.h:49: undefined reference to `__gmpn_set_str'
/usr/bin/ld: /home/shachar/Shared-Documents/test/ring signatures/libsigma/secp256k1/src/num_gmp_impl.h:49: undefined reference to `__gmpn_set_str'
collect2: error: ld returned 1 exit status
Building R1 Tests
^C


Do you have any idea how can I solve it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions