Post
Topic
Board Development & Technical Discussion
Re: Building headless Bitcoin and Bitcoin-qt on Windows
by
powerfull
on 08/07/2017, 09:26:53 UTC
windows7 -- with secp256k1  ,the error as follow , how to fix it , thanks


Code:
./build\key.o:key.cpp:(.text+0x79a): undefined reference to `secp256k1_context_d
estroy'
./build\key.o:key.cpp:(.text+0x8b8): undefined reference to `secp256k1_nonce_fun
ction_rfc6979'
./build\key.o:key.cpp:(.text+0x8f3): undefined reference to `secp256k1_ecdsa_sig
n_recoverable'
./build\key.o:key.cpp:(.text+0x919): undefined reference to `secp256k1_ecdsa_rec
overable_signature_serialize_compact'
./build\key.o:key.cpp:(.text+0x98a): undefined reference to `secp256k1_ecdsa_rec
overable_signature_serialize_compact'
./build\key.o:key.cpp:(.text+0xa75): undefined reference to `secp256k1_nonce_fun
ction_rfc6979'
./build\key.o:key.cpp:(.text+0xa9d): undefined reference to `secp256k1_ecdsa_sig
n'
./build\key.o:key.cpp:(.text+0xadc): undefined reference to `secp256k1_ecdsa_sig
nature_serialize_der'
./build\key.o:key.cpp:(.text+0xe89): undefined reference to `secp256k1_ec_pubkey
_create'
./build\key.o:key.cpp:(.text+0xf3c): undefined reference to `secp256k1_ec_pubkey
_serialize'
./build\key.o:key.cpp:(.text+0x11a8): undefined reference to `secp256k1_ec_privk
ey_tweak_add'
./build\key.o:key.cpp:(.text+0x144a): undefined reference to `secp256k1_ec_secke
y_verify'
./build\key.o:key.cpp:(.text+0x15b2): undefined reference to `secp256k1_context_
create'
./build\key.o:key.cpp:(.text+0x15e0): undefined reference to `secp256k1_context_
randomize'
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: ./build\key.o: bad reloc address 0x1c in section `.text$_ZN21LockedPag
eManagerBaseI16MemoryPageLockerE11UnlockRangeEPvj[__ZN21LockedPageManagerBaseI16
MemoryPageLockerE11UnlockRangeEPvj]'
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bi
n/ld.exe: final link failed: Invalid operation
collect2.exe: error: ld returned 1 exit status