bitcoin-core / secp256k1

Optimized C library for EC operations on curve secp256k1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ecmult_static_context.h does not exist

user8547 opened this issue · comments

ecmult_gen_impl.h:

#ifdef USE_ECMULT_STATIC_PRECOMPUTATION
#include "ecmult_static_context.h"
#endif

The file "ecmult_static_context.h" does not exist.

./autogen.sh
./configure
make src/ecmult_static_context.h

src/ecmult_static_context.h: $(gen_context_BIN)

Clear, thank you!

You shouldn't have to make that file individually. @user8547 does simply re-running autogen.sh and configure fix it?

Without

make src/ecmult_static_context.h

the ecmult_static_context.h is not produced.

I am not sure whether it should be produced by autogen.sh and configure.
I am compiling against libsecp256k1 statically therefore I missed that ecmult_static_context.h is generated by make.

Does make by itself produce the file?

Yes, it does.

OK, great. This is expected behaviour.