Hi there, I'm getting this error when I make the build:
default: [116/426] CC build/release/obj/rdb_protocol/geo/s2/s2.o
default: In file included from src/rdb_protocol/geo/s2/s2.cc:197:0:
default: ./src/rdbprotocol/geo/s2/util/math/exactfloat/exactfloat.h:502:10: error: field ‘bn’ has incomplete type ‘BIGNUM {aka bignumst}’
default: BIGNUM bn;
default: ^~~
default: In file included from /usr/include/openssl/bn.h:19:0,
default: from ./src/rdb_protocol/geo/s2/util/math/exactfloat/exactfloat.h:103,
default: from src/rdb_protocol/geo/s2/s2.cc:197:
default: /usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of ‘BIGNUM {aka struct bignum_st}’
default: typedef struct bignum_st BIGNUM;
default: ^~~~~
default: In file included from src/rdb_protocol/geo/s2/s2.cc:197:0:
default: ./src/rdb_protocol/geo/s2/util/math/exactfloat/exactfloat.h: In constructor ‘geo::ExactFloat::ExactFloat()’:
default: ./src/rdb_protocol/geo/s2/util/math/exactfloat/exactfloat.h:562:3: error: ‘BN_init’ was not declared in this scope
default: BNinit(&bn);
default: ^~~
default: ./src/rdb_protocol/geo/s2/util/math/exactfloat/exactfloat.h:562:3: note: suggested alternative: ‘BN_print’
default: BNinit(&bn);
default: ^~~
default: BN_print
default: src/build.mk:390: recipe for target 'build/release/obj/rdb_protocol/geo/s2/s2.o' failed
Hi there, I'm getting this error when I make the build:
default: [116/426] CC build/release/obj/rdb_protocol/geo/s2/s2.o default: In file included from src/rdb_protocol/geo/s2/s2.cc:197:0: default: ./src/rdbprotocol/geo/s2/util/math/exactfloat/exactfloat.h:502:10: error: field ‘bn’ has incomplete type ‘BIGNUM {aka bignumst}’ default: BIGNUM bn; default: ^~~ default: In file included from /usr/include/openssl/bn.h:19:0, default: from ./src/rdb_protocol/geo/s2/util/math/exactfloat/exactfloat.h:103, default: from src/rdb_protocol/geo/s2/s2.cc:197: default: /usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of ‘BIGNUM {aka struct bignum_st}’ default: typedef struct bignum_st BIGNUM; default: ^
~~~~ default: In file included from src/rdb_protocol/geo/s2/s2.cc:197:0: default: ./src/rdb_protocol/geo/s2/util/math/exactfloat/exactfloat.h: In constructor ‘geo::ExactFloat::ExactFloat()’: default: ./src/rdb_protocol/geo/s2/util/math/exactfloat/exactfloat.h:562:3: error: ‘BN_init’ was not declared in this scope default: BNinit(&bn); default: ^~~ default: ./src/rdb_protocol/geo/s2/util/math/exactfloat/exactfloat.h:562:3: note: suggested alternative: ‘BN_print’ default: BNinit(&bn); default: ^~~ default: BN_print default: src/build.mk:390: recipe for target 'build/release/obj/rdb_protocol/geo/s2/s2.o' failed