Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bignum.h:102: undefined reference to `BN_init' #9

@kkoenen

Description

@kkoenen

Error compiling, bignum.h refers to BN_init, which is in bn.h (OpenSSL).

Trying to compile against OpenSSL version 1.0.1 14 Mar 2012 (Library: OpenSSL 1.0.2n 7 Dec 2017), still getting this error. Will try with most recent version of OpenSSL.

log:

/home/kkoenen/bin/GRZ0/src/bignum.h:102: undefined reference to `BN_init'
obj/main.o: In function `ComputeMaxBits(CBigNum, unsigned int, long)':
/home/kkoenen/bin/GRZ0/src/bignum.h:62: undefined reference to `BN_init'
/home/kkoenen/bin/GRZ0/src/bignum.h:90: undefined reference to `BN_init'
/home/kkoenen/bin/GRZ0/src/bignum.h:90: undefined reference to `BN_init'
obj/main.o: In function `GetNextTargetRequired(CBlockIndex const*, bool)':
/home/kkoenen/bin/GRZ0/src/bignum.h:62: undefined reference to `BN_init'
obj/main.o:/home/kkoenen/bin/GRZ0/src/bignum.h:91: more undefined references to `BN_init' follow
obj/bitcoinrpc.o: In function `ThreadRPCServer2(void*)':

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions