Advertisement
Guest User

libsecp256k1 build error

a guest
Dec 21st, 2017
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 1.55 KB | None | 0 0
  1. src/bench_ecdh.c:39:13: error: ‘bench_ecdh’ redeclared as different kind of symbol
  2.  static void bench_ecdh(void* arg) {
  3.              ^~~~~~~~~~
  4. src/bench_ecdh.c:18:3: note: previous declaration of ‘bench_ecdh’ was here
  5.  } bench_ecdh;
  6.    ^~~~~~~~~~
  7. src/bench_ecdh.c: In function ‘bench_ecdh’:
  8. src/bench_ecdh.c:42:17: error: ‘data’ undeclared (first use in this function); did you mean ‘atan’?
  9.      bench_ecdh *data = (bench_ecdh*)arg;
  10.                  ^~~~
  11.                  atan
  12. src/bench_ecdh.c:42:17: note: each undeclared identifier is reported only once for each function it appears in
  13. src/bench_ecdh.c:42:36: error: expected expression before ‘)’ token
  14.      bench_ecdh *data = (bench_ecdh*)arg;
  15.                                     ^
  16. src/bench_ecdh.c:39:30: warning: unused parameter ‘arg’ [-Wunused-parameter]
  17.  static void bench_ecdh(void* arg) {
  18.                               ^~~
  19. src/bench_ecdh.c: In function ‘main’:
  20. src/bench_ecdh.c:50:5: warning: statement with no effect [-Wunused-value]
  21.      bench_ecdh data;
  22.      ^~~~~~~~~~
  23. src/bench_ecdh.c:50:16: error: expected ‘;’ before ‘data’
  24.      bench_ecdh data;
  25.                 ^~~~
  26. src/bench_ecdh.c:52:64: error: ‘data’ undeclared (first use in this function); did you mean ‘atan’?
  27.      run_benchmark("ecdh", bench_ecdh, bench_ecdh_setup, NULL, &data, 10, 20000);
  28.                                                                 ^~~~
  29.                                                                 atan
  30. make: *** [Makefile:1008: src/bench_ecdh.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement