make[3]: Entering directory `/home/janko33/bitcoin/src/secp256k1'
gcc -I. -g -O2 -Wall -Wextra -Wno-unused-function -c src/gen_context.c -o gen_context.o
gcc gen_context.o -o gen_context
./gen_context
CC src/libsecp256k1_la-secp256k1.lo
CCLD libsecp256k1.la
libtool: link: warning: undefined symbols not allowed in i686-w64-mingw32 shared libraries
make[3]: Leaving directory `/home/janko33/bitcoin/src/secp256k1'
CXXLD libbitcoinconsensus.la
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x28): undefined reference to `SHA256_Init'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0xe4): undefined reference to `SHA256_Update'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0xec): undefined reference to `SHA256_Init'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x180): undefined reference to `SHA256_Update'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x1b5): undefined reference to `SHA256_Init'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x1ce): undefined reference to `SHA256_Update'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x1e4): undefined reference to `SHA256_Final'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x1ec): undefined reference to `SHA256_Init'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x288): undefined reference to `SHA256_Update'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x290): undefined reference to `SHA256_Init'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x344): undefined reference to `SHA256_Final'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x358): undefined reference to `SHA256_Update'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x364): undefined reference to `SHA256_Final'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x428): undefined reference to `SHA256_Update'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x4c4): undefined reference to `SHA256_Update'
crypto/.libs/libbitcoinconsensus_la-scrypt.o:scrypt.cpp:(.text+0x58b): undefined reference to `SHA256_Update'
collect2: error: ld returned 1 exit status
make[2]: *** [libbitcoinconsensus.la] Error 1
make[2]: Leaving directory `/home/janko33/bitcoin/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/janko33/bitcoin/src'
make: *** [all-recursive] Error 1